Free White Paper

cognitive complexity

G. Ann Campbell photo

G. Ann Campbell

Community Manager

15 min read

Cognitive Complexity guide by Ann Campbell

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.

  • Suivez SonarSource sur Twitter
  • Suivez SonarSource sur Linkedin
language switcher
Français (French)
  • Documentation juridique
  • Trust Center

© 2008-2024 SonarSource SA. Tous droits réservés. SONAR, SONARSOURCE, SONARLINT, SONARQUBE, SONARCLOUD et CLEAN AS YOU CODE sont des marques déposées de SonarSource SA.