Branch coverage not visible on SonarQube dashboard -
i using sonarqube 3.7.3 , facing strange issue. have set-up single dashboard used sonar project. issue not able see branch coverage metrics in 1 specific project when same in visible on other projects on same sonar instance. can let me know possible issue.
i can not attach image showing same. same images viewed on http://sonarqube.15.x6.nabble.com/branch-coverage-not-visible-in-a-project-though-it-is-visible-in-other-project-td5035725.html
the sonarqube forum not active , not getting reply.
hit same basic problem sonarqube 5.0.1 - 2 projects in same sonar instance, 1 reports branch coverage, other not. almost updated above answer suggested, able fix without doing so.
here 2 things had in case helps others:
- in pom.xml file, missing sonar.scm.provider property. adding removed sonar-maven-plugin warning may or may not related.
- a closer read of sonar-maven-plugin revealed sonar couldn't parse of java code. conveniently, dumps block of text puked on shouldn't hard find. me, because had done "object varname []" instead of "object[] varname" - both legal java, sonar likes latter.
fixing 2 issues, able "condition coverage" show up.
good luck.
Comments
Post a Comment