Skip to content

Enhanced Antipattern Detection

Pre-release
Pre-release
Compare
Choose a tag to compare
@surenpoghosian surenpoghosian released this 23 Aug 15:21
· 22 commits to main since this release
2ba1ab9

🚀 Release: v1.1.0 - Enhanced Antipattern Detection

We’re excited to announce the release of version 1.1.0, which brings significant enhancements to our antipattern detection capabilities. This update introduces support for detecting several common software antipatterns, making your codebase cleaner and more maintainable.

What’s New:

  • God Object Detection: Identify classes that have too many methods or properties, indicating they might be doing too much.
  • Shotgun Surgery Detection: Detect instances where a small change in one part of your code requires many changes in other parts, a classic sign of shotgun surgery.
  • Magic Numbers Detection: Find and flag unexplained numeric constants in your code, encouraging the use of named constants for better readability and maintainability.
  • Deep Nesting & Long Methods Detection: Using regex-based code smell detection, identify deeply nested blocks of code and overly long methods that could benefit from refactoring.
  • AST-Based Detection: Advanced God Object detection using Abstract Syntax Tree (AST) parsing for a more robust analysis of your TypeScript code.

This update is part of our ongoing effort to provide developers with powerful tools to identify and eliminate code smells and anti patterns, ensuring a healthier, more scalable codebase.

Get Started:
npm install code-diagnose@latest

Upgrade now and enjoy a more robust code analysis experience!

This release message highlights the key new features and improvements, providing clear information on what users can expect from the update.

What's Changed

New Contributors

Full Changelog: code-diagnose...antipatterns_1.0