Comparison results for https://github.com/benedwards44/sf-mc-subscription-sync.git

pmd7_2 took 11 seconds to run and found 28 violations

pmd7_3 took 14 seconds to run and found 28 violations

Among the 28 total comparisons:

Violation counts:

# fileName line column endLine endColumn engine ruleName severity category url message
1 /src/classes/mc_SubscriptionSyncBatch.cls 8 8 113 2 pmd ClassNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#classnamingconventions The class name 'mc_SubscriptionSyncBatch' doesn't match '[A-Z][a-zA-Z0-9_]*'
1 /src/classes/mc_SubscriptionSyncBatch.cls 8 8 113 2 pmd ClassNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#classnamingconventions The class name 'mc_SubscriptionSyncBatch' doesn't match '[A-Z][a-zA-Z0-9_]*'
2 /src/classes/mc_SubscriptionSyncBatch.cls 14 9 18 3 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/mc_SubscriptionSyncBatch.cls 14 9 18 3 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/mc_SubscriptionSyncBatch.cls 25 9 29 3 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/mc_SubscriptionSyncBatch.cls 25 9 29 3 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/mc_SubscriptionSyncBatch.cls 25 37 25 65 pmd FormalParameterNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#formalparameternamingconventions The method parameter name 'BC' doesn't match '[a-z][a-zA-Z0-9]*'
4 /src/classes/mc_SubscriptionSyncBatch.cls 25 37 25 65 pmd FormalParameterNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#formalparameternamingconventions The method parameter name 'BC' doesn't match '[a-z][a-zA-Z0-9]*'
5 /src/classes/mc_SubscriptionSyncBatch.cls 32 9 58 3 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
5 /src/classes/mc_SubscriptionSyncBatch.cls 32 9 58 3 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
6 /src/classes/mc_SubscriptionSyncBatch.cls 32 22 32 50 pmd FormalParameterNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#formalparameternamingconventions The method parameter name 'BC' doesn't match '[a-z][a-zA-Z0-9]*'
6 /src/classes/mc_SubscriptionSyncBatch.cls 32 22 32 50 pmd FormalParameterNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#formalparameternamingconventions The method parameter name 'BC' doesn't match '[a-z][a-zA-Z0-9]*'
7 /src/classes/mc_SubscriptionSyncBatch.cls 61 9 61 53 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
7 /src/classes/mc_SubscriptionSyncBatch.cls 61 9 61 53 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
8 /src/classes/mc_SubscriptionSyncBatch.cls 61 2 61 8 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.
8 /src/classes/mc_SubscriptionSyncBatch.cls 61 2 61 8 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.
9 /src/classes/mc_SubscriptionSyncBatch.cls 61 21 61 49 pmd FormalParameterNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#formalparameternamingconventions The method parameter name 'BC' doesn't match '[a-z][a-zA-Z0-9]*'
9 /src/classes/mc_SubscriptionSyncBatch.cls 61 21 61 49 pmd FormalParameterNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#formalparameternamingconventions The method parameter name 'BC' doesn't match '[a-z][a-zA-Z0-9]*'
10 /src/classes/mc_SubscriptionSyncBatch.cls 68 9 73 3 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
10 /src/classes/mc_SubscriptionSyncBatch.cls 68 9 73 3 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
11 /src/classes/mc_SubscriptionSyncBatch.cls 81 10 111 3 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @return
11 /src/classes/mc_SubscriptionSyncBatch.cls 81 10 111 3 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @return
12 /src/classes/mc_SubscriptionSyncBatch.cls 81 10 111 3 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
12 /src/classes/mc_SubscriptionSyncBatch.cls 81 10 111 3 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
13 /src/classes/mc_SubscriptionSyncBatch.cls 107 4 107 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
13 /src/classes/mc_SubscriptionSyncBatch.cls 107 4 107 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
14 /src/classes/mc_SubscriptionSyncBatch.cls 107 4 107 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.
14 /src/classes/mc_SubscriptionSyncBatch.cls 107 4 107 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.
15 /src/classes/mc_SubscriptionSyncBatchTest.cls 9 8 67 2 pmd ClassNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#classnamingconventions The test class name 'mc_SubscriptionSyncBatchTest' doesn't match '[A-Z][a-zA-Z0-9_]*'
15 /src/classes/mc_SubscriptionSyncBatchTest.cls 9 8 67 2 pmd ClassNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#classnamingconventions The test class name 'mc_SubscriptionSyncBatchTest' doesn't match '[A-Z][a-zA-Z0-9_]*'
16 /src/classes/mc_SubscriptionSyncBatchTest.cls 17 9 30 3 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()
16 /src/classes/mc_SubscriptionSyncBatchTest.cls 17 9 30 3 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()
17 /src/classes/mc_SubscriptionSyncBatchTest.cls 38 9 54 3 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 /src/classes/mc_SubscriptionSyncBatchTest.cls 38 9 54 3 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 /src/classes/mc_SubscriptionSyncBatchTest.cls 62 9 65 3 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()
18 /src/classes/mc_SubscriptionSyncBatchTest.cls 62 9 65 3 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()
19 /src/classes/mc_SubscriptionSyncHandler.cls 8 1 8 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
19 /src/classes/mc_SubscriptionSyncHandler.cls 8 1 8 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
20 /src/classes/mc_SubscriptionSyncHandler.cls 8 8 49 2 pmd ClassNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#classnamingconventions The class name 'mc_SubscriptionSyncHandler' doesn't match '[A-Z][a-zA-Z0-9_]*'
20 /src/classes/mc_SubscriptionSyncHandler.cls 8 8 49 2 pmd ClassNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#classnamingconventions The class name 'mc_SubscriptionSyncHandler' doesn't match '[A-Z][a-zA-Z0-9_]*'
21 /src/classes/mc_SubscriptionSyncHandler.cls 15 16 47 3 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
21 /src/classes/mc_SubscriptionSyncHandler.cls 15 16 47 3 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
22 /src/classes/mc_SubscriptionSyncHandler.cls 15 16 47 3 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Unexpected ApexDoc @return
22 /src/classes/mc_SubscriptionSyncHandler.cls 15 16 47 3 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Unexpected ApexDoc @return
23 /src/classes/mc_SubscriptionSyncHandlerTest.cls 9 8 57 2 pmd ClassNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#classnamingconventions The test class name 'mc_SubscriptionSyncHandlerTest' doesn't match '[A-Z][a-zA-Z0-9_]*'
23 /src/classes/mc_SubscriptionSyncHandlerTest.cls 9 8 57 2 pmd ClassNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#classnamingconventions The test class name 'mc_SubscriptionSyncHandlerTest' doesn't match '[A-Z][a-zA-Z0-9_]*'
24 /src/classes/mc_SubscriptionSyncHandlerTest.cls 16 9 24 3 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()
24 /src/classes/mc_SubscriptionSyncHandlerTest.cls 16 9 24 3 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()
25 /src/classes/mc_SubscriptionSyncHandlerTest.cls 32 9 40 3 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()
25 /src/classes/mc_SubscriptionSyncHandlerTest.cls 32 9 40 3 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()
26 /src/classes/mc_TestData.cls 9 8 63 2 pmd ClassNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#classnamingconventions The test class name 'mc_TestData' doesn't match '[A-Z][a-zA-Z0-9_]*'
26 /src/classes/mc_TestData.cls 9 8 63 2 pmd ClassNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#classnamingconventions The test class name 'mc_TestData' doesn't match '[A-Z][a-zA-Z0-9_]*'
27 /src/triggers/mc_ContactTrigger.trigger 8 1 16 2 pmd AvoidLogicInTrigger 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#avoidlogicintrigger Avoid logic in triggers
27 /src/triggers/mc_ContactTrigger.trigger 8 1 16 2 pmd AvoidLogicInTrigger 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#avoidlogicintrigger Avoid logic in triggers
28 /src/triggers/mc_LeadTrigger.trigger 8 1 16 2 pmd AvoidLogicInTrigger 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#avoidlogicintrigger Avoid logic in triggers
28 /src/triggers/mc_LeadTrigger.trigger 8 1 16 2 pmd AvoidLogicInTrigger 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#avoidlogicintrigger Avoid logic in triggers