CognitiveComplexity
JetBrains891cd80b-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.
Rating distribution
Reviews 8
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.
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!
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...
Must have plugin Easy to use and catch complex implementations.
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.
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.
Great plugin! Please update to Rider 2022.3 EAP 2
Great tool!
Similar in “Inspection”
CheckStyle-IDEA
0571d40b-f326-48e0-bf32-ef0081b28bd1
Requirements
meanmail
Php Inspections (EA Extended)
ea-inspections-team
Security Analysis by Qodana
JetBrains
Pydantic
167934e6-0e95-416b-b408-d5d0cfbbe361
Alibaba Java Coding Guidelines(XenoAmess TPM)
1ebf27b5-9655-4330-91e4-e3479a351a53