pmd
pmd copied to clipboard
An extensible multilanguage static code analyzer.
**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...
**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...
**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* 
**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...
**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:** ```...
**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...
**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...
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:...
**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...
## Describe the PR Adds ignore literals and ignore identifiers capability to c++ cpd. ## Related issues - Refs #4835 ## Ready? - [ ] Added unit tests for fixed...