Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
iconfalse
titleTable of Contents

Table of Contents
maxLevel2

Files, programs, methods, etc. with a high complexityare hard to change:

  • It takes time for developers to understand them.
  • Changes can lead to regressions if there is no automated unit tests on the modified resources.

Analyzing Complexity

Complexity Widget

Add the Complexity widget to your dashboard:

And have a look at the distribution to check if you do not have too many very complex methods or files.

You can then drill down.

Metric hotspot Widget

Add the Metric hotspot widget to your dashboard with metrics like complexity /file, complexity /method, etc to hunt for high-complexity components.