0

In the release note: https://jira.sonarsource.com/jira/secure/ReleaseNote.jspa?projectId=10930&version=13972

...show it as "Clean up complexity metrics"

...at Jira, just removed it but don't explain why. https://jira.sonarsource.com/browse/SONAR-8331

Anybody know about it?

Omar F.
  • 27
  • 5

1 Answers1

1

Total Cyclomatic Complexity is still available but yes, the other Cyclomatic Complexity-related metrics have been removed.

The "why" of that is that there doesn't appear to be a lot of utility in complexity averages. Does a low average mean low overall complexity, or that the highly complex methods are "balanced" by lots of plain-old getters and setters? Conversely, what does having a high average complexity mean?

G. Ann - SonarSource Team
  • 22,346
  • 4
  • 40
  • 76