pmd7_2 took 11 seconds to run and found 34 violations
pmd7_3 took 14 seconds to run and found 33 violations
Among the 34 total comparisons:
Violation counts:
# | fileName | line | column | endLine | endColumn | engine | ruleName | severity | category | url | message |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | /force-app/main/default/classes/FlowAction.cls | 3 | 21 | 14 | 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/FlowAction.cls | 3 | 21 | 14 | 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/FlowAction.cls | 5 | 17 | 13 | 4 | 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/FlowAction.cls | 5 | 17 | 13 | 4 | 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/FlowAction.cls | 7 | 30 | 7 | 73 | 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 |
3 | /force-app/main/default/classes/FlowAction.cls | 7 | 30 | 7 | 73 | 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 |
4 | /force-app/main/default/classes/FlowAction.cls | 11 | 22 | 11 | 54 | 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 |
4 | /force-app/main/default/classes/FlowAction.cls | 11 | 22 | 11 | 54 | 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 |
5 | /force-app/main/default/classes/FlowAction.cls | 11 | 18 | 11 | 54 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 's' defined but not used |
5 | /force-app/main/default/classes/FlowAction.cls | 11 | 18 | 11 | 54 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 's' defined but not used |
6 | /force-app/main/default/classes/InboundEmailHandler.cls | 1 | 8 | 6 | 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/InboundEmailHandler.cls | 1 | 8 | 6 | 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/InboundEmailHandler.cls | 1 | 8 | 6 | 4 | 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 |
7 | /force-app/main/default/classes/InboundEmailHandler.cls | 1 | 8 | 6 | 4 | 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 |
8 | /force-app/main/default/classes/InboundEmailHandler.cls | 2 | 11 | 5 | 8 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
8 | /force-app/main/default/classes/InboundEmailHandler.cls | 2 | 11 | 5 | 8 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
9 | /force-app/main/default/classes/MyController.cls | 1 | 21 | 9 | 2 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
9 | /force-app/main/default/classes/MyController.cls | 1 | 21 | 9 | 2 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
10 | /force-app/main/default/classes/MyController.cls | 2 | 12 | 8 | 6 | 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/MyController.cls | 2 | 12 | 8 | 6 | 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/MyController.cls | 3 | 23 | 3 | 80 | 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 |
11 | /force-app/main/default/classes/MyController.cls | 3 | 23 | 3 | 80 | 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 |
12 | /force-app/main/default/classes/MyController.cls | 3 | 19 | 3 | 80 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'w' defined but not used |
12 | /force-app/main/default/classes/MyController.cls | 3 | 19 | 3 | 80 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'w' defined but not used |
13 | /force-app/main/default/classes/MyController.cls | 4 | 16 | 4 | 33 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'test' defined but not used |
13 | /force-app/main/default/classes/MyController.cls | 4 | 16 | 4 | 33 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'test' defined but not used |
14 | /force-app/main/default/classes/MyController.cls | 5 | 22 | 5 | 58 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'setting' defined but not used |
14 | /force-app/main/default/classes/MyController.cls | 5 | 22 | 5 | 58 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'setting' defined but not used |
15 | /force-app/main/default/classes/MyController.cls | 6 | 37 | 6 | 95 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'x' defined but not used |
15 | /force-app/main/default/classes/MyController.cls | 6 | 37 | 6 | 95 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'x' defined but not used |
16 | /force-app/main/default/classes/MyController.cls | 7 | 23 | 7 | 38 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'p' defined but not used |
16 | /force-app/main/default/classes/MyController.cls | 7 | 23 | 7 | 38 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'p' defined but not used |
17 | /force-app/main/default/classes/MyTest.cls | 4 | 20 | 7 | 6 | 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() |
17 | /force-app/main/default/classes/MyTest.cls | 4 | 20 | 7 | 6 | 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() |
18 | /force-app/main/default/classes/MyTest.cls | 4 | 20 | 7 | 6 | pmd | MethodNamingConventions | 1 | Code Style | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#methodnamingconventions | The test method name 'MyTest' doesn't match '[a-z][a-zA-Z0-9]*' |
18 | /force-app/main/default/classes/MyTest.cls | 4 | 20 | 7 | 6 | pmd | MethodNamingConventions | 1 | Code Style | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#methodnamingconventions | The test method name 'MyTest' doesn't match '[a-z][a-zA-Z0-9]*' |
19 | /force-app/main/default/classes/MyTest.cls | 4 | 20 | 7 | 6 | pmd | MethodWithSameNameAsEnclosingClass | 3 | Error Prone | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_errorprone.html#methodwithsamenameasenclosingclass | Classes should not have non-constructor methods with the same name as the class |
19 | /force-app/main/default/classes/MyTest.cls | 4 | 20 | 7 | 6 | pmd | MethodWithSameNameAsEnclosingClass | 3 | Error Prone | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_errorprone.html#methodwithsamenameasenclosingclass | Classes should not have non-constructor methods with the same name as the class |
20 | /force-app/main/default/classes/MyTest.cls | 5 | 22 | 5 | 47 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'ctlr' defined but not used |
20 | /force-app/main/default/classes/MyTest.cls | 5 | 22 | 5 | 47 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'ctlr' defined but not used |
21 | /force-app/main/default/classes/MyTest.cls | 6 | 43 | 6 | 44 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 's' defined but not used |
21 | /force-app/main/default/classes/MyTest.cls | 6 | 43 | 6 | 44 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 's' defined but not used |
22 | /force-app/main/default/classes/SomeCode.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 |
22 | /force-app/main/default/classes/SomeCode.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 |
23 | /force-app/main/default/classes/SomeCode.cls | 2 | 12 | 5 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
23 | /force-app/main/default/classes/SomeCode.cls | 2 | 12 | 5 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
24 | /force-app/main/default/classes/SomeCode.cls | 3 | 17 | 3 | 28 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'acct' defined but not used |
24 | /force-app/main/default/classes/SomeCode.cls | 3 | 17 | 3 | 28 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'acct' defined but not used |
25 | /force-app/main/default/classes/SomeCode.cls | 4 | 19 | 4 | 32 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'widget' defined but not used |
25 | /force-app/main/default/classes/SomeCode.cls | 4 | 19 | 4 | 32 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'widget' defined but not used |
26 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 1 | 8 | 20 | 2 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
26 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 1 | 8 | 20 | 2 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
27 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 1 | 1 | 1 | 7 | pmd | ApexSharingViolations | 3 | Security | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_security.html#apexsharingviolations | Apex classes should declare a sharing model if DML or SOQL/SOSL is used |
27 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 1 | 1 | 1 | 7 | pmd | ApexSharingViolations | 3 | Security | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_security.html#apexsharingviolations | Apex classes should declare a sharing model if DML or SOQL/SOSL is used |
28 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 1 | 8 | 20 | 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 |
28 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 1 | 8 | 20 | 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 |
29 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 5 | 25 | 5 | 54 | pmd | FieldNamingConventions | 1 | Code Style | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#fieldnamingconventions | The static field name 'CRON_EXP' doesn't match '[a-z][a-zA-Z0-9]*' |
29 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 5 | 25 | 5 | 54 | pmd | FieldNamingConventions | 1 | Code Style | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#fieldnamingconventions | The static field name 'CRON_EXP' doesn't match '[a-z][a-zA-Z0-9]*' |
30 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 7 | 11 | 19 | 5 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
30 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 7 | 11 | 19 | 5 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
31 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 8 | 24 | 9 | 65 | 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 |
31 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 8 | 24 | 9 | 65 | 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 |
32 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 15 | 19 | 16 | 53 | 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 |
32 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 15 | 19 | 16 | 53 | 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 |
33 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 18 | 7 | 18 | 16 | 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 |
33 | /force-app/main/default/classes/TestScheduledApexFromTestMethod.cls | 18 | 7 | 18 | 16 | 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 |
34 | /force-app/main/default/triggers/WidgetTrigger.trigger | 2 | 19 | 2 | 68 | 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 |
0 | 0 | 0 | 0 | 0 | 0 |