Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.12, 2.0
-
Fix Version/s: None
-
Component/s: Checkstyle, PMD, Rules
-
Labels:None
Description
- The detail of Checkstyle and PMD violations should contain the full description of the way the cc is computed. The Sonar metric definition could be reused.
- When activating the PMD "Code size - Cyclomatic complexity" with the option "show classes complexity", the violation message should be "the class '{0} has an average cc by method of {1}, (Highest={2})'" instead of "the class '{0} has a cc of {1}, (Highest={2})'"
Issue Links
- is duplicated by
-
SONAR-1472
Cyclomatic complexity of a class seems inferior to the cc of its methods
-