Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-30 12:42 UTC

shipmonk-rnd / dead-code-detector

💀 PHP unused code detection via PHPStan extension. Detects dead cycles, supports libs like Laravel, Symfony, Twig, Doctrine, PHPUnit etc. Can automatically remove dead PHP code. Able to detect dead code used only in tests. Finds unused methods, constants, properties and enum cases.

PHPMIT★ 539 stars⑂ 35 forkssince Dec 2023View on GitHub ↗

shipmonk-rnd/dead-code-detector holds a health index of 84 out of 100, placing it in the Excellent band. It scores highest on Vitality (93/100) and lowest on AI Readiness (57/100). It was last updated 2 days ago. A single contributor accounts for most of its recent work.

84
overall / 100
Excellent

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

84
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 71 is calibrated to 84 on the published index scale (record calibration 2026-08-02).

Ownership

ShipMonk R&DOrganization
87 followers31 public repossince Aug 2021

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
Packagistshipmonk/dead-code-detector1.4.21,318,3925073 days agostatic-analysisdead-codephpstanunused-code

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

93Exceptional · 21% of overall
How it's scored
36/36Push recency — last push 2 days ago
24.9/36Commit cadence — 36/52 weeks with commits
18/18Commit volume — 153 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year153
Share of human-authored commits1
Days since last push2
Weeks with commits in the last year36

Release discipline

100Exceptional
How it's scored
27/27Ships releases — 50 releases published
36/36Release recency — latest release 69 days ago
27/27Release cadence — a release every ~13.6 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases50
Latest release tag1.4.2
Releases derived from version tagsno
Days since latest release69
Mean days between releases13.6
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

65Good · 17% of overall
How it's scored
44.3/60Stars — 539 stars
12.8/25Forks — 35 forks
3.3/15Watchers — 5 watchers
Inputs used
Forks35
Stars539
Watchers5
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README0
CONTRIBUTING guide presentno
Issue template presentno
Code of conduct presentno
Badge services used in the README—
Pull request template presentno
How it's scored
80/80Monthly downloads — 1,318,392 downloads/month across packagist
13.5/20Registry dependents — 105 packages depend on it
Inputs used
Packagesshipmonk/dead-code-detector
Registry dependents105
Package ecosystemspackagist
Total downloads8,463,555
Monthly downloads1,318,392
Packages excluded as unverified—

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

64Moderate · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
3.5/22.5Commit distribution — top contributor authored 85% of commits
13.5/13.5Contributor breadth — 23 contributors
10/10OpenSSF Scorecard: Contributors — project has 11 contributing companies or organizations
Inputs used
Bus factor1
Contributors sampled23
Share of commits by the top contributor0.846
How it's scored
36.2/42Issue resolution — 86% of issues closed
27.1/30PR acceptance — 360/399 decided PRs merged
0/13Newcomer PR acceptance — 0/1 first-time contributors' PRs merged in 30d
4.5/15OpenSSF Scorecard: Code-Review — Found 10/30 approved changesets -- score normalized to 3
Inputs used
Merged pull requests360
Open issues11
Closed issues68
Pull requests merged in the last 7 days5
Pull requests decided in the last 7 days6
Pull requests merged in the last 30 days12
Pull requests decided in the last 30 days15
Share of issues closed0.861
Pull requests closed without merging39
First-time contributors with a pull request decided in the last 30 days1
Pull requests from first-time contributors merged in the last 30 days0
Pull requests from first-time contributors decided in the last 30 days1
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
14/25Owner reach — 87 followers of shipmonk-rnd
21.5/25Track record — 31 public repos, account ~5 yr old
Inputs used
Followers87
Owner account typeOrganization
Verified domainno
Owner accountshipmonk-rnd
Public repositories31
Owner account age in days1,930

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on packagist
35/35Publish recency — latest publish 73 days ago
20/20Version history — 50 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagesshipmonk/dead-code-detector
Package ecosystemspackagist
Any package deprecated or yankedno
Days since latest package publish73

Engineering Quality

Are baseline engineering and documentation practices in place?

64Moderate · 19% of overall
How it's scored
24/24CI workflows — 3 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentyes
Linter config presentno
Pre-commit config presentno

Documentation

