Skip to content

Enhanced Antipattern Detection

Pre-release
Pre-release
Compare
Choose a tag to compare
@surenpoghosian surenpoghosian released this 23 Aug 17:59
· 18 commits to main since this release
8e20553

🚀 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

Full Changelog: antipatterns_1.0...antipatterns_1.1