Does SonarQube use McCabe's Cyclomatic Complexity?

Hi, community! I would like to know whether SonarQube utilizes McCabe’s algorithm to calculate Cyclomatic Complexity or any other specific algorithms. Thank you :slight_smile:


Welcome to the community!

Yes, Cyclomatic Complexity is a standard metric in SonarQube. You may also be interested in Cognitive Complexity.


1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.