Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-10-24 08:10 UTC

phpmd / phpmd

PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.

PHPBSD-3-Clause★ 2,464 stars⑂ 362 forkssince Jan 2011View on GitHub ↗
KindLibraryCommand-line toolhow this is determined

phpmd/phpmd holds a health index of 92 out of 100, placing it in the Excellent band. It scores highest on Community & Adoption (86/100) and lowest on AI Readiness (37/100). It was last updated 3 days ago. 3 contributors account for most of its recent work.

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

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

Ownership

PHP Mess DetectorOrganization
15 followers1 public reposince Jan 2011

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
Packagistphpmd/phpmd3.0.02,596,7984819 days agodevphpmdpdependpmdmess-detectionmess-detector

Metrics by category

Vitality

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

84Excellent · 21% of overall
How it's scored
36/36Push recency — last push 3 days ago
20.1/36Commit cadence — 29/52 weeks with commits
18/18Commit volume — 137 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year137
Share of human-authored commits1
Days since last push3
Weeks with commits in the last year29
How it's scored
27/27Ships releases — 20 releases published
36/36Release recency — latest release 19 days ago
12.6/27Release cadence — a release every ~219.1 days
8/10OpenSSF Scorecard: Signed-Releases — 5 out of the last 5 releases have a total of 5 signed artifacts.
Inputs used
Number of releases20
Latest release tag3.0.0
Releases derived from version tagsno
Days since latest release19
Mean days between releases219.1

Community & Adoption

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

86Excellent · 17% of overall
How it's scored
55/60Stars — 2,464 stars
21.3/25Forks — 362 forks
9.3/15Watchers — 48 watchers
Inputs used
Forks362
Stars2,464
Watchers48
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 (BSD-3-Clause)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README5
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentno
Badge services used in the READMEcodecov.io, poser.pugx.org
Pull request template presentyes
How it's scored
80/80Monthly downloads — 2,596,798 downloads/month across packagist
20/20Registry dependents — 5,588 packages depend on it
Inputs used
Packagesphpmd/phpmd
Registry dependents5,588
Package ecosystemspackagist
Total downloads122,747,352
Monthly downloads2,596,798
Packages excluded as unverified—

Sustainability & Governance

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

79Good · 23% of overall
How it's scored
36/54Bus factor — 3 contributor(s) cover half of all commits
15.6/22.5Commit distribution — top contributor authored 30% of commits
13.5/13.5Contributor breadth — 100 contributors
10/10OpenSSF Scorecard: Contributors — project has 56 contributing companies or organizations
Inputs used
Bus factor3
Contributors sampled100
Share of commits by the top contributor0.305
How it's scored
38.4/42Issue resolution — 91% of issues closed
25.7/30PR acceptance — 627/733 decided PRs merged
13/13Newcomer PR acceptance — 5/5 first-time contributors' PRs merged in 30d
15/15OpenSSF Scorecard: Code-Review — all changesets reviewed
Inputs used
Merged pull requests627
Open issues54
Closed issues577
Pull requests merged in the last 7 days1
Pull requests decided in the last 7 days1
Pull requests merged in the last 30 days18
Pull requests decided in the last 30 days18
Share of issues closed0.914
Pull requests closed without merging106
First-time contributors with a pull request decided in the last 30 days2
Pull requests from first-time contributors merged in the last 30 days5
Pull requests from first-time contributors decided in the last 30 days5
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
8.7/25Owner reach — 15 followers of phpmd
14.2/25Track record — 1 public repos, account ~15 yr old
Inputs used
Followers15
Owner account typeOrganization
Verified domainno
Owner accountphpmd
Public repositories1
Owner account age in days5,746

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on packagist
35/35Publish recency — latest publish 19 days ago
20/20Version history — 48 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagesphpmd/phpmd
Package ecosystemspackagist
Any package deprecated or yankedno
Days since latest package publish19

Engineering Quality

Are baseline engineering and documentation practices in place?

