sonar-flutter
sonar-flutter copied to clipboard
Add support for cognitive complexity analysis
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!