C

Code Complexity

JetBrains

9d735d1c-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.

Code QualityEditorInspection
Open in store ↗ id: 21667
Downloads
115K
115 213
Rating
4.1 ★
6 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 6 ratings
5★ 66.7%
4★ 16.7%
3★ 16.7%

Reviews 8

★★★★★ Linn-cn 2025-12-01

Hope to support 2025.3

★★★★★ Linn-cn 2025-08-05

Hope to support 2025.2

★★★★★ Ondřej Schrek 2023-11-07

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.

★★★★★ dfernandezaller 2023-09-28

Really nice plugin. Ver useful to keep aware of complexity when refactoring old code or when creating new code.

★★★★★ Julien 2023-09-21

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

★★★★★ Julien 2023-09-15

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 :)

★★★★★ Kaju Bubanja 2025-03-11

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

★★★★★ 帅 徐 2024-10-15

why not support js?

Similar in “Code Quality”