50Moderate
How it's scored
30/30README
0/25Documentation directory
0/15Documentation / homepage site
10/10Repository description
10/10Topics — 8 topics
0/10Wiki
Inputs used
Repository topicsdead, phpstan, phpstan-rules, unused-code, php, dead-code-removal, phpstan-extension, static-analysis
Wiki enabledno
Repository homepage—
Documentation site—
README presentyes
Documentation directory presentno
Repository description presentyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

68Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
2.2/7.5Branch-Protection — branch protection is not maximal on development and all release branches
2.5/2.5CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
2.2/7.5Code-Review — Found 10/30 approved changesets -- score normalized to 3
2.5/2.5Contributors — project has 11 contributing companies or organizations
0/10Dangerous-Workflow — no data
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — no data
0/5Pinned-Dependencies — no data
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — no data
0/7.5Token-Permissions — no data
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated13
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive5
OpenSSF Scorecard aggregate score6
Excluded from scoring (no data or not applicable): Dangerous-Workflow, Packaging, Pinned-Dependencies, Signed-Releases, Token-Permissions. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
0/25Indirect dependencies free of known advisories — transitive set not separable from development and test dependencies in this scope
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
Data sourceosv
Advisories across affected packages1
Packages affected by advisories1
Packages assessed162
Packages not assessed2
Affected packages by severitymoderate 1
Direct dependencies affected by advisories0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 162 resolved dependencies against OSV. 2 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

57Moderate · 4% of overall
How it's scored
45/45Agent instructions — AGENTS.md, CLAUDE.md
0/15Machine-readable docs (llms.txt)
40/40Legible commit history — 77 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentno
llms.txt address on the project website—
Share of human commits that state their intent0.77
Agent instruction filesAGENTS.md, CLAUDE.md
Size of the largest agent instruction file (bytes)1,927
How it's scored
0/18One-command bootstrap
22/22Automated tests
0/11Lint / format config
0/11Static type checking
10/10Reproducible environment — lockfile
0/10Demonstrated agent practice — no agent-authored commits among the last 100
0/8Automated maintenance — no automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependencies — no data
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfilescomposer.lock
Dockerfile presentno
Primary language statically typedno
One-command bootstrap files—
Dev container config presentno
Linter config presentno
Static type-check config files—
Share of commits authored by or credited to coding agents0
Toolchain manifests—
Share of commits that are automated dependency updates0
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Pinned-Dependencies. Remaining weights renormalized.
How it's scored
0/45Type-checkable code — PHP without a type-check config
54.7/55Manageable file sizes — 2/387 source files over 60KB
Inputs used
Primary languagePHP
Size of the largest source file (bytes)77,618
Source files sampled387
Oversized source files2

Key facts

539GitHub stars
23contributors
153commits, last 12 months
2days since last push
50releases
1bus factor
11open issues
Packagistpackage ecosystems

Data collection warnings

  • Star history unavailable

More detail

Star and fork history 0 ★ / 35 ⇿
0Stars
35Forks
49Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

01325383522024-072025-092026-11
Major 1Minor 18Patch 30

Each point covers 3 days.

OpenSSF Scorecard 6.0 / 10
6.0aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-11-30 12:42 UTC

10Binary-Artifactsno binaries found in the repo
3Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
3Code-ReviewFound 10/30 approved changesets -- score normalized to 3
10Contributorsproject has 11 contributing companies or organizations
n/aDangerous-Workflowno workflows found
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not detected
n/aPinned-Dependenciesno dependencies found
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
n/aToken-PermissionsNo tokens found
10Vulnerabilities0 existing vulnerabilities detected
All dependencies 164

