pmd icon indicating copy to clipboard operation
pmd copied to clipboard

An extensible multilanguage static code analyzer.

Results 629 pmd issues
Sort by recently updated
recently updated
newest added

**Affects PMD Version:** 6.48.0 (but works fine in 5.8.1) **Rule:** [UnnecessaryImports](https://pmd.github.io/latest/pmd_rules_java_codestyle.html#unnecessaryimport) **Description:** Nested classes (non-static and static) can be imported using on-demand import and static nested classes can be imported...

a:false-positive

I think it would be nicer to have a single command `pmd` with various subcommands, instead of shipping a `run.sh` + 5 batch scripts. Eg `pmd designer`, `pmd ast-dump`, `pmd...

an:enhancement
in:cli

## Describe the PR - remembers the language for each file, which is added via FileCollector.addFile(Path, Language) - uses a new internal LanguageAwareDataSource interface to have a DataSource with a...

**Is your feature request related to a problem? Please describe.** Currently the PMD and CPD Ant tasks are implemented in pmd-core. This adds dependencies to pmd-core, which could essentially be...

an:enhancement
dependencies

**Is your feature request related to a problem? Please describe.** Currently the PMD and CPD CLI are implemented in pmd-core. This adds dependencies to pmd-core, which could essentially be a...

an:enhancement
in:cli
dependencies

Part of #2524 Rationale: In order to make it easier to integrate PMD into other tools, it might be better to use the de-facto-standard [slf4j](https://www.slf4j.org/). We could then provide some...

an:enhancement
in:pmd-internals
dependencies

**Affects PMD Version:6.47.0** **Rule:UseStringBufferForStringAppends** Please provide the rule name and a link to the rule documentation: **Description:** Hi, we are doing research in testing static analyzer. Our approach found a...

a:false-positive

**Is your feature request related to a problem? Please describe.** PMD utilizes the Apex Jorje library to parse Apex source and generate an AST. The fact that this library is...

an:enhancement
in:grammar

I am using Snyk on my public repos and a PMD fork is one of them. Snyk is constantly detecting vulnerabilities and proposing PRs to fix them. See this page...

an:enhancement

**Affects PMD Version:** PMD 6.47.0 **Description:** The PMD CLI option `--short-names` is expected to print shortned filenames, however the filenames are printed in absolute format. This feature was working fine...

a:bug