pmd7_2 took 11 seconds to run and found 32 violations
pmd7_3 took 14 seconds to run and found 32 violations
Among the 32 total comparisons:
Violation counts:
# | fileName | line | column | endLine | endColumn | engine | ruleName | severity | category | url | message |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | /force-app/main/default/classes/TestFactory.cls | 2 | 8 | 115 | 2 | pmd | CognitiveComplexity | 3 | Design | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#cognitivecomplexity | The class 'TestFactory' has a total cognitive complexity of 91 (highest 6), current threshold is 50 |
1 | /force-app/main/default/classes/TestFactory.cls | 2 | 8 | 115 | 2 | pmd | CognitiveComplexity | 3 | Design | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#cognitivecomplexity | The class 'TestFactory' has a total cognitive complexity of 91 (highest 6), current threshold is 50 |
2 | /force-app/main/default/classes/TestFactory.cls | 4 | 16 | 14 | 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 | /force-app/main/default/classes/TestFactory.cls | 4 | 16 | 14 | 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 | /force-app/main/default/classes/TestFactory.cls | 16 | 16 | 22 | 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 | /force-app/main/default/classes/TestFactory.cls | 16 | 16 | 22 | 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 | /force-app/main/default/classes/TestFactory.cls | 24 | 16 | 33 | 3 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
4 | /force-app/main/default/classes/TestFactory.cls | 24 | 16 | 33 | 3 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
5 | /force-app/main/default/classes/TestFactory.cls | 35 | 16 | 41 | 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 | /force-app/main/default/classes/TestFactory.cls | 35 | 16 | 41 | 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 | /force-app/main/default/classes/TestFactory.cls | 43 | 16 | 45 | 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 | /force-app/main/default/classes/TestFactory.cls | 43 | 16 | 45 | 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 | /force-app/main/default/classes/TestFactory.cls | 47 | 16 | 53 | 3 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
7 | /force-app/main/default/classes/TestFactory.cls | 47 | 16 | 53 | 3 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
8 | /force-app/main/default/classes/TestFactory.cls | 55 | 16 | 61 | 3 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
8 | /force-app/main/default/classes/TestFactory.cls | 55 | 16 | 61 | 3 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
9 | /force-app/main/default/classes/TestFactory.cls | 55 | 16 | 61 | 3 | pmd | ExcessiveParameterList | 3 | Design | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#excessiveparameterlist | Avoid long parameter lists. |
9 | /force-app/main/default/classes/TestFactory.cls | 55 | 16 | 61 | 3 | pmd | ExcessiveParameterList | 3 | Design | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#excessiveparameterlist | Avoid long parameter lists. |
10 | /force-app/main/default/classes/TestFactory.cls | 63 | 16 | 90 | 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 | /force-app/main/default/classes/TestFactory.cls | 63 | 16 | 90 | 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 | /force-app/main/default/classes/TestFactory.cls | 104 | 62 | 107 | 3 | pmd | FieldDeclarationsShouldBeAtStart | 3 | Code Style | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#fielddeclarationsshouldbeatstart | Field declaration for 'nameFieldMap' should be before method declarations in its class |
11 | /force-app/main/default/classes/TestFactory.cls | 104 | 62 | 107 | 3 | pmd | FieldDeclarationsShouldBeAtStart | 3 | Code Style | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#fielddeclarationsshouldbeatstart | Field declaration for 'nameFieldMap' should be before method declarations in its class |
12 | /force-app/main/default/classes/TestFactory.cls | 109 | 9 | 109 | 56 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
12 | /force-app/main/default/classes/TestFactory.cls | 109 | 9 | 109 | 56 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
13 | /force-app/main/default/classes/TestFactory.cls | 112 | 9 | 114 | 3 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
13 | /force-app/main/default/classes/TestFactory.cls | 112 | 9 | 114 | 3 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
14 | /force-app/main/default/classes/TestFactory.cls | 113 | 3 | 113 | 55 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
14 | /force-app/main/default/classes/TestFactory.cls | 113 | 3 | 113 | 55 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
15 | /force-app/main/default/classes/TestFactoryDefaults.cls | 7 | 12 | 13 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
15 | /force-app/main/default/classes/TestFactoryDefaults.cls | 7 | 12 | 13 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
16 | /force-app/main/default/classes/TestFactoryDefaults.cls | 8 | 16 | 12 | 10 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
16 | /force-app/main/default/classes/TestFactoryDefaults.cls | 8 | 16 | 12 | 10 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
17 | /force-app/main/default/classes/TestFactoryDefaults.cls | 15 | 12 | 21 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
17 | /force-app/main/default/classes/TestFactoryDefaults.cls | 15 | 12 | 21 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
18 | /force-app/main/default/classes/TestFactoryDefaults.cls | 16 | 16 | 20 | 10 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
18 | /force-app/main/default/classes/TestFactoryDefaults.cls | 16 | 16 | 20 | 10 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
19 | /force-app/main/default/classes/TestFactoryDefaults.cls | 23 | 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 |
19 | /force-app/main/default/classes/TestFactoryDefaults.cls | 23 | 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 |
20 | /force-app/main/default/classes/TestFactoryDefaults.cls | 24 | 16 | 29 | 10 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
20 | /force-app/main/default/classes/TestFactoryDefaults.cls | 24 | 16 | 29 | 10 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
21 | /force-app/main/default/classes/TestFactoryDefaults.cls | 32 | 12 | 40 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
21 | /force-app/main/default/classes/TestFactoryDefaults.cls | 32 | 12 | 40 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
22 | /force-app/main/default/classes/TestFactoryDefaults.cls | 33 | 16 | 39 | 10 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
22 | /force-app/main/default/classes/TestFactoryDefaults.cls | 33 | 16 | 39 | 10 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
23 | /force-app/main/default/classes/TestFactoryDefaults.cls | 42 | 12 | 48 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
23 | /force-app/main/default/classes/TestFactoryDefaults.cls | 42 | 12 | 48 | 6 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
24 | /force-app/main/default/classes/TestFactoryDefaults.cls | 43 | 16 | 47 | 10 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
24 | /force-app/main/default/classes/TestFactoryDefaults.cls | 43 | 16 | 47 | 10 | pmd | ApexDoc | 3 | Documentation | https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc | Missing ApexDoc comment |
25 | /force-app/main/default/classes/TestFactoryTest.cls | 5 | 12 | 10 | 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 'when_objectIsCreated_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |
25 | /force-app/main/default/classes/TestFactoryTest.cls | 5 | 12 | 10 | 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 'when_objectIsCreated_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |
26 | /force-app/main/default/classes/TestFactoryTest.cls | 13 | 12 | 19 | 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 'when_objectIsInserted_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |
26 | /force-app/main/default/classes/TestFactoryTest.cls | 13 | 12 | 19 | 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 'when_objectIsInserted_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |
27 | /force-app/main/default/classes/TestFactoryTest.cls | 22 | 12 | 27 | 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 'when_objectIsCreatedWithSpecificDefaultsSet_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |
27 | /force-app/main/default/classes/TestFactoryTest.cls | 22 | 12 | 27 | 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 'when_objectIsCreatedWithSpecificDefaultsSet_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |
28 | /force-app/main/default/classes/TestFactoryTest.cls | 30 | 12 | 35 | 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 'when_objectIsInsertedWithSpecificDefaultsSet_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |
28 | /force-app/main/default/classes/TestFactoryTest.cls | 30 | 12 | 35 | 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 'when_objectIsInsertedWithSpecificDefaultsSet_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |
29 | /force-app/main/default/classes/TestFactoryTest.cls | 38 | 12 | 45 | 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 'when_ListOfObjectsIsCreated_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |
29 | /force-app/main/default/classes/TestFactoryTest.cls | 38 | 12 | 45 | 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 'when_ListOfObjectsIsCreated_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |
30 | /force-app/main/default/classes/TestFactoryTest.cls | 48 | 12 | 56 | 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 'when_ListOfObjectIsInserted_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |
30 | /force-app/main/default/classes/TestFactoryTest.cls | 48 | 12 | 56 | 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 'when_ListOfObjectIsInserted_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |
31 | /force-app/main/default/classes/TestFactoryTest.cls | 59 | 12 | 66 | 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 'when_ListOfObjectsIsCreatedWithSpecificDefaultsSet_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |
31 | /force-app/main/default/classes/TestFactoryTest.cls | 59 | 12 | 66 | 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 'when_ListOfObjectsIsCreatedWithSpecificDefaultsSet_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |
32 | /force-app/main/default/classes/TestFactoryTest.cls | 69 | 12 | 77 | 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 'when_ListOfObjectsIsInsertedWithSpecificDefaultsSet_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |
32 | /force-app/main/default/classes/TestFactoryTest.cls | 69 | 12 | 77 | 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 'when_ListOfObjectsIsInsertedWithSpecificDefaultsSet_expect_defaultFieldsArePopulated' doesn't match '[a-z][a-zA-Z0-9]*' |