Reputation: 71
how to enable cyclomatic complexity for a java code in sonarqube? currently am using sonarqube 6.2.
I want the CC value in dashboard of the java project
Upvotes: 2
Views: 3027
Reputation: 22824
You can see the Cyclomatic Complexity value for your project on its Measures page. It is the "Complexity" value. It does not appear on the project home page.
Upvotes: 2
Reputation: 238
1 - you can add the complexity widget on your dashboard project 2 - for more details on a file, you can browse the code on your project with the 'code' tab in the menu, chosse the source file you want and select 'more actions' -> 'show measures', then a pop-in will show many measures with complexity
Upvotes: 1