pmd7_2 took 11 seconds to run and found 8 violations
pmd7_3 took 13 seconds to run and found 8 violations
Among the 8 total comparisons:
Violation counts:
# | fileName | line | column | endLine | endColumn | engine | ruleName | severity | category | url | message |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | /force-app/main/default/classes/Demo.cls | 1 | 21 | 11 | 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/Demo.cls | 1 | 21 | 11 | 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/Demo.cls | 3 | 17 | 10 | 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/Demo.cls | 3 | 17 | 10 | 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/Demo.cls | 3 | 17 | 10 | 4 | pmd | MethodNamingConventions | 1 | Code Style | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#methodnamingconventions | The static method name 'Demo' doesn't match '[a-z][a-zA-Z0-9]*' |
3 | /force-app/main/default/classes/Demo.cls | 3 | 17 | 10 | 4 | pmd | MethodNamingConventions | 1 | Code Style | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#methodnamingconventions | The static method name 'Demo' doesn't match '[a-z][a-zA-Z0-9]*' |
4 | /force-app/main/default/classes/Demo.cls | 3 | 17 | 10 | 4 | 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 |
4 | /force-app/main/default/classes/Demo.cls | 3 | 17 | 10 | 4 | 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 |
5 | /force-app/main/default/classes/Demo.cls | 7 | 7 | 7 | 34 | pmd | AvoidDebugStatements | 3 | Performance | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_performance.html#avoiddebugstatements | Avoid debug statements since they impact on performance |
5 | /force-app/main/default/classes/Demo.cls | 7 | 7 | 7 | 34 | pmd | AvoidDebugStatements | 3 | Performance | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_performance.html#avoiddebugstatements | Avoid debug statements since they impact on performance |
6 | /force-app/main/default/classes/Demo.cls | 7 | 7 | 7 | 34 | pmd | DebugsShouldUseLoggingLevel | 3 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#debugsshoulduselogginglevel | Calls to System.debug should specify a logging level. |
6 | /force-app/main/default/classes/Demo.cls | 7 | 7 | 7 | 34 | pmd | DebugsShouldUseLoggingLevel | 3 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#debugsshoulduselogginglevel | Calls to System.debug should specify a logging level. |
7 | /force-app/main/default/classes/Demo_Test.cls | 3 | 21 | 8 | 4 | pmd | ApexUnitTestMethodShouldHaveIsTestAnnotation | 3 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexunittestmethodshouldhaveistestannotation | Apex test methods should have @isTest annotation. |
7 | /force-app/main/default/classes/Demo_Test.cls | 3 | 21 | 8 | 4 | pmd | ApexUnitTestMethodShouldHaveIsTestAnnotation | 3 | Best Practices | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexunittestmethodshouldhaveistestannotation | Apex test methods should have @isTest annotation. |
8 | /force-app/main/default/classes/Demo_Test.cls | 7 | 5 | 7 | 44 | 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. |
8 | /force-app/main/default/classes/Demo_Test.cls | 7 | 5 | 7 | 44 | 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. |