Enhanced Antipattern Detection
Pre-release
Pre-release
·
18 commits
to main
since this release
🚀 Release: v1.1.1 - Enhanced Antipattern Detection
New Patterns:
- Shotgun Surgery: Flags when a single change affects multiple parts of the code.
- Large Class: Detects classes with excessive methods and properties.
- Lazy Class: Identifies classes with minimal functionality.
- Long Parameter List: Flags functions with too many parameters.
- Middle Man: Detects classes that only delegate functionality.
- Primitive Obsession: Identifies excessive use of primitive types instead of more descriptive types.
- Speculative Generality: Flags code that is overly general or abstract.
- Switch Statement Overuse: Detects excessive or complex switch statements.
Key Updates:
- Enhanced detection of common design issues.
- Improved thresholds and criteria for better accuracy.
Integrate these checks to enhance code quality and maintainability.
What's Changed
- [antipatterns] add support for more antipatterns by @surenpoghosian in #2
Full Changelog: antipatterns_1.0...antipatterns_1.1