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/DemoController.cls | 1 | 21 | 29 | 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/DemoController.cls | 1 | 21 | 29 | 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/DemoController.cls | 5 | 12 | 5 | 31 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc @description |
2 | /force-app/main/default/classes/DemoController.cls | 5 | 12 | 5 | 31 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc @description |
3 | /force-app/main/default/classes/DemoController.cls | 5 | 5 | 5 | 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/DemoController.cls | 5 | 5 | 5 | 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/DemoController.cls | 10 | 12 | 21 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc @description |
4 | /force-app/main/default/classes/DemoController.cls | 10 | 12 | 21 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc @description |
5 | /force-app/main/default/classes/DemoController.cls | 10 | 12 | 21 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing or mismatched ApexDoc @param |
5 | /force-app/main/default/classes/DemoController.cls | 10 | 12 | 21 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing or mismatched ApexDoc @param |
6 | /force-app/main/default/classes/DemoController.cls | 16 | 34 | 16 | 93 | 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 |
6 | /force-app/main/default/classes/DemoController.cls | 16 | 34 | 16 | 93 | 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 |
7 | /force-app/main/default/classes/DemoController.cls | 26 | 12 | 28 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc @description |
7 | /force-app/main/default/classes/DemoController.cls | 26 | 12 | 28 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc @description |
8 | /force-app/main/default/classes/DemoController.cls | 26 | 12 | 28 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc @return |
8 | /force-app/main/default/classes/DemoController.cls | 26 | 12 | 28 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc @return |
9 | /force-app/test/default/classes/DemoControllerTests.cls | 11 | 21 | 11 | 89 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'demo' defined but not used |
9 | /force-app/test/default/classes/DemoControllerTests.cls | 11 | 21 | 11 | 89 | pmd | UnusedLocalVariable | 5 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable | Variable 'demo' defined but not used |
10 | /force-app/test/default/classes/DemoControllerTests.cls | 12 | 6 | 12 | 88 | pmd | ApexAssertionsShouldIncludeMessage | 3 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage | 'System.assertEquals' should have 3 parameters. |
10 | /force-app/test/default/classes/DemoControllerTests.cls | 12 | 6 | 12 | 88 | pmd | ApexAssertionsShouldIncludeMessage | 3 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage | 'System.assertEquals' should have 3 parameters. |
11 | /force-app/test/default/classes/DemoControllerTests.cls | 17 | 9 | 17 | 59 | pmd | ApexAssertionsShouldIncludeMessage | 3 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage | 'System.assertEquals' should have 3 parameters. |
11 | /force-app/test/default/classes/DemoControllerTests.cls | 17 | 9 | 17 | 59 | pmd | ApexAssertionsShouldIncludeMessage | 3 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage | 'System.assertEquals' should have 3 parameters. |