pmd7_2 took 11 seconds to run and found 25 violations
pmd7_3 took 13 seconds to run and found 25 violations
Among the 25 total comparisons:
Violation counts:
# | fileName | line | column | endLine | endColumn | engine | ruleName | severity | category | url | message |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | /src/classes/RevertUserEmailsBatchable.cls | 10 | 21 | 36 | 2 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc @description |
1 | /src/classes/RevertUserEmailsBatchable.cls | 10 | 21 | 36 | 2 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc @description |
2 | /src/classes/RevertUserEmailsBatchable.cls | 12 | 12 | 14 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
2 | /src/classes/RevertUserEmailsBatchable.cls | 12 | 12 | 14 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
3 | /src/classes/RevertUserEmailsBatchable.cls | 16 | 12 | 30 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
3 | /src/classes/RevertUserEmailsBatchable.cls | 16 | 12 | 30 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
4 | /src/classes/RevertUserEmailsBatchable.cls | 20 | 13 | 20 | 61 | 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 |
4 | /src/classes/RevertUserEmailsBatchable.cls | 20 | 13 | 20 | 61 | 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 |
5 | /src/classes/RevertUserEmailsBatchable.cls | 20 | 13 | 20 | 61 | 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. |
5 | /src/classes/RevertUserEmailsBatchable.cls | 20 | 13 | 20 | 61 | 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. |
6 | /src/classes/RevertUserEmailsBatchable.cls | 24 | 13 | 24 | 62 | 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 |
6 | /src/classes/RevertUserEmailsBatchable.cls | 24 | 13 | 24 | 62 | 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 |
7 | /src/classes/RevertUserEmailsBatchable.cls | 24 | 13 | 24 | 62 | 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. |
7 | /src/classes/RevertUserEmailsBatchable.cls | 24 | 13 | 24 | 62 | 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. |
8 | /src/classes/RevertUserEmailsBatchable.cls | 32 | 12 | 34 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
8 | /src/classes/RevertUserEmailsBatchable.cls | 32 | 12 | 34 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
9 | /src/classes/RevertUserEmailsBatchable.cls | 32 | 5 | 32 | 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. |
9 | /src/classes/RevertUserEmailsBatchable.cls | 32 | 5 | 32 | 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. |
10 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 7 | 8 | 19 | 2 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc @description |
10 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 7 | 8 | 19 | 2 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc @description |
11 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 7 | 1 | 7 | 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 |
11 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 7 | 1 | 7 | 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 |
12 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 7 | 8 | 19 | 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 |
12 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 7 | 8 | 19 | 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 |
13 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 9 | 12 | 17 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
13 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 9 | 12 | 17 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
14 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 11 | 9 | 11 | 71 | 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 |
14 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 11 | 9 | 11 | 71 | 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 |
15 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 11 | 9 | 11 | 71 | 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. |
15 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 11 | 9 | 11 | 71 | 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. |
16 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 12 | 9 | 12 | 61 | 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 |
16 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 12 | 9 | 12 | 61 | 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 |
17 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 12 | 9 | 12 | 61 | 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. |
17 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 12 | 9 | 12 | 61 | 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. |
18 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 13 | 9 | 13 | 65 | 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 |
18 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 13 | 9 | 13 | 65 | 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 |
19 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 13 | 9 | 13 | 65 | 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. |
19 | /src/classes/RevertUserEmailsSandboxPostCopy.cls | 13 | 9 | 13 | 65 | 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. |
20 | /src/classes/RevertUserEmailsSandboxPostCopyTest.cls | 7 | 12 | 41 | 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 'test_post_copy' doesn't match '[a-z][a-zA-Z0-9]*' |
20 | /src/classes/RevertUserEmailsSandboxPostCopyTest.cls | 7 | 12 | 41 | 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 'test_post_copy' doesn't match '[a-z][a-zA-Z0-9]*' |
21 | /src/classes/RevertUserEmailsSandboxPostCopyTest.cls | 28 | 13 | 28 | 30 | pmd | AvoidHardcodingId | 3 | Error Prone | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_errorprone.html#avoidhardcodingid | Hardcoding Ids is bound to break when changing environments. |
21 | /src/classes/RevertUserEmailsSandboxPostCopyTest.cls | 28 | 13 | 28 | 30 | pmd | AvoidHardcodingId | 3 | Error Prone | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_errorprone.html#avoidhardcodingid | Hardcoding Ids is bound to break when changing environments. |
22 | /src/classes/RevertUserEmailsSandboxPostCopyTest.cls | 29 | 13 | 29 | 30 | pmd | AvoidHardcodingId | 3 | Error Prone | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_errorprone.html#avoidhardcodingid | Hardcoding Ids is bound to break when changing environments. |
22 | /src/classes/RevertUserEmailsSandboxPostCopyTest.cls | 29 | 13 | 29 | 30 | pmd | AvoidHardcodingId | 3 | Error Prone | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_errorprone.html#avoidhardcodingid | Hardcoding Ids is bound to break when changing environments. |
23 | /src/classes/RevertUserEmailsSandboxPostCopyTest.cls | 36 | 9 | 36 | 68 | 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. |
23 | /src/classes/RevertUserEmailsSandboxPostCopyTest.cls | 36 | 9 | 36 | 68 | 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. |
24 | /src/classes/RevertUserEmailsSandboxPostCopyTest.cls | 39 | 9 | 39 | 68 | 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. |
24 | /src/classes/RevertUserEmailsSandboxPostCopyTest.cls | 39 | 9 | 39 | 68 | 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. |
25 | /src/classes/RevertUserEmailsSandboxPostCopyTest.cls | 43 | 20 | 58 | 6 | pmd | ExcessiveParameterList | 3 | Design | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#excessiveparameterlist | Avoid long parameter lists. |
25 | /src/classes/RevertUserEmailsSandboxPostCopyTest.cls | 43 | 20 | 58 | 6 | pmd | ExcessiveParameterList | 3 | Design | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#excessiveparameterlist | Avoid long parameter lists. |