{"adoption": {"forks": 1589, "observed_at": "2026-08-28T04:09:19.632709+00:00", "stars": 5473}, "canonical_url": "https://ross.abutalabs.com/products/pmd", "card": {"archived": false, "artifact_type": "cli-tool", "description": "An extensible multilanguage static code analyzer.", "domain": ["developer-tools", "programming-languages", "testing"], "enriched": true, "function": ["linter", "parser", "developer-tools", "code-review"], "health_score": 99, "homepage": "https://pmd.github.io", "language": "Java", "license": "NOASSERTION", "license_family": "other", "maturity": "stable", "member_repos": ["pmd/pmd"], "name": "pmd/pmd", "platform": ["jvm", "cross-platform", "cli"], "pushed_at": "2026-08-26T03:53:26+00:00", "repo": "pmd/pmd", "stars": 5473, "tags": ["static-analysis", "code-quality", "cpd", "duplicate-code-detection", "custom-rules", "xpath-rules", "apex", "plsql", "swift", "kotlin", "docker"], "topics": ["code-analysis", "code-quality", "static-analysis", "static-code-analysis", "linter", "java", "apex", "plsql", "swift", "hacktoberfest"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pmd", "repo": "pmd/pmd", "role": "main", "score": 96}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.632709+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:56:43.549478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0868792a502240b8ab870271943150b7dff3ef152900557f542c6ec85dc347cf", "fetched_at": "2026-08-28T04:09:19.632709+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmd/pmd"}, {"content_hash": "d086b2ce7a808e3bb29c7123336435740270b8ff72cc3c8a5ea89f77c8a37b2b", "fetched_at": "2026-08-29T08:51:42.059375+00:00", "kind": "homepage", "missing": false, "url": "https://pmd.github.io"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.632709+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:56:43.549478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0868792a502240b8ab870271943150b7dff3ef152900557f542c6ec85dc347cf", "fetched_at": "2026-08-28T04:09:19.632709+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmd/pmd"}, {"content_hash": "d086b2ce7a808e3bb29c7123336435740270b8ff72cc3c8a5ea89f77c8a37b2b", "fetched_at": "2026-08-29T08:51:42.059375+00:00", "kind": "homepage", "missing": false, "url": "https://pmd.github.io"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:56:43.549478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0868792a502240b8ab870271943150b7dff3ef152900557f542c6ec85dc347cf", "fetched_at": "2026-08-28T04:09:19.632709+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmd/pmd"}, {"content_hash": "d086b2ce7a808e3bb29c7123336435740270b8ff72cc3c8a5ea89f77c8a37b2b", "fetched_at": "2026-08-29T08:51:42.059375+00:00", "kind": "homepage", "missing": false, "url": "https://pmd.github.io"}], "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:09:19.632709+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.632709+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.632709+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:56:43.549478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0868792a502240b8ab870271943150b7dff3ef152900557f542c6ec85dc347cf", "fetched_at": "2026-08-28T04:09:19.632709+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmd/pmd"}, {"content_hash": "d086b2ce7a808e3bb29c7123336435740270b8ff72cc3c8a5ea89f77c8a37b2b", "fetched_at": "2026-08-29T08:51:42.059375+00:00", "kind": "homepage", "missing": false, "url": "https://pmd.github.io"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.632709+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.632709+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:56:43.549478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0868792a502240b8ab870271943150b7dff3ef152900557f542c6ec85dc347cf", "fetched_at": "2026-08-28T04:09:19.632709+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmd/pmd"}, {"content_hash": "d086b2ce7a808e3bb29c7123336435740270b8ff72cc3c8a5ea89f77c8a37b2b", "fetched_at": "2026-08-29T08:51:42.059375+00:00", "kind": "homepage", "missing": false, "url": "https://pmd.github.io"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.632709+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.632709+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.632709+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:56:43.549478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0868792a502240b8ab870271943150b7dff3ef152900557f542c6ec85dc347cf", "fetched_at": "2026-08-28T04:09:19.632709+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmd/pmd"}, {"content_hash": "d086b2ce7a808e3bb29c7123336435740270b8ff72cc3c8a5ea89f77c8a37b2b", "fetched_at": "2026-08-29T08:51:42.059375+00:00", "kind": "homepage", "missing": false, "url": "https://pmd.github.io"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.632709+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:19.632709+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:56:43.549478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0868792a502240b8ab870271943150b7dff3ef152900557f542c6ec85dc347cf", "fetched_at": "2026-08-28T04:09:19.632709+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmd/pmd"}, {"content_hash": "d086b2ce7a808e3bb29c7123336435740270b8ff72cc3c8a5ea89f77c8a37b2b", "fetched_at": "2026-08-29T08:51:42.059375+00:00", "kind": "homepage", "missing": false, "url": "https://pmd.github.io"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:56:43.549478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0868792a502240b8ab870271943150b7dff3ef152900557f542c6ec85dc347cf", "fetched_at": "2026-08-28T04:09:19.632709+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmd/pmd"}, {"content_hash": "d086b2ce7a808e3bb29c7123336435740270b8ff72cc3c8a5ea89f77c8a37b2b", "fetched_at": "2026-08-29T08:51:42.059375+00:00", "kind": "homepage", "missing": false, "url": "https://pmd.github.io"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:56:43.549478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0868792a502240b8ab870271943150b7dff3ef152900557f542c6ec85dc347cf", "fetched_at": "2026-08-28T04:09:19.632709+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmd/pmd"}, {"content_hash": "d086b2ce7a808e3bb29c7123336435740270b8ff72cc3c8a5ea89f77c8a37b2b", "fetched_at": "2026-08-29T08:51:42.059375+00:00", "kind": "homepage", "missing": false, "url": "https://pmd.github.io"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:56:43.549478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0868792a502240b8ab870271943150b7dff3ef152900557f542c6ec85dc347cf", "fetched_at": "2026-08-28T04:09:19.632709+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pmd/pmd"}, {"content_hash": "d086b2ce7a808e3bb29c7123336435740270b8ff72cc3c8a5ea89f77c8a37b2b", "fetched_at": "2026-08-29T08:51:42.059375+00:00", "kind": "homepage", "missing": false, "url": "https://pmd.github.io"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 90}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5166, "days_push": 7, "days_rel": 65, "gap_med": 28.0, "n_releases_24m": 21}, "score": 96, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}