Files, programs, methods, etc. with a high complexity are 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 components.
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.