Ross ROSS = Recommend OSS · open-source software intelligence for agents

pmd/pmd

An extensible multilanguage static code analyzer. observed · 2026-08-28

github.com/pmd/pmd · homepage · Java · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

96/100

  • Activity 99
  • Release rhythm 90
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 28.0
  • age_days: 5166
  • days_rel: 65
  • days_push: 7
  • n_releases_24m: 21

Full methodology

Adoption not part of the score

5473 stars · 1589 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

PMD is an extensible multilanguage static code analyzer that finds common programming flaws like unused variables, empty catch blocks, and unnecessary object creation. It parses source files into ASTs using JavaCC and Antlr, runs 400+ built-in rules (extensible via Java or XPath), and includes CPD, a copy-paste detector for duplicated code.

Use cases

  • find unused variables and empty catch blocks in java code
  • detect copy-pasted duplicated code across a codebase
  • lint salesforce apex code
  • enforce code quality rules in a ci pipeline
  • write custom static analysis rules with xpath
  • analyze plsql or swift code for common flaws

When to choose

  • you need a mature, extensible static analyzer for java or apex
  • you want duplicate code detection across many languages
  • you need custom rules written in java or xpath
  • you want a cross-platform cli tool with docker support

When to avoid

  • you need dynamic runtime analysis or profiling rather than static checks
  • your language is not among the supported ones
  • you want an ide-integrated linter with auto-fix capabilities

Facets

cli-tool · maturity stable

linter parser developer-tools code-review developer-tools programming-languages testing jvm cross-platform cli static-analysis code-quality cpd duplicate-code-detection custom-rules xpath-rules apex plsql swift kotlin docker

2 sources

Member repositories

RepositoryRoleHealth v2
pmd/pmdmain96

For agents

markdown · JSON · MCP: product_card(name="pmd/pmd")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem