bmitch/churn-php
Discover files in need of refactoring. observed · 2026-08-28
Health v2 · maintenance only
58/100
- Activity 60
- Release rhythm 32
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3371
- days_rel: 243
- days_push: 245
- n_releases_24m: 1
Adoption not part of the score
1377 stars · 60 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
churn-php is a PHP command-line tool that identifies files in a project that are good candidates for refactoring. It scores each PHP file by combining its git commit frequency with its cyclomatic complexity and displays the results in a table.
Use cases
- find php files that need refactoring
- identify high-churn high-complexity files in my codebase
- measure cyclomatic complexity of php files
- add code quality checks to continuous integration
- prioritize technical debt cleanup in a php project
- find which files change most often in git
When to choose
- you maintain a PHP 7.1+ codebase and want to prioritize refactoring efforts
- you want a simple CI-integrated score combining git churn and complexity
- you prefer a standalone phar or Composer dev dependency
When to avoid
- your project is not written in PHP
- you need full static analysis or automated fixes rather than refactoring hints
- you expect the tool to decide what to refactor for you - it only assists judgment
Facets
cli-tool · maturity active
developer-tools cli code-review testing developer-tools cli cross-platform php static-analysis cyclomatic-complexity code-quality refactoring technical-debt clean-code continuous-integration command-line php
1 source
- readme: https://github.com/bmitch/churn-php · fetched 2026-08-28 · 87893ed4cbbd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| bmitch/churn-php | main | 58 |
For agents
markdown · JSON · MCP: product_card(name="bmitch/churn-php")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem