We just updated SonarQube from 4.2 to 4.5.4 but we have a problem with the following Java rule:
Key : squid:MethodCyclomaticComplexity
Name: Methods should not be too complex
The rule is used in the analysis and several complexity issues are correctly found, but it's not possible to edit the rule (to change the Threshold value, for example) because the rule is not displayed in the web interface:
Steps to reproduce the issue:
- Log in SonarQube
- Click on Rules
- Search for "MethodCyclomaticComplexity"
- Click on MethodCyclomaticComplexity rule found at the left side of the window
Result: Nothing appears at the right side of the window!!!
Please, could someone help to resolve this?
The "data/es" folder should not be copied when doing a SonarQube upgrade (see the "upgrading" guide).
So to solve your issue: