Comparison results for https://github.com/ChuckJonas/apex-sort-sobs.git

pmd7_2 took 12 seconds to run and found 40 violations

pmd7_3 took 15 seconds to run and found 40 violations

Among the 40 total comparisons:

Violation counts:

# fileName line column endLine endColumn engine ruleName severity category url message
1 /src/classes/SortSobs.cls 11 8 220 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/SortSobs.cls 11 8 220 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/SortSobs.cls 11 8 220 2 pmd CognitiveComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#cognitivecomplexity The class 'SortSobs' has a total cognitive complexity of 56 (highest 9), current threshold is 50
2 /src/classes/SortSobs.cls 11 8 220 2 pmd CognitiveComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#cognitivecomplexity The class 'SortSobs' has a total cognitive complexity of 56 (highest 9), current threshold is 50
3 /src/classes/SortSobs.cls 57 20 79 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @description
3 /src/classes/SortSobs.cls 57 20 79 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @description
4 /src/classes/SortSobs.cls 57 20 79 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
4 /src/classes/SortSobs.cls 57 20 79 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
5 /src/classes/SortSobs.cls 57 20 79 6 pmd CyclomaticComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#cyclomaticcomplexity The method 'sort(SObject[], SObjectField[], Boolean)' has a cyclomatic complexity of 11.
5 /src/classes/SortSobs.cls 57 20 79 6 pmd CyclomaticComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#cyclomaticcomplexity The method 'sort(SObject[], SObjectField[], Boolean)' has a cyclomatic complexity of 11.
6 /src/classes/SortSobs.cls 99 13 108 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @description
6 /src/classes/SortSobs.cls 99 13 108 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @description
7 /src/classes/SortSobs.cls 146 22 219 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 /src/classes/SortSobs.cls 146 22 219 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 /src/classes/SortSobs.cls 152 16 165 10 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/SortSobs.cls 152 16 165 10 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/SortSobs.cls 170 17 204 10 pmd CognitiveComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#cognitivecomplexity The method 'quicksort(Integer, Integer)' has a cognitive complexity of 16, current threshold is 15
9 /src/classes/SortSobs.cls 170 17 204 10 pmd CognitiveComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#cognitivecomplexity The method 'quicksort(Integer, Integer)' has a cognitive complexity of 16, current threshold is 15
10 /src/classes/SortSobs.cls 171 13 171 38 pmd OneDeclarationPerLine 1 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#onedeclarationperline Use one statement for each line, it enhances code readability.
10 /src/classes/SortSobs.cls 171 13 171 38 pmd OneDeclarationPerLine 1 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#onedeclarationperline Use one statement for each line, it enhances code readability.
11 /src/classes/SortSobs.cls 201 17 201 35 pmd IfElseStmtsMustUseBraces 3 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#ifelsestmtsmustusebraces Avoid using if...else statements without curly braces
11 /src/classes/SortSobs.cls 201 17 201 35 pmd IfElseStmtsMustUseBraces 3 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#ifelsestmtsmustusebraces Avoid using if...else statements without curly braces
12 /src/classes/SortSobs.cls 201 17 201 35 pmd IfStmtsMustUseBraces 3 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#ifstmtsmustusebraces Avoid using if statements without curly braces
12 /src/classes/SortSobs.cls 201 17 201 35 pmd IfStmtsMustUseBraces 3 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#ifstmtsmustusebraces Avoid using if statements without curly braces
13 /src/classes/SortSobs.cls 203 17 203 36 pmd IfElseStmtsMustUseBraces 3 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#ifelsestmtsmustusebraces Avoid using if...else statements without curly braces
13 /src/classes/SortSobs.cls 203 17 203 36 pmd IfElseStmtsMustUseBraces 3 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#ifelsestmtsmustusebraces Avoid using if...else statements without curly braces
14 /src/classes/SortSobs.cls 203 17 203 36 pmd IfStmtsMustUseBraces 3 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#ifstmtsmustusebraces Avoid using if statements without curly braces
14 /src/classes/SortSobs.cls 203 17 203 36 pmd IfStmtsMustUseBraces 3 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#ifstmtsmustusebraces Avoid using if statements without curly braces
15 /src/classes/SortSobsTests.cls 11 9 294 2 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @description
15 /src/classes/SortSobsTests.cls 11 9 294 2 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @description
16 /src/classes/SortSobsTests.cls 11 9 294 2 pmd CyclomaticComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#cyclomaticcomplexity The class 'SortSobsTests' has a total cyclomatic complexity of 46 (highest 5).
16 /src/classes/SortSobsTests.cls 11 9 294 2 pmd CyclomaticComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#cyclomaticcomplexity The class 'SortSobsTests' has a total cyclomatic complexity of 46 (highest 5).
17 /src/classes/SortSobsTests.cls 13 17 32 3 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_string_field' doesn't match '[a-z][a-zA-Z0-9]*'
17 /src/classes/SortSobsTests.cls 13 17 32 3 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_string_field' doesn't match '[a-z][a-zA-Z0-9]*'
18 /src/classes/SortSobsTests.cls 28 13 28 60 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
18 /src/classes/SortSobsTests.cls 28 13 28 60 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
19 /src/classes/SortSobsTests.cls 35 17 54 3 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_string_field_desc' doesn't match '[a-z][a-zA-Z0-9]*'
19 /src/classes/SortSobsTests.cls 35 17 54 3 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_string_field_desc' doesn't match '[a-z][a-zA-Z0-9]*'
20 /src/classes/SortSobsTests.cls 50 13 50 60 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
20 /src/classes/SortSobsTests.cls 50 13 50 60 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
21 /src/classes/SortSobsTests.cls 56 20 75 3 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_number_field' doesn't match '[a-z][a-zA-Z0-9]*'
21 /src/classes/SortSobsTests.cls 56 20 75 3 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_number_field' doesn't match '[a-z][a-zA-Z0-9]*'
22 /src/classes/SortSobsTests.cls 71 13 71 78 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
22 /src/classes/SortSobsTests.cls 71 13 71 78 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
23 /src/classes/SortSobsTests.cls 77 20 96 3 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_number_field_desc' doesn't match '[a-z][a-zA-Z0-9]*'
23 /src/classes/SortSobsTests.cls 77 20 96 3 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_number_field_desc' doesn't match '[a-z][a-zA-Z0-9]*'
24 /src/classes/SortSobsTests.cls 92 13 92 78 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
24 /src/classes/SortSobsTests.cls 92 13 92 78 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
25 /src/classes/SortSobsTests.cls 98 20 117 3 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_date_field' doesn't match '[a-z][a-zA-Z0-9]*'
25 /src/classes/SortSobsTests.cls 98 20 117 3 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_date_field' doesn't match '[a-z][a-zA-Z0-9]*'
26 /src/classes/SortSobsTests.cls 113 13 113 74 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
26 /src/classes/SortSobsTests.cls 113 13 113 74 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
27 /src/classes/SortSobsTests.cls 119 20 137 3 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_date_field_desc' doesn't match '[a-z][a-zA-Z0-9]*'
27 /src/classes/SortSobsTests.cls 119 20 137 3 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_date_field_desc' doesn't match '[a-z][a-zA-Z0-9]*'
28 /src/classes/SortSobsTests.cls 134 13 134 74 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
28 /src/classes/SortSobsTests.cls 134 13 134 74 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
29 /src/classes/SortSobsTests.cls 139 20 158 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_datetime_field' doesn't match '[a-z][a-zA-Z0-9]*'
29 /src/classes/SortSobsTests.cls 139 20 158 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_datetime_field' doesn't match '[a-z][a-zA-Z0-9]*'
30 /src/classes/SortSobsTests.cls 154 13 154 79 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
30 /src/classes/SortSobsTests.cls 154 13 154 79 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
31 /src/classes/SortSobsTests.cls 160 20 178 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_datetime_field_desc' doesn't match '[a-z][a-zA-Z0-9]*'
31 /src/classes/SortSobsTests.cls 160 20 178 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_datetime_field_desc' doesn't match '[a-z][a-zA-Z0-9]*'
32 /src/classes/SortSobsTests.cls 175 13 175 79 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
32 /src/classes/SortSobsTests.cls 175 13 175 79 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
33 /src/classes/SortSobsTests.cls 180 20 202 3 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_boolean_field' doesn't match '[a-z][a-zA-Z0-9]*'
33 /src/classes/SortSobsTests.cls 180 20 202 3 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_boolean_field' doesn't match '[a-z][a-zA-Z0-9]*'
34 /src/classes/SortSobsTests.cls 199 13 199 88 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
34 /src/classes/SortSobsTests.cls 199 13 199 88 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
35 /src/classes/SortSobsTests.cls 204 20 225 3 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_boolean_field_desc' doesn't match '[a-z][a-zA-Z0-9]*'
35 /src/classes/SortSobsTests.cls 204 20 225 3 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_boolean_field_desc' doesn't match '[a-z][a-zA-Z0-9]*'
36 /src/classes/SortSobsTests.cls 223 13 223 88 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
36 /src/classes/SortSobsTests.cls 223 13 223 88 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
37 /src/classes/SortSobsTests.cls 227 20 254 3 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_relationship' doesn't match '[a-z][a-zA-Z0-9]*'
37 /src/classes/SortSobsTests.cls 227 20 254 3 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_relationship' doesn't match '[a-z][a-zA-Z0-9]*'
38 /src/classes/SortSobsTests.cls 250 13 250 74 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
38 /src/classes/SortSobsTests.cls 250 13 250 74 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
39 /src/classes/SortSobsTests.cls 256 20 283 3 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_relationship_desc' doesn't match '[a-z][a-zA-Z0-9]*'
39 /src/classes/SortSobsTests.cls 256 20 283 3 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_relationship_desc' doesn't match '[a-z][a-zA-Z0-9]*'
40 /src/classes/SortSobsTests.cls 279 13 279 74 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.
40 /src/classes/SortSobsTests.cls 279 13 279 74 pmd ApexAssertionsShouldIncludeMessage 3 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#apexassertionsshouldincludemessage 'System.assert' should have 2 parameters.