Example: barber
COGNITIVE COMPLEXITY - SonarSource

COGNITIVE COMPLEXITY - SonarSource

Back to document page

mathematical model of the control flow. But from a maintainer’s point of view, a switch- which compares a single variable to an explicitly named set of literal values - is much easier to understand than an if-else if

  Cognitive, Complexity, Mathematical, Cognitive complexity

Download COGNITIVE COMPLEXITY - SonarSource


Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Related search queries