CodeSmellHunter is a static Python code analysis tool that detects common code smells using AST inspection.
- Long Method
- Large Class
- Deep Nesting
- Magic Numbers
- Duplicate Code
- CLI interface
- JSON reports
python -m codesmellhunter.cli src/
## βΆοΈ Usage
python src/cli.py samples/bad_code.py
Output
Results are saved to output/report.json
---
## π `requirements.txt`
---
# π― RESULT
You now have:
β
Clean architecture
β
Extensible smell system
β
Professional CLI
β
Testable codebase
β
Portfolio-grade project
---
## π NEXT (Optional)
- HTML reports
- Cyclomatic complexity
- GitHub Action
- PyPI package
If you want, I can **convert this into a pip-installable tool** or add **GitHub Actions CI** next.