{"adoption": {"forks": 60, "observed_at": "2026-08-28T04:04:33.463087+00:00", "stars": 1377}, "canonical_url": "https://ross.abutalabs.com/products/churn-php", "card": {"archived": false, "artifact_type": "cli-tool", "description": "Discover files in need of refactoring.", "domain": ["developer-tools"], "enriched": true, "function": ["developer-tools", "cli", "code-review", "testing"], "health_score": 72, "homepage": null, "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["bmitch/churn-php"], "name": "bmitch/churn-php", "platform": ["cli", "cross-platform", "php"], "pushed_at": "2025-12-31T12:03:13+00:00", "repo": "bmitch/churn-php", "stars": 1377, "tags": ["static-analysis", "cyclomatic-complexity", "code-quality", "refactoring", "technical-debt", "clean-code", "continuous-integration", "command-line", "php"], "topics": ["php", "identify-files", "refactor", "complexity", "continuous-integration", "clean-code"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/churn-php", "repo": "bmitch/churn-php", "role": "main", "score": 58}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.463087+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:40:25.638471+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "87893ed4cbbd8c8612a95cd9ee9bac7ff358d6301753940f8154d252a4561480", "fetched_at": "2026-08-28T04:04:33.463087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bmitch/churn-php"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.463087+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:40:25.638471+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "87893ed4cbbd8c8612a95cd9ee9bac7ff358d6301753940f8154d252a4561480", "fetched_at": "2026-08-28T04:04:33.463087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bmitch/churn-php"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:40:25.638471+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "87893ed4cbbd8c8612a95cd9ee9bac7ff358d6301753940f8154d252a4561480", "fetched_at": "2026-08-28T04:04:33.463087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bmitch/churn-php"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.463087+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.463087+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.463087+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:40:25.638471+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "87893ed4cbbd8c8612a95cd9ee9bac7ff358d6301753940f8154d252a4561480", "fetched_at": "2026-08-28T04:04:33.463087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bmitch/churn-php"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.463087+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.463087+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:40:25.638471+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "87893ed4cbbd8c8612a95cd9ee9bac7ff358d6301753940f8154d252a4561480", "fetched_at": "2026-08-28T04:04:33.463087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bmitch/churn-php"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.463087+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.463087+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.463087+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:40:25.638471+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "87893ed4cbbd8c8612a95cd9ee9bac7ff358d6301753940f8154d252a4561480", "fetched_at": "2026-08-28T04:04:33.463087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bmitch/churn-php"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.463087+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:33.463087+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:40:25.638471+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "87893ed4cbbd8c8612a95cd9ee9bac7ff358d6301753940f8154d252a4561480", "fetched_at": "2026-08-28T04:04:33.463087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bmitch/churn-php"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:40:25.638471+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "87893ed4cbbd8c8612a95cd9ee9bac7ff358d6301753940f8154d252a4561480", "fetched_at": "2026-08-28T04:04:33.463087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bmitch/churn-php"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:40:25.638471+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "87893ed4cbbd8c8612a95cd9ee9bac7ff358d6301753940f8154d252a4561480", "fetched_at": "2026-08-28T04:04:33.463087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bmitch/churn-php"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:40:25.638471+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "87893ed4cbbd8c8612a95cd9ee9bac7ff358d6301753940f8154d252a4561480", "fetched_at": "2026-08-28T04:04:33.463087+00:00", "kind": "readme", "missing": false, "url": "https://github.com/bmitch/churn-php"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 60, "longevity": 100, "rhythm": 32}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3371, "days_push": 245, "days_rel": 243, "gap_med": null, "n_releases_24m": 1}, "score": 58, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}