Comparison results for https://github.com/SalesforceFoundation/Relationships.git

pmd7_2 took 12 seconds to run and found 25 violations

pmd7_3 took 16 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/Relationships_INST.cls 35 8 162 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
1 /src/classes/Relationships_INST.cls 35 8 162 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
2 /src/classes/Relationships_INST.cls 40 12 101 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/Relationships_INST.cls 40 12 101 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/Relationships_INST.cls 40 12 101 6 pmd CognitiveComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#cognitivecomplexity The method 'onInstall(InstallContext)' has a cognitive complexity of 22, current threshold is 15
3 /src/classes/Relationships_INST.cls 40 12 101 6 pmd CognitiveComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#cognitivecomplexity The method 'onInstall(InstallContext)' has a cognitive complexity of 22, current threshold is 15
4 /src/classes/Relationships_INST.cls 40 12 101 6 pmd CyclomaticComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#cyclomaticcomplexity The method 'onInstall(InstallContext)' has a cyclomatic complexity of 18.
4 /src/classes/Relationships_INST.cls 40 12 101 6 pmd CyclomaticComplexity 3 Design https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#cyclomaticcomplexity The method 'onInstall(InstallContext)' has a cyclomatic complexity of 18.
5 /src/classes/Relationships_INST.cls 85 38 85 102 pmd LocalVariableNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#localvariablenamingconventions The local variable name 'RelationshipSettings' doesn't match '[a-z][a-zA-Z0-9]*'
5 /src/classes/Relationships_INST.cls 85 38 85 102 pmd LocalVariableNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#localvariablenamingconventions The local variable name 'RelationshipSettings' doesn't match '[a-z][a-zA-Z0-9]*'
6 /src/classes/Relationships_INST.cls 99 27 99 55 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
6 /src/classes/Relationships_INST.cls 99 27 99 55 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
7 /src/classes/Relationships_INST.cls 99 27 99 55 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
7 /src/classes/Relationships_INST.cls 99 27 99 55 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
8 /src/classes/Relationships_INST.cls 106 19 141 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/Relationships_INST.cls 106 19 141 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/Relationships_INST.cls 122 13 122 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
9 /src/classes/Relationships_INST.cls 122 13 122 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
10 /src/classes/Relationships_INST.cls 122 13 122 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.
10 /src/classes/Relationships_INST.cls 122 13 122 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.
11 /src/classes/Relationships_INST.cls 124 17 124 24 pmd UnusedLocalVariable 5 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable Variable 'num' defined but not used
11 /src/classes/Relationships_INST.cls 124 17 124 24 pmd UnusedLocalVariable 5 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable Variable 'num' defined but not used
12 /src/classes/Relationships_INST.cls 127 63 127 69 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
12 /src/classes/Relationships_INST.cls 127 63 127 69 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
13 /src/classes/Relationships_INST.cls 127 63 127 69 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
13 /src/classes/Relationships_INST.cls 127 63 127 69 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
14 /src/classes/Relationships_INST.cls 131 20 131 34 pmd UnusedLocalVariable 5 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable Variable 'compositeField' defined but not used
14 /src/classes/Relationships_INST.cls 131 20 131 34 pmd UnusedLocalVariable 5 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable Variable 'compositeField' defined but not used
15 /src/classes/Relationships_INST.cls 132 21 132 47 pmd UnusedLocalVariable 5 Best Practices https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable Variable 'makeCompositeField' defined but not used
15 /src/classes/Relationships_INST.cls 132 21 132 47 pmd UnusedLocalVariable 5 Best Practices https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_bestpractices.html#unusedlocalvariable Variable 'makeCompositeField' defined but not used
16 /src/classes/Relationships_INST.cls 139 26 139 46 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
16 /src/classes/Relationships_INST.cls 139 26 139 46 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
17 /src/classes/Relationships_INST.cls 139 26 139 46 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
17 /src/classes/Relationships_INST.cls 139 26 139 46 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
18 /src/classes/Relationships_INST.cls 145 19 159 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
18 /src/classes/Relationships_INST.cls 145 19 159 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
19 /src/classes/Relationships_INST.cls 152 13 152 73 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
19 /src/classes/Relationships_INST.cls 152 13 152 73 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
20 /src/classes/Relationships_INST.cls 152 13 152 73 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
20 /src/classes/Relationships_INST.cls 152 13 152 73 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
21 /src/classes/Relationships_INST.cls 154 13 154 55 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
21 /src/classes/Relationships_INST.cls 154 13 154 55 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
22 /src/classes/Relationships_INST_TEST.cls 38 23 48 6 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.
22 /src/classes/Relationships_INST_TEST.cls 38 23 48 6 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.
23 /src/classes/Relationships_INST_TEST.cls 50 5 50 44 pmd ClassNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#classnamingconventions The class name 'myexception' doesn't match '[A-Z][a-zA-Z0-9_]*'
23 /src/classes/Relationships_INST_TEST.cls 50 5 50 44 pmd ClassNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#classnamingconventions The class name 'myexception' doesn't match '[A-Z][a-zA-Z0-9_]*'
24 /src/classes/UTIL_CustomLabel_TEST.cls 36 31 48 6 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/UTIL_CustomLabel_TEST.cls 36 31 48 6 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/UTIL_CustomLabel_TEST.cls 36 31 48 6 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.
25 /src/classes/UTIL_CustomLabel_TEST.cls 36 31 48 6 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.