sonar-flutter icon indicating copy to clipboard operation
sonar-flutter copied to clipboard

Add support for cognitive complexity analysis

Open sbycrosz opened this issue 6 months ago • 0 comments

Currently, this library supports calculating cyclomatic complexity, but not cognitive complexity. Supporting cognitive complexity would provide a more accurate reflection of how challenging code is to read, understand, and maintain.

For reference, here's a working lint plugin that implements cognitive complexity analysis: https://github.com/oursky/dart_cognitive_complexity

Thanks for the great library!

sbycrosz avatar Apr 16 '25 05:04 sbycrosz