Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-08-22 14:34 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★ 505 stars⑂ 27 forkssince Dec 2023View on GitHub ↗

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

81
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.

81
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 69 is calibrated to 81 on the published index scale (record calibration 2026-08-02).

Ownership

ShipMonk R&DOrganization
81 followers27 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.3.3612,9254716 days agostatic-analysisdead-codephpstanunused-code

Metrics by category

Vitality

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

87Excellent · 21% of overall
How it's scored
28.8/36Push recencylast push 15 days ago
22.2/36Commit cadence32/52 weeks with commits
18/18Commit volume120 commits in the last year
10/10OpenSSF Scorecard: Maintained30 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year120
human_commit_share1
days_since_last_push15
active_weeks_last_year32

Release discipline

100Exceptional
How it's scored
27/27Ships releases47 releases published
36/36Release recencylatest release 15 days ago
27/27Release cadencea release every ~12.4 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count47
latest_release_tag1.3.3
releases_from_tagsno
days_since_latest_release15
mean_days_between_releases12.4
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?

63Moderate · 17% of overall
How it's scored
43.8/60Stars505 stars
11.8/25Forks27 forks
3.3/15Watchers5 watchers
Inputs used
forks27
stars505
watchers5
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (MIT)
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges0
has_contributingno
has_issue_templateno
has_code_of_conductno
readme_badge_services
has_pull_request_templateno
How it's scored
77.2/80Monthly downloads612,925 downloads/month across packagist
11.7/20Registry dependents55 packages depend on it
Inputs used
packagesshipmonk/dead-code-detector
dependents55
ecosystemspackagist
total_downloads4,582,255
monthly_downloads612,925
unverified_packages_excluded

Sustainability & Governance

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

66Good · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
2.7/22.5Commit distributiontop contributor authored 88% of commits
13.5/13.5Contributor breadth20 contributors
10/10OpenSSF Scorecard: Contributorsproject has 5 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled20
top_contributor_share0.882
How it's scored
38.3/42Issue resolution91% of issues closed
27.6/30PR acceptance305/332 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
3/15OpenSSF Scorecard: Code-ReviewFound 8/30 approved changesets -- score normalized to 2
Inputs used
merged_prs305
open_issues6
closed_issues63
prs_merged_7d0
prs_decided_7d0
prs_merged_30d3
prs_decided_30d3
issue_closed_ratio0.913
closed_unmerged_prs27
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backingorganization-owned
0/20Verified domain
13.8/25Owner reach81 followers of shipmonk-rnd
20.6/25Track record27 public repos, account ~5 yr old
Inputs used
followers81
owner_typeOrganization
is_verifiedno
owner_loginshipmonk-rnd
public_repos27
account_age_days1,830

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable1 package(s) on packagist
35/35Publish recencylatest publish 16 days ago
20/20Version history47 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesshipmonk/dead-code-detector
ecosystemspackagist
any_deprecatedno
min_days_since_publish16

Engineering Quality

Are baseline engineering and documentation practices in place?

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

Documentation

50Moderate
How it's scored
30/30README
0/25Documentation directory
0/15Documentation / homepage site
10/10Repository description
10/10Topics8 topics
0/10Wiki
Inputs used
topicsdead, phpstan, phpstan-rules, unused-code, php, dead-code-removal, phpstan-extension, static-analysis
has_wikino
homepage
docs_site
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

67Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
2.2/7.5Branch-Protectionbranch protection is not maximal on development and all release branches
2.5/2.5CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1.5/7.5Code-ReviewFound 8/30 approved changesets -- score normalized to 2
2.5/2.5Contributorsproject has 5 contributing companies or organizations
0/10Dangerous-Workflowno data
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5Licenselicense file detected
7.5/7.5Maintained30 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10
0/5Packagingno data
0/5Pinned-Dependenciesno data
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsno data
7.5/7.5Vulnerabilities0 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated13
scorecard_versionv5.5.0
checks_inconclusive5
scorecard_aggregate5.9
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 advisoriesno direct dependency carries a known advisory
0/25Indirect dependencies free of known advisoriestransitive set not separable from development and test dependencies in this scope
0/40No advisories left outstandingno advisory carries a publication date
Inputs used
sourceosv
advisories54
affected_packages15
assessed_packages166
unassessed_packages0
affected_by_severitycritical 1, high 7, moderate 6, low 1
direct_affected_packages0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 166 resolved dependencies against OSV. 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 instructionsCLAUDE.md
0/15Machine-readable docs (llms.txt)
40/40Legible commit history82 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share0.82
agent_instruction_filesCLAUDE.md
agent_instruction_max_bytes1,927
How it's scored
0/18One-command bootstrap
22/22Automated tests
0/11Lint / format config
0/11Static type checking
10/10Reproducible environmentlockfile
0/10Demonstrated agent practiceno agent-authored commits among the last 100
0/8Automated maintenanceno automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependenciesno data
Inputs used
has_nixno
has_testsyes
lockfilescomposer.lock
has_dockerfileno
typed_languageno
bootstrap_files
has_devcontainerno
has_linter_configno
typecheck_configs
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Pinned-Dependencies. Remaining weights renormalized.
How it's scored
0/45Type-checkable codePHP without a type-check config
54.7/55Manageable file sizes2/356 source files over 60KB
Inputs used
primary_languagePHP
largest_source_bytes75,076
source_files_sampled356
oversized_source_files2