Full resolved dependency set from the GitHub dependency graph: 0 direct and 164 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
Packagistbehat/behat3.34.0indirect
Packagistbehat/gherkin4.18.0indirect
Packagistbrick/math0.14.8indirect
Packagistcarbonphp/carbon-doctrine-types3.2.1indirect
Packagistcomposer-runtime-api—indirect
Packagistcomposer/pcre3.4.0indirect
Packagistcomposer/semver3.5.1indirect
Packagistcomposer/xdebug-handler3.0.5indirect
Packagistcucumber/tag-expressions11.0.1indirect
Packagistdealerdirect/phpcodesniffer-composer-installer1.2.1indirect
Packagistdflydev/dot-access-data3.0.3indirect
Packagistdoctrine/annotations2.0.2indirect
Packagistdoctrine/collections3.1.0indirect
Packagistdoctrine/dbal4.5.0indirect
Packagistdoctrine/deprecations1.1.6indirect
Packagistdoctrine/event-manager2.1.1indirect
Packagistdoctrine/inflector2.1.0indirect
Packagistdoctrine/instantiator2.1.0indirect
Packagistdoctrine/lexer3.0.3indirect
Packagistdoctrine/orm3.7.4indirect
Packagistdoctrine/persistence4.2.0indirect
Packagistdragonmantank/cron-expression3.6.0indirect
Packagisteditorconfig-checker/editorconfig-checker10.7.0indirect
Packagistegulias/email-validator4.0.4indirect
Packagistfruitcake/php-cors1.4.0indirect
Packagistgraham-campbell/result-type1.2.0indirect
Packagistguzzlehttp/guzzle7.15.5indirect
Packagistguzzlehttp/promises2.5.3indirect
Packagistguzzlehttp/psr72.13.1indirect
Packagistguzzlehttp/uri-template1.0.11indirect
Packagistlaravel/framework12.69.3indirect
Packagistlaravel/prompts0.3.24indirect
Packagistlaravel/serializable-closure2.1.0indirect
Packagistleague/commonmark2.10.3indirect
Packagistleague/config1.2.0indirect
Packagistleague/flysystem3.36.0indirect
Packagistleague/flysystem-local3.35.3indirect
Packagistleague/mime-type-detection1.17.0indirect
Packagistleague/uri7.8.1indirect
Packagistleague/uri-interfaces7.8.1indirect
Packagistmonolog/monolog3.12.1indirect
Packagistmyclabs/deep-copy1.14.0indirect
Packagistnesbot/carbon3.14.2indirect
Packagistnette/application3.3.0indirect
Packagistnette/component-model3.2.0indirect
Packagistnette/http3.4.1indirect
Packagistnette/neon3.4.8indirect
Packagistnette/routing3.1.4indirect
Packagistnette/schema1.3.6indirect
Packagistnette/tester2.6.2indirect
Packagistnette/utils4.1.5indirect
Packagistnikic/php-parser5.9.0indirect
Packagistnunomaduro/termwind2.4.0indirect
Packagistphar-io/manifest2.0.4indirect
Packagistphar-io/version3.2.1indirect
Packagistphp—indirect
Packagistphpat/phpat0.12.5indirect
Packagistphpbench/container2.2.3indirect
Packagistphpbench/phpbench1.7.0indirect
Packagistphpoption/phpoption1.10.0indirect
Packagistphpstan/phpdoc-parser2.3.6indirect
Packagistphpstan/phpstan2.3.0indirect
Packagistphpstan/phpstan-doctrine2.1.2indirect
Packagistphpstan/phpstan-phpunit2.0.21indirect
Packagistphpstan/phpstan-strict-rules2.0.12indirect
Packagistphpstan/phpstan-symfony2.0.20indirect
Packagistphpunit/php-code-coverage10.1.16indirect
Packagistphpunit/php-file-iterator4.1.0indirect
Packagistphpunit/php-invoker4.0.0indirect
Packagistphpunit/php-text-template3.0.1indirect
Packagistphpunit/php-timer6.0.0indirect
Packagistphpunit/phpcov9.0.2indirect
Packagistphpunit/phpunit10.5.66indirect
Packagistpsr/cache3.0.0indirect
Packagistpsr/clock1.0.0indirect
Packagistpsr/container2.0.2indirect
Packagistpsr/event-dispatcher1.0.0indirect
Packagistpsr/http-client1.0.3indirect
Packagistpsr/http-factory1.1.0indirect
Packagistpsr/http-message2.0indirect
Packagistpsr/log3.0.2indirect
Packagistpsr/simple-cache3.0.0indirect
Packagistralouphie/getallheaders3.0.3indirect
Packagistramsey/collection2.1.1indirect
Packagistramsey/uuid4.9.4indirect
Packagistsebastian/cli-parser2.0.1indirect
Packagistsebastian/code-unit2.0.0indirect
Packagistsebastian/code-unit-reverse-lookup3.0.0indirect
Packagistsebastian/comparator5.0.5indirect
Packagistsebastian/complexity3.2.0indirect
Packagistsebastian/diff5.1.1indirect
Packagistsebastian/environment6.1.0indirect
Packagistsebastian/exporter5.1.4indirect
Packagistsebastian/global-state6.0.2indirect
Packagistsebastian/lines-of-code2.0.2indirect
Packagistsebastian/object-enumerator5.0.0indirect
Packagistsebastian/object-reflector3.0.0indirect
Packagistsebastian/recursion-context5.0.2indirect
Packagistsebastian/type4.0.0indirect
Packagistsebastian/version4.0.1indirect
Packagistseld/jsonlint1.12.1indirect
Packagistshipmonk/coding-standard0.3.0indirect
Packagistshipmonk/composer-dependency-analyser1.8.4indirect
Packagistshipmonk/composer-normalizer0.1.0indirect
Packagistshipmonk/coverage-guard1.1.0indirect
Packagistshipmonk/name-collision-detector2.1.1indirect
Packagistshipmonk/phpstan-dev0.1.6indirect
Packagistshipmonk/phpstan-rules4.4.1indirect
Packagistslevomat/coding-standard8.31.1indirect
Packagistsquizlabs/php_codesniffer4.0.4indirect
Packagistsymfony/cache8.1.8indirect
Packagistsymfony/clock8.1.0indirect
Packagistsymfony/config7.4.17indirect
Packagistsymfony/console7.4.20indirect
Packagistsymfony/contracts3.7.3indirect
Packagistsymfony/css-selector8.1.6indirect
Packagistsymfony/dependency-injection7.4.20indirect
Packagistsymfony/doctrine-bridge8.1.8indirect
Packagistsymfony/error-handler7.4.20indirect
Packagistsymfony/event-dispatcher7.4.17indirect
Packagistsymfony/filesystem8.1.6indirect
Packagistsymfony/finder7.4.20indirect
Packagistsymfony/form8.1.8indirect
Packagistsymfony/framework-bundle8.0.15indirect
Packagistsymfony/http-foundation7.4.20indirect
Packagistsymfony/http-kernel7.4.20indirect
Packagistsymfony/mailer7.4.19indirect
Packagistsymfony/mime7.4.19indirect
Packagistsymfony/options-resolver8.1.0indirect
Packagistsymfony/polyfill-ctype1.37.0indirect
Packagistsymfony/polyfill-deepclone1.43.0indirect
Packagistsymfony/polyfill-intl-grapheme1.43.0indirect
Packagistsymfony/polyfill-intl-icu1.43.0indirect
Packagistsymfony/polyfill-intl-idn1.43.0indirect
Packagistsymfony/polyfill-intl-normalizer1.43.0indirect
Packagistsymfony/polyfill-mbstring1.43.0indirect
Packagistsymfony/polyfill-php801.43.0indirect
Packagistsymfony/polyfill-php831.43.0indirect
Packagistsymfony/polyfill-php841.43.0indirect
Packagistsymfony/polyfill-php851.43.0indirect
Packagistsymfony/polyfill-php861.43.0indirect
Packagistsymfony/polyfill-uuid1.43.0indirect
Packagistsymfony/process7.4.19indirect
Packagistsymfony/property-access8.1.4indirect
Packagistsymfony/property-info8.1.8indirect
Packagistsymfony/routing7.4.20indirect
Packagistsymfony/scheduler8.1.8indirect
Packagistsymfony/stimulus-bundle3.5.1indirect
Packagistsymfony/string8.1.7indirect
Packagistsymfony/translation7.4.17indirect
Packagistsymfony/type-info8.1.8indirect
Packagistsymfony/uid7.4.20indirect
Packagistsymfony/ux-live-component2.36.0indirect
Packagistsymfony/ux-twig-component2.36.0indirect
Packagistsymfony/validator8.1.8indirect
Packagistsymfony/var-dumper7.4.18indirect
Packagistsymfony/var-exporter8.1.6indirect
Packagistsymfony/yaml7.4.20indirect
Packagisttheseer/tokenizer1.3.1indirect
Packagisttijsverkoyen/css-to-inline-styles2.4.0indirect
Packagisttwig/twig3.30.0indirect
Packagistvlucas/phpdotenv5.7.0indirect
Packagistvoku/portable-ascii2.1.1indirect
Packagistwebmozart/glob4.7.0indirect
Dependency advisories 1

This repository publishes no package the index resolves, so its own dependency graph was assessed — 162 packages, which also include development and test pins that never ship: 1 carry known advisories, of which 0 are direct. 2 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list.

PackageVersionRelationSeverityAdvisoriesFixed in
laravel/framework12.69.3indirectmoderate113.40.0

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — Packagist.