Women in Technology

Hear us Roar



Article:
  Code Improvement Through Cyclomatic Complexity
Subject:   Please, use Essential Complexity instead
Date:   2004-06-17 02:51:43
From:   mats@henricson.se
I once evaluated complexity metrics against a bunch of functions in my application, and Essential Complexity was a much better metric for complexity than Cyclomatic Complexity. So, please, dump Cyclomatic and go Essential instead. It would do us all a great favour! :-)


Mats

Full Threads Newest First

Showing messages 1 through 3 of 3.

  • Please, use Essential Complexity instead
    2004-06-17 18:53:20  tcopeland [View]

    Hi Mats -

    Hm, sounds interesting... do you have any pointers towards a place where that's defined? Sounds like a good new rule for PMD....

    Yours,

    Tom
    • Please, use Essential Complexity instead
      2004-06-17 19:21:03  aglover [View]

      Tom,
      Try this link <br/>Mats also blogged his
      thoughts some time ago.
      • Please, use Essential Complexity instead
        2004-06-18 06:11:29  tcopeland [View]

        Cool, thanks! Yup, I agree, switch statements really throw CCM for a loop....

        Tom