Hi All
Regard to sonar project build, we do the below steps:
build one version(3.40.1-SNAPSHOT 8th May) as base line and the next build will compare to it.
2.All of our subsequent builds will use the same version(3.42.2-SNAPSHOT) and will compare to 3.40.1-SNAPSHOT, our code will be always change and we’re still add the test for improve code coverage, so coverage on new code should always have value.
the coverage on new code is always have value before, but it’s gone and show as “–” after our newest build:
I’m facing the same issue as you, and some things that I noticed… This image show that sonar find the coverage of the new code, but the measurement of the new code, does not show the difference of the coverage of the new code
Normally I’d ask you not to resurrect a 2-year-old thread, but this one is still open, so… fair enough.
I can’t explain your graph, but what I see in the homepage screenshot is “0 New Lines to cover”. That tells me SonarQube didn’t find any Lines of Code in the New Code Period.