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.18.0+ 7.0.0 **Rule:** [NoClassAttribute](https://pmd.github.io/latest/pmd_rules_jsp_bestpractices.html#noclassattribute) **Description:** The rule generates an error for a jsp:usebean tag whose "class" is specified. **Code Sample demonstrating the issue:** In JSP page: ```jsp...

good first issue
a:false-positive

**Affects PMD Version:** 6.33.0+ 7.0.0 [GlobalVariable](https://pmd.github.io/latest/pmd_rules_ecmascript_bestpractices.html#globalvariable) check fails although value is set correctly, when a "async function" is used and the variable is declarated with var/let. **Code Sample demonstrating the...

a:false-positive

**Affects PMD Version:** 6.53.0 **Rule:** Error Prone: [InnaccurateNumericLiteral](https://pmd.sourceforge.io/pmd-6.5.0/pmd_rules_ecmascript_errorprone.html#innaccuratenumericliteral) **Description:** **Code Sample demonstrating the issue:** ```js const x = 1e3; ``` **Running PMD through:** *Codacy* ![image](https://user-images.githubusercontent.com/78568641/213679394-b04b5035-01ed-40b5-a42b-aaccf332cfbb.png)

a:false-positive

**Affects PMD Version:** 6.38 **Rule:** ApexCRUDViolation Please provide the rule name and a link to the rule documentation: **Description:** PMD is reporting an error when checking if it possible to...

a:false-positive

**Affects PMD Version:** 5.5.3+ 6.0.0+ 7.0.0 **Rule:** [ApexCRUDViolation](https://pmd.github.io/latest/pmd_rules_apex_security.html#apexcrudviolation) **Description:** When a query is issued inside a map constructor the CRUD check is not enforced **Code Sample demonstrating the issue:** ```...

a:false-negative

**Affects PMD Version:** 5.5.3+ 6.0.0+ 7.0.0 **Rule:** [ApexCRUDViolation](https://pmd.github.io/latest/pmd_rules_apex_security.html#apexcrudviolation) **Description:** When working with other datatypes beside a specific sObject or a List, inline operations in the DML statement fail to report...

a:false-negative

**Affects PMD Version:** 6.22+ 7.0.0 **Rule:** https://pmd.github.io/latest/pmd_rules_apex_security.html#apexcrudviolation **Description:** When querying for data from a child object via the relation name, the rule is searching for a check of that exact...

a:false-positive

Affects PMD 7.0.0 **Rule:** [ApexCRUDViolation](https://pmd.github.io/latest/pmd_rules_apex_security.html#apexcrudviolation) **Description:** The ApexCRUDViolation rule does not report on potential CRUD violations if they are using the Database library to perform queries or DML, for example:...

a:false-negative

**Affects PMD Version:** 7.1.0 **Description:** ``` Parsing failed in ParseLock#doParse() java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 2 ``` **Exception Stacktrace:** ``` [ERROR] Parsing failed in ParseLock#doParse() java.lang.IndexOutOfBoundsException: Index...

a:bug

## Describe the PR Adds ignore literals and ignore identifiers capability to c++ cpd. ## Related issues - Refs #4835 ## Ready? - [ ] Added unit tests for fixed...

an:enhancement
in:cpd