C

CognitiveComplexity

JetBrains

891cd80b-bb72-4c7a-9a34-4fe44cd7bb8d · v—

Implements live calculation of the Cognitive Complexity metric, which was proposed by G. Ann Campbell in Cognitive Complexity - A new way of measuring understandability (c) SonarSource S.A. 2016-2018, Switzerland.

Inspection
Open in store ↗ id: 12024
Downloads
285K
284 647
Rating
4.1 ★
37 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 37 ratings
5★ 91.9%
4★ 2.7%
3★ 5.4%

Reviews 8

★★★★★ Aleksei Antonovich 2026-04-15

Little but very useful plugin. Helps at a glance identify too complex methods to refactor. Thanks a lot for it. P.S. Would be nice to have complexity diagram built out of solution methods/classes.

★★★★★ Charles Burns 2024-10-02

Somehow, Matthias has figured out code complexity, a historically very difficult metric to measure. I look at the method complexity ratings provided by this plugin and think, "Yeah, that looks about right". More importantly, I now pay more attention to method refactoring as if I am getting a live code review. Thank you so much for this service to the community!

★★★★★ Tiger 2024-06-14

This is a simple, excellently executed plugin to tell you when your code hygiene isn't healthy and starts to get smelly. How I use it: I set my complexity threshold to 14 and the plugin will generate a warning if it exceeds this. This greatly helps me gauge, often while still just writing or refactoring code early on, whether something is going to be too complex or not. Generally my functions...

★★★★★ roman.russkikh 2024-05-23

Must have plugin Easy to use and catch complex implementations.

★★★★★ Kresten Elleby 2023-11-15

Easy, simple and generally just a very nice way of making sure your code doesn't get out of control. Perfect when reviewing code written by others to get the talk going on what could be improved.

★★★★★ Stanislav Khavruk 2023-05-10

A great plugin that prevents writing hard-to-understand code and keeps it simple by adhering to the KISS principle. I highly recommend installing this plugin for your colleagues to avoid lengthy, convoluted code with excessive nesting.

★★★★★ Bogdan Yanysh 2022-10-08

Great plugin! Please update to Rider 2022.3 EAP 2

★★★★★ Gabriel Musset 2022-09-22

Great tool!

Similar in “Inspection”