Code Complexity
JetBrains9d735d1c-7e74-4e4f-85f1-864a6a2ea61b · v—
This plugin calculates code complexity metric right in the editor and shows the complexity in the hint next to the method/class. It's based on the Cognitive Complexity metric proposed by G. Ann Campbell in Cognitive Complexity - A new way of measuring understandability . Works with Java, Kotlin, Python, Dart, and Go.
Rating distribution
Reviews 8
Hope to support 2025.3
Hope to support 2025.2
Cool plugin working as expected, and it is nice to see on classes and on methods that hints. Plugin should be the default built-in functionality.
Really nice plugin. Ver useful to keep aware of complexity when refactoring old code or when creating new code.
Great plugin that lets us maintain a codebase that's not too complex. The author has just added the possibility of adjusting the complexity thresholds (it's really nice of him to have taken my feedback into account, thank you). I really recommend this plugin
Nice plugin, really helps to reduce the code base complexity. However, we would really like to be able to customize the values at which the code is considered "Midly Complex" and "Very Complex" as a complexity of 100% is hard to maintain on our project and our limit has been set to 150-200%. Adjusting blue, orange and red colors according to our policy would be a really nice feature. Thanks :)
Great plugin. I only wish it could show aggregates for whole modules, so one knows on what files one should focus, instead of having to go trough all of them manually
why not support js?
Similar in “Code Quality”
New Relic CodeStream
newrelic
OpenAPI (Swagger) Editor
42Crunch
Datadog
Datadog
TestMe
weirddev
Biome
biomejs
BlackConnect
46b14183-472b-48a4-9b08-0032c5f1e51c