pmd7_2 took 11 seconds to run and found 11 violations
pmd7_3 took 14 seconds to run and found 11 violations
Among the 11 total comparisons:
Violation counts:
# | fileName | line | column | endLine | endColumn | engine | ruleName | severity | category | url | message |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | /force-app/main/default/classes/LimitsSnapshotSchedule.cls | 1 | 21 | 6 | 2 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
1 | /force-app/main/default/classes/LimitsSnapshotSchedule.cls | 1 | 21 | 6 | 2 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
2 | /force-app/main/default/classes/LimitsSnapshotSchedule.cls | 1 | 21 | 6 | 2 | pmd | AvoidGlobalModifier | 3 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#avoidglobalmodifier | Avoid using global modifier |
2 | /force-app/main/default/classes/LimitsSnapshotSchedule.cls | 1 | 21 | 6 | 2 | pmd | AvoidGlobalModifier | 3 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#avoidglobalmodifier | Avoid using global modifier |
3 | /force-app/main/default/classes/LimitsSnapshotSchedule.cls | 2 | 10 | 5 | 4 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
3 | /force-app/main/default/classes/LimitsSnapshotSchedule.cls | 2 | 10 | 5 | 4 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
4 | /force-app/main/default/classes/LimitsSnapshotScheduleTest.cls | 4 | 10 | 8 | 4 | pmd | ApexUnitTestClassShouldHaveAsserts | 3 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexunittestclassshouldhaveasserts | Apex unit tests should System.assert() or assertEquals() or assertNotEquals() |
4 | /force-app/main/default/classes/LimitsSnapshotScheduleTest.cls | 4 | 10 | 8 | 4 | pmd | ApexUnitTestClassShouldHaveAsserts | 3 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexunittestclassshouldhaveasserts | Apex unit tests should System.assert() or assertEquals() or assertNotEquals() |
5 | /force-app/main/default/classes/LimitsUtil.cls | 1 | 21 | 43 | 2 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
5 | /force-app/main/default/classes/LimitsUtil.cls | 1 | 21 | 43 | 2 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
6 | /force-app/main/default/classes/LimitsUtil.cls | 2 | 17 | 33 | 4 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
6 | /force-app/main/default/classes/LimitsUtil.cls | 2 | 17 | 33 | 4 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
7 | /force-app/main/default/classes/LimitsUtil.cls | 11 | 25 | 15 | 6 | 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 |
7 | /force-app/main/default/classes/LimitsUtil.cls | 11 | 25 | 15 | 6 | 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 |
8 | /force-app/main/default/classes/LimitsUtil.cls | 31 | 5 | 31 | 22 | 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 |
8 | /force-app/main/default/classes/LimitsUtil.cls | 31 | 5 | 31 | 22 | 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 |
9 | /force-app/main/default/classes/LimitsUtil.cls | 32 | 5 | 32 | 27 | 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 |
9 | /force-app/main/default/classes/LimitsUtil.cls | 32 | 5 | 32 | 27 | 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 |
10 | /force-app/main/default/classes/LimitsUtil.cls | 35 | 17 | 40 | 4 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
10 | /force-app/main/default/classes/LimitsUtil.cls | 35 | 17 | 40 | 4 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
11 | /force-app/main/default/classes/LimitsUtil.cls | 42 | 31 | 42 | 107 | pmd | FieldDeclarationsShouldBeAtStart | 3 | Code Style | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#fielddeclarationsshouldbeatstart | Field declaration for 'INVALID_LIMIT' should be before method declarations in its class |
11 | /force-app/main/default/classes/LimitsUtil.cls | 42 | 31 | 42 | 107 | pmd | FieldDeclarationsShouldBeAtStart | 3 | Code Style | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#fielddeclarationsshouldbeatstart | Field declaration for 'INVALID_LIMIT' should be before method declarations in its class |