Free White Paper

cognitive complexity

G. Ann Campbell

Community Manager

1 min read

Cognitive Complexity White Paper Cover and internal pages
Download White Paper

overview

This paper describes Cognitive Complexity, a Sonar exclusive metric formulated to more accurately measure the relative understandability of methods. 


Cognitive Complexity breaks from using mathematical models to assess software maintainability by combining Cyclomatic Complexity precedents with human assessment. It yields method complexity scores that align well with how developers perceive maintainability.

  • Sonar Solutions
    • Clean Code
    • Clean as You Code
    • Commitment to open source
    • For developers
    • For teams
    • For enterprise
    • Federal Government
  • Follow SonarSource on Twitter
  • Follow SonarSource on Linkedin

© 2008-2022, SonarSource S.A, Switzerland. All content is copyright protected. SONAR, SONARSOURCE, SONARLINT, SONARQUBE and SONARCLOUD are trademarks of SonarSource SA. All other trademarks and copyrights are the property of their respective owners. All rights are expressly reserved.