pmd7_2 took 11 seconds to run and found 6 violations
pmd7_3 took 14 seconds to run and found 6 violations
Among the 6 total comparisons:
Violation counts:
# | fileName | line | column | endLine | endColumn | engine | ruleName | severity | category | url | message |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | /force-app/main/default/classes/DXDemoController.cls | 33 | 7 | 33 | 25 | pmd | ApexCRUDViolation | 3 | Security | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_security.html#apexcrudviolation | Validate CRUD permission before SOQL/DML operation or enforce user mode |
1 | /force-app/main/default/classes/DXDemoController.cls | 33 | 7 | 33 | 25 | pmd | ApexCRUDViolation | 3 | Security | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_security.html#apexcrudviolation | Validate CRUD permission before SOQL/DML operation or enforce user mode |
2 | /force-app/main/default/classes/SLDSPageMessagesController.cls | 8 | 12 | 8 | 43 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
2 | /force-app/main/default/classes/SLDSPageMessagesController.cls | 8 | 12 | 8 | 43 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
3 | /force-app/main/default/classes/SLDSPageMessagesController.cls | 8 | 5 | 8 | 11 | pmd | EmptyStatementBlock | 3 | Error Prone | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_errorprone.html#emptystatementblock | Avoid empty block statements. |
3 | /force-app/main/default/classes/SLDSPageMessagesController.cls | 8 | 5 | 8 | 11 | pmd | EmptyStatementBlock | 3 | Error Prone | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_errorprone.html#emptystatementblock | Avoid empty block statements. |
4 | /force-app/main/default/classes/SLDSPageMessagesController.cls | 53 | 58 | 59 | 6 | pmd | FieldDeclarationsShouldBeAtStart | 3 | Code Style | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#fielddeclarationsshouldbeatstart | Field declaration for 'severityToThemeMap' should be before method declarations in its class |
4 | /force-app/main/default/classes/SLDSPageMessagesController.cls | 53 | 58 | 59 | 6 | pmd | FieldDeclarationsShouldBeAtStart | 3 | Code Style | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#fielddeclarationsshouldbeatstart | Field declaration for 'severityToThemeMap' should be before method declarations in its class |
5 | /force-app/main/default/classes/SLDSPageMessagesController.cls | 53 | 58 | 59 | 6 | pmd | FieldNamingConventions | 1 | Code Style | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#fieldnamingconventions | The constant field name 'severityToThemeMap' doesn't match '[A-Z][A-Z0-9_]*' |
5 | /force-app/main/default/classes/SLDSPageMessagesController.cls | 53 | 58 | 59 | 6 | pmd | FieldNamingConventions | 1 | Code Style | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#fieldnamingconventions | The constant field name 'severityToThemeMap' doesn't match '[A-Z][A-Z0-9_]*' |
6 | /force-app/main/default/components/SLDSPageMessages.component | 11 | 30 | 11 | 40 | pmd | VfUnescapeEl | 3 | Security | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_visualforce_security.html#vfunescapeel | Avoid unescaped user controlled content in EL |
6 | /force-app/main/default/components/SLDSPageMessages.component | 11 | 30 | 11 | 40 | pmd | VfUnescapeEl | 3 | Security | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_visualforce_security.html#vfunescapeel | Avoid unescaped user controlled content in EL |