Skip to content

CodeSmellHunter πŸ•΅οΈβ€β™‚οΈ is a static Python code analysis tool πŸ” that uses AST-based inspection 🌳 to detect common code smells, helping developers reduce maintainability risks ⚠️ and prevent technical debt πŸ’Έ.

License

Notifications You must be signed in to change notification settings

Sandhiyamrs/CodeSmellHunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

57 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ•΅οΈ CodeSmellHunter

CodeSmellHunter is a static Python code analysis tool that detects common code smells using AST inspection.

πŸš€ Features

  • Long Method
  • Large Class
  • Deep Nesting
  • Magic Numbers
  • Duplicate Code
  • CLI interface
  • JSON reports

Usage

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.

About

CodeSmellHunter πŸ•΅οΈβ€β™‚οΈ is a static Python code analysis tool πŸ” that uses AST-based inspection 🌳 to detect common code smells, helping developers reduce maintainability risks ⚠️ and prevent technical debt πŸ’Έ.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages