{"adoption": {"forks": 7, "observed_at": "2026-08-28T04:03:52.760587+00:00", "stars": 1177}, "canonical_url": "https://ross.abutalabs.com/products/code-unit", "card": {"archived": false, "artifact_type": "library", "description": "Collection of value objects that represent the PHP code units", "domain": ["developer-tools", "testing"], "enriched": true, "function": ["developer-tools"], "health_score": 46, "homepage": null, "language": "PHP", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["sebastianbergmann/code-unit"], "name": "sebastianbergmann/code-unit", "platform": ["php"], "pushed_at": "2025-05-25T06:37:29+00:00", "repo": "sebastianbergmann/code-unit", "stars": 1177, "tags": ["value-objects", "code-introspection", "phpunit-ecosystem"], "topics": [], "urls": [], "use_cases": ["represent PHP classes, methods, and functions as value objects", "inspect code unit metadata in static analysis tooling", "support test framework tooling that needs code unit abstractions"], "what_it_is": "A PHP library providing a collection of value objects that represent PHP code units such as classes, methods, and functions. It is a low-maintenance component primarily used within the PHPUnit ecosystem.", "when_to_avoid": ["you need actively maintained or feature-rich code analysis", "you need a full static analysis or reflection framework"], "when_to_choose": ["you are building PHP tooling that needs structured representations of code units", "you are already working within the PHPUnit/Sebastian Bergmann ecosystem"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/code-unit", "repo": "sebastianbergmann/code-unit", "role": "main", "score": 36}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:52.760587+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:26:18.361194+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5a892f3852f6fc4c8632f5d1b7cea794b99c8deae31c6f66c2d821f9a59b514c", "fetched_at": "2026-08-28T04:03:52.760587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/code-unit"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:52.760587+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:26:18.361194+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5a892f3852f6fc4c8632f5d1b7cea794b99c8deae31c6f66c2d821f9a59b514c", "fetched_at": "2026-08-28T04:03:52.760587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/code-unit"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:26:18.361194+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5a892f3852f6fc4c8632f5d1b7cea794b99c8deae31c6f66c2d821f9a59b514c", "fetched_at": "2026-08-28T04:03:52.760587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/code-unit"}], "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:03:52.760587+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:52.760587+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:52.760587+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:26:18.361194+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5a892f3852f6fc4c8632f5d1b7cea794b99c8deae31c6f66c2d821f9a59b514c", "fetched_at": "2026-08-28T04:03:52.760587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/code-unit"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:52.760587+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:52.760587+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:26:18.361194+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5a892f3852f6fc4c8632f5d1b7cea794b99c8deae31c6f66c2d821f9a59b514c", "fetched_at": "2026-08-28T04:03:52.760587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/code-unit"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:52.760587+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:52.760587+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:52.760587+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:26:18.361194+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5a892f3852f6fc4c8632f5d1b7cea794b99c8deae31c6f66c2d821f9a59b514c", "fetched_at": "2026-08-28T04:03:52.760587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/code-unit"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:52.760587+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:52.760587+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:26:18.361194+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5a892f3852f6fc4c8632f5d1b7cea794b99c8deae31c6f66c2d821f9a59b514c", "fetched_at": "2026-08-28T04:03:52.760587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/code-unit"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:26:18.361194+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5a892f3852f6fc4c8632f5d1b7cea794b99c8deae31c6f66c2d821f9a59b514c", "fetched_at": "2026-08-28T04:03:52.760587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/code-unit"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:26:18.361194+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5a892f3852f6fc4c8632f5d1b7cea794b99c8deae31c6f66c2d821f9a59b514c", "fetched_at": "2026-08-28T04:03:52.760587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/code-unit"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:26:18.361194+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5a892f3852f6fc4c8632f5d1b7cea794b99c8deae31c6f66c2d821f9a59b514c", "fetched_at": "2026-08-28T04:03:52.760587+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sebastianbergmann/code-unit"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 23, "longevity": 100, "rhythm": 16}, "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": 2376, "days_push": 465, "days_rel": 532, "gap_med": 96, "n_releases_24m": 2}, "score": 36, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}