Cyclomatic Complexity

What?

if( c1() )
   f1();
else
   f2();

if( c2() )
   f3();
else
   f4()

Causes

  • Too many jobs
    • Unclear responsibility
    • Jamming things together
    • Not refactoring when a new need emerges
  • Too many collaborators
    • Lack of architecture/layers

By the numbers

<your orgs numbers>

Made with Slides.com