Ever worry that you (or your agent) is writing Dart code that'll be tough to maintain later. Maybe this will help: github.com/kevmoo/cogn... It's a Dart package. It's a library. It's an executable. It's a skill. It's an installable GitHub Action!
Post
github.comGitHub - kevmoo/cognitive_complexity.dartContribute to kevmoo/cognitive_complexity.dart development by creating an account on GitHub.
I mean, it could be used for testability analysis. By definition it tries to make smaller, targeted functions. But it's not explicit about making the new functions testable. It DOES stop and ask what you want to do to improve things. You COULD simply say: try to make the new functions testable, etc.
1 repost0 likes