Comparison results for https://github.com/benedwards44/sObjectListSort.git

pmd7_2 took 11 seconds to run and found 16 violations

pmd7_3 took 14 seconds to run and found 16 violations

Among the 16 total comparisons:

Violation counts:

# fileName line column endLine endColumn engine ruleName severity category url message
1 /src/classes/SObjectListSort.cls 1 8 138 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 /src/classes/SObjectListSort.cls 1 8 138 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 /src/classes/SObjectListSort.cls 1 8 138 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
2 /src/classes/SObjectListSort.cls 1 8 138 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
3 /src/classes/SObjectListSort.cls 5 16 26 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/SObjectListSort.cls 5 16 26 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/SObjectListSort.cls 29 23 29 32 pmd FieldDeclarationsShouldBeAtStart 3 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#fielddeclarationsshouldbeatstart Field declaration for 'fieldType' should be before method declarations in its class
4 /src/classes/SObjectListSort.cls 29 23 29 32 pmd FieldDeclarationsShouldBeAtStart 3 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#fielddeclarationsshouldbeatstart Field declaration for 'fieldType' should be before method declarations in its class
5 /src/classes/SObjectListSort.cls 30 16 37 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/SObjectListSort.cls 30 16 37 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/SObjectListSort.cls 40 9 137 3 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
6 /src/classes/SObjectListSort.cls 40 9 137 3 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
7 /src/classes/SObjectListSort.cls 40 9 137 3 pmd CyclomaticComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#cyclomaticcomplexity The class 'RecordWrapper' has a total cyclomatic complexity of 41 (highest 34).
7 /src/classes/SObjectListSort.cls 40 9 137 3 pmd CyclomaticComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#cyclomaticcomplexity The class 'RecordWrapper' has a total cyclomatic complexity of 41 (highest 34).
8 /src/classes/SObjectListSort.cls 52 10 78 4 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/SObjectListSort.cls 52 10 78 4 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/SObjectListSort.cls 81 10 135 4 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
9 /src/classes/SObjectListSort.cls 81 10 135 4 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
10 /src/classes/SObjectListSort.cls 81 10 135 4 pmd CognitiveComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#cognitivecomplexity The method 'compareTo(Object)' has a cognitive complexity of 18, current threshold is 15
10 /src/classes/SObjectListSort.cls 81 10 135 4 pmd CognitiveComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#cognitivecomplexity The method 'compareTo(Object)' has a cognitive complexity of 18, current threshold is 15
11 /src/classes/SObjectListSort.cls 81 10 135 4 pmd CyclomaticComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#cyclomaticcomplexity The method 'compareTo(Object)' has a cyclomatic complexity of 34.
11 /src/classes/SObjectListSort.cls 81 10 135 4 pmd CyclomaticComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#cyclomaticcomplexity The method 'compareTo(Object)' has a cyclomatic complexity of 34.
12 /src/classes/SObjectListSortTest.cls 4 20 21 3 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.
12 /src/classes/SObjectListSortTest.cls 4 20 21 3 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.
13 /src/classes/SObjectListSortTest.cls 23 20 40 3 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.
13 /src/classes/SObjectListSortTest.cls 23 20 40 3 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.
14 /src/classes/SObjectListSortTest.cls 42 20 48 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()
14 /src/classes/SObjectListSortTest.cls 42 20 48 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()
15 /src/classes/SObjectListSortTest.cls 42 20 48 3 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.
15 /src/classes/SObjectListSortTest.cls 42 20 48 3 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.
16 /src/classes/SObjectListSortTest.cls 50 20 68 3 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.
16 /src/classes/SObjectListSortTest.cls 50 20 68 3 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.