Comparison results for https://github.com/SFDC-Assets/tsp-workshop.git

pmd7_2 took 12 seconds to run and found 37 violations

pmd7_3 took 15 seconds to run and found 37 violations

Among the 37 total comparisons:

Violation counts:

# fileName line column endLine endColumn engine ruleName severity category url message
1 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 1 8 83 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 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 1 8 83 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 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 1 1 1 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 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 1 1 1 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 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 1 8 83 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
3 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 1 8 83 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
4 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 3 24 3 51 pmd FieldNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#fieldnamingconventions The static field name 'MAX_ADMIN_USER_SESSIONS' doesn't match '[a-z][a-zA-Z0-9]*'
4 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 3 24 3 51 pmd FieldNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#fieldnamingconventions The static field name 'MAX_ADMIN_USER_SESSIONS' doesn't match '[a-z][a-zA-Z0-9]*'
5 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 4 24 4 45 pmd FieldNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_codestyle.html#fieldnamingconventions The static field name 'MAX_USER_SESSIONS' doesn't match '[a-z][a-zA-Z0-9]*'
5 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 4 24 4 45 pmd FieldNamingConventions 1 Code Style https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_codestyle.html#fieldnamingconventions The static field name 'MAX_USER_SESSIONS' doesn't match '[a-z][a-zA-Z0-9]*'
6 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 5 9 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
6 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 5 9 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
7 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 7 22 7 71 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
7 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 7 22 7 71 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
8 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 11 28 11 76 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
8 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 11 28 11 76 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
9 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 20 6 22 51 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
9 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 20 6 22 51 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
10 /force-app/main/default/classes/ConcurrentSessionsPolicyCondition.cls 38 9 81 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/ConcurrentSessionsPolicyCondition.cls 38 9 81 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/DataClassification.cls 1 8 55 2 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
11 /force-app/main/default/classes/DataClassification.cls 1 8 55 2 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
12 /force-app/main/default/classes/DataClassification.cls 1 1 1 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
12 /force-app/main/default/classes/DataClassification.cls 1 1 1 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
13 /force-app/main/default/classes/DataClassification.cls 1 8 55 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
13 /force-app/main/default/classes/DataClassification.cls 1 8 55 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
14 /force-app/main/default/classes/DataClassification.cls 3 12 20 6 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/DataClassification.cls 3 12 20 6 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/DataClassification.cls 12 16 12 36 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
15 /force-app/main/default/classes/DataClassification.cls 12 16 12 36 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
16 /force-app/main/default/classes/DataClassification.cls 12 16 12 36 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.
16 /force-app/main/default/classes/DataClassification.cls 12 16 12 36 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.
17 /force-app/main/default/classes/DataClassification.cls 16 16 16 39 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
17 /force-app/main/default/classes/DataClassification.cls 16 16 16 39 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
18 /force-app/main/default/classes/DataClassification.cls 16 16 16 39 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.
18 /force-app/main/default/classes/DataClassification.cls 16 16 16 39 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.
19 /force-app/main/default/classes/DataClassification.cls 22 12 24 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/DataClassification.cls 22 12 24 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/DataClassification.cls 26 12 28 6 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/DataClassification.cls 26 12 28 6 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/DataClassification.cls 30 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/DataClassification.cls 30 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/DataClassification.cls 42 12 54 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 /force-app/main/default/classes/DataClassification.cls 42 12 54 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 /force-app/main/default/classes/DataClassification.cls 43 50 47 48 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
23 /force-app/main/default/classes/DataClassification.cls 43 50 47 48 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
24 /force-app/main/default/classes/DataClassification.cls 49 22 49 61 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 'ConfidentialFields' doesn't match '[a-z][a-zA-Z0-9]*'
24 /force-app/main/default/classes/DataClassification.cls 49 22 49 61 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 'ConfidentialFields' doesn't match '[a-z][a-zA-Z0-9]*'
25 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 1 8 38 2 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
25 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 1 8 38 2 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
26 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 1 1 1 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
26 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 1 1 1 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
27 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 1 8 38 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
27 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 1 8 38 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
28 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 5 12 9 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @description
28 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 5 12 9 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @description
29 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 5 12 9 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @return
29 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 5 12 9 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @return
30 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 5 12 9 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
30 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 5 12 9 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
31 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 7 9 7 85 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
31 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 7 9 7 85 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
32 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 7 9 7 85 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.
32 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 7 9 7 85 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.
33 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 11 12 20 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
33 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 11 12 20 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc comment
34 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 25 12 37 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @description
34 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 25 12 37 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @description
35 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 25 12 37 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.2.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @return
35 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 25 12 37 6 pmd ApexDoc 3 Documentation https://docs.pmd-code.org/pmd-doc-7.3.0/pmd_rules_apex_documentation.html#apexdoc Missing ApexDoc @return
36 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 25 12 37 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
36 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 25 12 37 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
37 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 26 50 30 57 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
37 /force-app/main/default/classes/DataClassificationonsensiEventCondition.cls 26 50 30 57 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