Software Metric Extractor
A research pipeline that finds trending Python repositories on GitHub, clones them locally, runs Radon over the source for cyclomatic complexity and maintainability index, and stores the results in MySQL through SQLAlchemy.
Highlights
- Discovers trending Python repos via the GitHub API and clones them on demand.
- Static metrics via Radon: cyclomatic complexity, maintainability index, raw LOC.
- Normalised SQLAlchemy schema so per-repo, per-file, and per-function metrics join cleanly.
- MySQL container brought up via `docker-compose` — no host-side database setup required.
- CLI-driven (`run.py`) so an experiment is `python run.py fetch && python run.py analyze`.