{"adoption": {"forks": 164, "observed_at": "2026-08-28T04:06:39.234379+00:00", "stars": 2343}, "canonical_url": "https://ross.abutalabs.com/products/phploc", "card": {"archived": true, "artifact_type": "cli-tool", "description": "A tool for quickly measuring the size of a PHP project.", "domain": ["developer-tools"], "enriched": true, "function": ["developer-tools", "cli", "analytics"], "health_score": 10, "homepage": null, "language": "PHP", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "abandoned", "member_repos": ["sebastianbergmann/phploc"], "name": "sebastianbergmann/phploc", "platform": ["php", "cli", "cross-platform"], "pushed_at": "2025-04-12T05:04:58+00:00", "repo": "sebastianbergmann/phploc", "stars": 2343, "tags": ["code-metrics", "lines-of-code", "php", "archived", "cyclomatic-complexity", "command-line", "static-analysis"], "topics": [], "urls": [], "use_cases": ["measure lines of code in a php project", "count comment vs non-comment lines in a codebase", "get cyclomatic complexity statistics for php classes and functions", "estimate the size of a legacy php codebase", "generate quick codebase metrics for a report"], "what_it_is": "PHPLOC is a command-line tool that quickly measures the size of a PHP project, reporting lines of code, comment ratios, and cyclomatic complexity. It is distributed as a PHAR archive, but the project is no longer maintained and its repository is archived.", "when_to_avoid": ["you need actively maintained tooling or support for the latest PHP syntax", "you need in-depth static analysis beyond size metrics", "you want CI-integrated quality gates with ongoing updates"], "when_to_choose": ["you need a fast, zero-config LOC and complexity snapshot of a PHP project", "you are okay using an unmaintained but stable tool"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/phploc", "repo": "sebastianbergmann/phploc", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:39.234379+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:37:15.682056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c8c2b6713d3a86f38f464b55d3e57624537405d99dce47ba0d8d0d248a52c8a", "fetched_at": "2026-08-28T04:06:39.234379+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phploc"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:39.234379+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:37:15.682056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c8c2b6713d3a86f38f464b55d3e57624537405d99dce47ba0d8d0d248a52c8a", "fetched_at": "2026-08-28T04:06:39.234379+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phploc"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:37:15.682056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c8c2b6713d3a86f38f464b55d3e57624537405d99dce47ba0d8d0d248a52c8a", "fetched_at": "2026-08-28T04:06:39.234379+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phploc"}], "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:06:39.234379+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:39.234379+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:39.234379+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:37:15.682056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c8c2b6713d3a86f38f464b55d3e57624537405d99dce47ba0d8d0d248a52c8a", "fetched_at": "2026-08-28T04:06:39.234379+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phploc"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:39.234379+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:39.234379+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:37:15.682056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c8c2b6713d3a86f38f464b55d3e57624537405d99dce47ba0d8d0d248a52c8a", "fetched_at": "2026-08-28T04:06:39.234379+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phploc"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:39.234379+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:39.234379+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:39.234379+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:37:15.682056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c8c2b6713d3a86f38f464b55d3e57624537405d99dce47ba0d8d0d248a52c8a", "fetched_at": "2026-08-28T04:06:39.234379+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phploc"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:39.234379+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:39.234379+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:37:15.682056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c8c2b6713d3a86f38f464b55d3e57624537405d99dce47ba0d8d0d248a52c8a", "fetched_at": "2026-08-28T04:06:39.234379+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phploc"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:37:15.682056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c8c2b6713d3a86f38f464b55d3e57624537405d99dce47ba0d8d0d248a52c8a", "fetched_at": "2026-08-28T04:06:39.234379+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phploc"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:37:15.682056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c8c2b6713d3a86f38f464b55d3e57624537405d99dce47ba0d8d0d248a52c8a", "fetched_at": "2026-08-28T04:06:39.234379+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phploc"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:37:15.682056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4c8c2b6713d3a86f38f464b55d3e57624537405d99dce47ba0d8d0d248a52c8a", "fetched_at": "2026-08-28T04:06:39.234379+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/phploc"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 16, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases", "archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 6432, "days_push": 508, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}