84Excellent · 19% of overall
How it's scored
24/24CI workflows — 9 workflow(s)
24/24Tests present
16/16Linter config — .php-cs-fixer.php, phpstan.neon
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 20 out of 20 merged PRs checked by a CI test -- score normalized to 10
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentyes
Linter config presentyes
Pre-commit config presentno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage site — https://phpmd.org
10/10Repository description
10/10Topics — 7 topics
10/10Wiki
Inputs used
Repository topicsmess-detector, php, pmd, static-analysis, static-analyzer, clean-code, hacktoberfest
Wiki enabledyes
Repository homepagehttps://phpmd.org
Documentation sitehttps://phpmd.org
README presentyes
Documentation directory presentno
Repository description presentyes

Security

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

62Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — no data
2.5/2.5CI-Tests — 20 out of 20 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
7.5/7.5Code-Review — all changesets reviewed
2.5/2.5Contributors — project has 56 contributing companies or organizations
0/10Dangerous-Workflow — no data
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 30 commit(s) and 11 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
6/7.5Signed-Releases — 5 out of the last 5 releases have a total of 5 signed artifacts.
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.2
Excluded from scoring (no data or not applicable): Branch-Protection, Dangerous-Workflow, Packaging, Pinned-Dependencies, Token-Permissions. Remaining weights renormalized.

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.

37Weak · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
23.5/40Legible commit history — 44 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.44
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
0/18One-command bootstrap
22/22Automated tests
11/11Lint / format config — .php-cs-fixer.php, phpstan.neon
0/11Static type checking
0/10Reproducible environment
2/10Demonstrated agent practice — 1 of the last 100 commits agent-authored or agent-credited
0/8Automated maintenance — no automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependencies — no data
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfiles—
Dockerfile presentno
Primary language statically typedno
One-command bootstrap files—
Dev container config presentno
Linter config presentyes
Static type-check config files—
Share of commits authored by or credited to coding agents0.01
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
55/55Manageable file sizes — 0/822 source files over 60KB
Inputs used
Primary languagePHP
Size of the largest source file (bytes)42,694
Source files sampled822
Oversized source files0

Key facts

2,464GitHub stars
100contributors
137commits, last 12 months
3days since last push
20releases
3bus factor
54open issues
Packagistpackage ecosystems

Data collection warnings

  • Star history unavailable
  • No resolved dependencies carried a version and a supported ecosystem

More detail

Star and fork history 0 ★ / 362 ⇿
0Stars
362Forks
20Releases

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.

012525037535552011-062019-022026-10
Major 1Minor 9Patch 8

Each point covers 15 days.

OpenSSF Scorecard 6.2 / 10
6.2aggregate

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-10-24 08:09 UTC

10Binary-Artifactsno binaries found in the repo
n/aBranch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
10CI-Tests20 out of 20 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
10Code-Reviewall changesets reviewed
10Contributorsproject has 56 contributing companies or organizations
n/aDangerous-Workflowno workflows found
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 11 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
8Signed-Releases5 out of the last 5 releases have a total of 5 signed artifacts.
n/aToken-PermissionsNo tokens found
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 4
RegistryPackageVersion constraintManifest
Packagistfidry/cpu-core-counter^1.2composer.json
Packagistpdepend/pdepend^3.0.0composer.json
Packagistsymfony/console^6.4|^7.0|^8.0composer.json
Packagistsymfony/yaml^5.4.31 || ^6.0 || ^7.0 || ^8.0composer.json
All dependencies 18

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

RegistryPackageVersionRelation
Packagistfidry/cpu-core-counter—direct
Packagistpdepend/pdepend—direct
Packagistsymfony/console—direct
Packagistsymfony/yaml—direct
Packagistbrianium/paratest—indirect
Packagistcomposer/xdebug-handler—indirect
Packagisteasy-doc/easy-doc—indirect
Packagistext-json—indirect
Packagistext-simplexml—indirect
Packagistext-xml—indirect
Packagistfriendsofphp/php-cs-fixer—indirect
Packagistgregwar/rst—indirect
Packagistmikey179/vfsstream—indirect
Packagistphp—indirect
Packagistphpstan/phpstan—indirect
Packagistphpunit/phpunit—indirect
Packagistshipmonk/dead-code-detector—indirect
Packagistsquizlabs/php_codesniffer—indirect
Dependency advisories not assessed

Advisory matching could not run for this report: No resolved dependencies carried a version and a supported ecosystem

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.