Comparison results for https://github.com/developerforce/open-cti-demo-adapter.git

pmd7_2 took 11 seconds to run and found 26 violations

pmd7_3 took 14 seconds to run and found 26 violations

Among the 26 total comparisons:

Violation counts:

# fileName line column endLine endColumn engine ruleName severity category url message
1 /src/classes/SoftphoneContactSearchController.cls 9 8 17 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/SoftphoneContactSearchController.cls 9 8 17 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/SoftphoneContactSearchController.cls 9 1 9 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
2 /src/classes/SoftphoneContactSearchController.cls 9 1 9 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
3 /src/classes/SoftphoneContactSearchController.cls 12 31 12 259 pmd ApexCRUDViolation 3 Security https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_security.html#apexcrudviolation Validate CRUD permission before SOQL/DML operation or enforce user mode
3 /src/classes/SoftphoneContactSearchController.cls 12 31 12 259 pmd ApexCRUDViolation 3 Security https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_security.html#apexcrudviolation Validate CRUD permission before SOQL/DML operation or enforce user mode
4 /src/classes/SoftphoneContactSearchControllerTest.cls 12 31 28 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.
4 /src/classes/SoftphoneContactSearchControllerTest.cls 12 31 28 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.
5 /src/classes/SoftphoneContactSearchControllerTest.cls 14 16 14 34 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 'ANI' doesn't match '[a-z][a-zA-Z0-9]*'
5 /src/classes/SoftphoneContactSearchControllerTest.cls 14 16 14 34 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 'ANI' doesn't match '[a-z][a-zA-Z0-9]*'
6 /src/classes/SoftphoneProviderController.cls 9 8 22 2 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/SoftphoneProviderController.cls 9 8 22 2 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/SoftphoneProviderController.cls 10 23 21 6 pmd ExcessiveParameterList 3 Design https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#excessiveparameterlist Avoid long parameter lists.
7 /src/classes/SoftphoneProviderController.cls 10 23 21 6 pmd ExcessiveParameterList 3 Design https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#excessiveparameterlist Avoid long parameter lists.
8 /src/classes/SoftphoneProviderControllerTest.cls 11 31 24 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.
8 /src/classes/SoftphoneProviderControllerTest.cls 11 31 24 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.
9 /src/classes/SoftphoneProviderControllerTest.cls 26 31 32 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.
9 /src/classes/SoftphoneProviderControllerTest.cls 26 31 32 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.
10 /src/classes/SoftphoneProviderHelper.cls 9 8 79 2 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/SoftphoneProviderHelper.cls 9 8 79 2 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/SoftphoneProviderHelper.cls 10 9 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
11 /src/classes/SoftphoneProviderHelper.cls 10 9 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
12 /src/classes/SoftphoneProviderHelper.cls 12 16 12 35 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
12 /src/classes/SoftphoneProviderHelper.cls 12 16 12 35 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
13 /src/classes/SoftphoneProviderHelper.cls 12 9 12 15 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.
13 /src/classes/SoftphoneProviderHelper.cls 12 9 12 15 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.
14 /src/classes/SoftphoneProviderHelper.cls 13 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
14 /src/classes/SoftphoneProviderHelper.cls 13 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
15 /src/classes/SoftphoneProviderHelper.cls 23 12 32 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 /src/classes/SoftphoneProviderHelper.cls 23 12 32 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 /src/classes/SoftphoneProviderHelper.cls 34 12 36 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
16 /src/classes/SoftphoneProviderHelper.cls 34 12 36 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
17 /src/classes/SoftphoneProviderHelper.cls 35 7 35 93 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
17 /src/classes/SoftphoneProviderHelper.cls 35 7 35 93 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
18 /src/classes/SoftphoneProviderHelper.cls 35 7 35 93 pmd ExcessiveParameterList 3 Design https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#excessiveparameterlist Avoid long parameter lists.
18 /src/classes/SoftphoneProviderHelper.cls 35 7 35 93 pmd ExcessiveParameterList 3 Design https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#excessiveparameterlist Avoid long parameter lists.
19 /src/classes/SoftphoneProviderHelper.cls 41 12 64 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 /src/classes/SoftphoneProviderHelper.cls 41 12 64 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 /src/classes/SoftphoneProviderHelper.cls 42 14 63 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 /src/classes/SoftphoneProviderHelper.cls 42 14 63 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 /src/classes/SoftphoneProviderHelper.cls 42 14 63 10 pmd ExcessiveParameterList 3 Design https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#excessiveparameterlist Avoid long parameter lists.
21 /src/classes/SoftphoneProviderHelper.cls 42 14 63 10 pmd ExcessiveParameterList 3 Design https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#excessiveparameterlist Avoid long parameter lists.
22 /src/classes/SoftphoneProviderHelper.cls 66 12 78 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
22 /src/classes/SoftphoneProviderHelper.cls 66 12 78 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
23 /src/classes/SoftphoneProviderHelper.cls 67 14 77 10 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
23 /src/classes/SoftphoneProviderHelper.cls 67 14 77 10 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
24 /src/classes/SoftphoneProviderHelper.cls 67 14 77 10 pmd ExcessiveParameterList 3 Design https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_design.html#excessiveparameterlist Avoid long parameter lists.
24 /src/classes/SoftphoneProviderHelper.cls 67 14 77 10 pmd ExcessiveParameterList 3 Design https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_design.html#excessiveparameterlist Avoid long parameter lists.
25 /src/classes/SoftphoneProviderHelperTest.cls 11 31 14 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/SoftphoneProviderHelperTest.cls 11 31 14 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.
26 /src/classes/SoftphoneProviderHelperTest.cls 16 31 19 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.
26 /src/classes/SoftphoneProviderHelperTest.cls 16 31 19 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.