Key facts

505GitHub stars
20contributors
120commits, last 12 months
15days since last push
47releases
1bus factor
6open issues
Packagistpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

More detail

Star and fork history 0 ★ / 27 ⇿
0Stars
27Forks
46Releases

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.

0510152025302722024-072025-072026-08
Major 1Minor 17Patch 28

Each point covers 2 days.

OpenSSF Scorecard 5.9 / 10
5.9aggregate

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-08-22 14:34 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
2Code-ReviewFound 8/30 approved changesets -- score normalized to 2
10Contributorsproject has 5 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 10 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 166

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

RegistryPackageVersionRelation
Packagistbehat/behat3.29.0indirect
Packagistbehat/gherkin4.16.1indirect
Packagistbrick/math0.14.8indirect
Packagistcarbonphp/carbon-doctrine-types3.2.0indirect
Packagistcomposer/pcre3.3.2indirect
Packagistcomposer/semver3.4.4indirect
Packagistcomposer/xdebug-handler3.0.5indirect
Packagistdealerdirect/phpcodesniffer-composer-installer1.2.1indirect
Packagistdflydev/dot-access-data3.0.3indirect
Packagistdoctrine/annotations2.0.2indirect
Packagistdoctrine/collections2.6.0indirect
Packagistdoctrine/dbal4.4.3indirect
Packagistdoctrine/deprecations1.1.6indirect
Packagistdoctrine/event-manager2.1.1indirect
Packagistdoctrine/inflector2.1.0indirect
Packagistdoctrine/instantiator2.1.0indirect
Packagistdoctrine/lexer3.0.1indirect
Packagistdoctrine/orm3.6.2indirect
Packagistdoctrine/persistence4.1.1indirect
Packagistdragonmantank/cron-expression3.6.0indirect
Packagisteditorconfig-checker/editorconfig-checker10.7.0indirect
Packagistegulias/email-validator4.0.4indirect
Packagistergebnis/composer-normalize2.50.0indirect
Packagistergebnis/json1.6.0indirect
Packagistergebnis/json-normalizer4.10.1indirect
Packagistergebnis/json-pointer3.7.1indirect
Packagistergebnis/json-printer3.8.1indirect
Packagistergebnis/json-schema-validator4.5.1indirect
Packagistfruitcake/php-cors1.4.0indirect
Packagistgraham-campbell/result-type1.1.4indirect
Packagistguzzlehttp/guzzle7.10.0indirect
Packagistguzzlehttp/promises2.3.0indirect
Packagistguzzlehttp/psr72.9.0indirect
Packagistguzzlehttp/uri-template1.0.5indirect
Packagistjustinrainbow/json-schema6.7.2indirect
Packagistlaravel/framework12.55.1indirect
Packagistlaravel/prompts0.3.15indirect
Packagistlaravel/serializable-closure2.0.10indirect
Packagistleague/commonmark2.8.2indirect
Packagistleague/config1.2.0indirect
Packagistleague/flysystem3.32.0indirect
Packagistleague/flysystem-local3.31.0indirect
Packagistleague/mime-type-detection1.16.0indirect
Packagistleague/uri7.8.1indirect
Packagistleague/uri-interfaces7.8.1indirect
Packagistlocalheinz/diff1.3.0indirect
Packagistmarc-mabe/php-enum4.7.2indirect
Packagistmonolog/monolog3.10.0indirect
Packagistmyclabs/deep-copy1.13.4indirect
Packagistnesbot/carbon3.11.3indirect
Packagistnette/application3.2.9indirect
Packagistnette/component-model3.1.3indirect
Packagistnette/http3.3.3indirect
Packagistnette/neon3.4.8indirect
Packagistnette/routing3.1.3indirect
Packagistnette/schema1.3.5indirect
Packagistnette/tester2.6.0indirect
Packagistnette/utils4.1.3indirect
Packagistnikic/php-parser5.7.0indirect
Packagistnunomaduro/termwind2.4.0indirect
Packagistphar-io/manifest2.0.4indirect
Packagistphar-io/version3.2.1indirect
Packagistphpat/phpat0.12.4indirect
Packagistphpbench/container2.2.3indirect
Packagistphpbench/phpbench1.6.1indirect
Packagistphpoption/phpoption1.9.5indirect
Packagistphpstan/phpdoc-parser2.3.2indirect
Packagistphpstan/phpstan2.2.5indirect
Packagistphpstan/phpstan-phpunit2.0.17indirect
Packagistphpstan/phpstan-strict-rules2.0.11indirect
Packagistphpstan/phpstan-symfony2.0.15indirect
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.63indirect
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.2indirect
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.1indirect
Packagistsebastian/type4.0.0indirect
Packagistsebastian/version4.0.1indirect
Packagistseld/jsonlint1.11.0indirect
Packagistshipmonk/coding-standard0.3.0indirect
Packagistshipmonk/composer-dependency-analyser1.8.4indirect
Packagistshipmonk/coverage-guard1.1.0indirect
Packagistshipmonk/name-collision-detector2.1.1indirect
Packagistshipmonk/phpstan-dev0.1.6indirect
Packagistshipmonk/phpstan-rules4.4.0indirect
Packagistslevomat/coding-standard8.29.0indirect
Packagistsquizlabs/php_codesniffer4.0.1indirect
Packagistsymfony/cache8.0.7indirect
Packagistsymfony/clock8.0.0indirect
Packagistsymfony/config7.4.7indirect
Packagistsymfony/console7.4.7indirect
Packagistsymfony/contracts3.6.1indirect
Packagistsymfony/css-selector8.0.6indirect
Packagistsymfony/dependency-injection7.4.7indirect
Packagistsymfony/doctrine-bridge8.0.7indirect
Packagistsymfony/error-handler7.4.4indirect
Packagistsymfony/event-dispatcher7.4.4indirect
Packagistsymfony/filesystem8.0.6indirect
Packagistsymfony/finder7.4.6indirect
Packagistsymfony/form8.0.8indirect
Packagistsymfony/framework-bundle8.0.7indirect
Packagistsymfony/http-foundation7.4.7indirect
Packagistsymfony/http-kernel7.4.7indirect
Packagistsymfony/mailer7.4.6indirect
Packagistsymfony/mime7.4.7indirect
Packagistsymfony/options-resolver8.0.0indirect
Packagistsymfony/polyfill-ctype1.33.0indirect
Packagistsymfony/polyfill-intl-grapheme1.33.0indirect
Packagistsymfony/polyfill-intl-icu1.33.0indirect
Packagistsymfony/polyfill-intl-idn1.33.0indirect
Packagistsymfony/polyfill-intl-normalizer1.33.0indirect
Packagistsymfony/polyfill-mbstring1.33.0indirect
Packagistsymfony/polyfill-php801.33.0indirect
Packagistsymfony/polyfill-php831.33.0indirect
Packagistsymfony/polyfill-php841.33.0indirect
Packagistsymfony/polyfill-php851.33.0indirect
Packagistsymfony/polyfill-uuid1.33.0indirect
Packagistsymfony/process7.4.5indirect
Packagistsymfony/property-access8.0.8indirect
Packagistsymfony/property-info8.0.8indirect
Packagistsymfony/routing7.4.6indirect
Packagistsymfony/scheduler8.0.4indirect
Packagistsymfony/stimulus-bundle2.34.0indirect
Packagistsymfony/string8.0.6indirect
Packagistsymfony/translation7.4.6indirect
Packagistsymfony/type-info8.0.8indirect
Packagistsymfony/uid7.4.4indirect
Packagistsymfony/ux-live-component2.34.0indirect
Packagistsymfony/ux-twig-component2.34.0indirect
Packagistsymfony/validator8.0.7indirect
Packagistsymfony/var-dumper7.4.6indirect
Packagistsymfony/var-exporter8.0.0indirect
Packagistsymfony/yaml7.4.6indirect
Packagisttheseer/tokenizer1.3.1indirect
Packagisttijsverkoyen/css-to-inline-styles2.4.0indirect
Packagisttwig/twig3.24.0indirect
Packagistvlucas/phpdotenv5.6.3indirect
Packagistvoku/portable-ascii2.0.3indirect
Packagistwebmozart/glob4.7.0indirect
Dependency advisories 15

This repository publishes no package the index resolves, so its own dependency graph was assessed — 166 packages, which also include development and test pins that never ship: 15 carry known advisories, of which 0 are direct.

PackageVersionRelationSeverityAdvisoriesFixed in
twig/twig3.24.0indirectcritical153.27.0
guzzlehttp/guzzle7.10.0indirecthigh98.0.1
laravel/framework12.55.1indirecthigh213.12.0
league/commonmark2.8.2indirecthigh62.9.0
squizlabs/php_codesniffer4.0.1indirecthigh14.0.2
symfony/cache8.0.7indirecthigh18.0.12
symfony/http-kernel7.4.7indirecthigh18.0.12
symfony/mailer7.4.6indirecthigh18.0.12
guzzlehttp/psr72.9.0indirectmoderate42.12.3
symfony/mime7.4.7indirectmoderate28.0.12
symfony/polyfill-intl-idn1.33.0indirectmoderate11.38.1
symfony/routing7.4.6indirectmoderate28.0.13
symfony/ux-live-component2.34.0indirectmoderate53.1.0
symfony/yaml7.4.6indirectmoderate38.0.12
symfony/http-foundation7.4.7indirectlow18.0.13

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 statisticsPackagist.