Fork me on GitHub

PMD Results

The following document contains the results of PMD 7.19.0.

Violations By Priority

Priority 3

gov/nist/secauto/metaschema/modules/sarif/SarifValidationHandler.java

Rule Violation Line
EnumComparison Enums should be compared using == 222
EnumComparison Enums should be compared using == 229
ExhaustiveSwitchHasDefault The switch block is exhaustive even without the default case 368383
ExhaustiveSwitchHasDefault The switch block is exhaustive even without the default case 390407

Files

gov/nist/secauto/metaschema/modules/sarif/SarifValidationHandler.java

Rule Violation Priority Line
EnumComparison Enums should be compared using == 3 222
EnumComparison Enums should be compared using == 3 229
ExhaustiveSwitchHasDefault The switch block is exhaustive even without the default case 3 368383
ExhaustiveSwitchHasDefault The switch block is exhaustive even without the default case 3 390407

Suppressed Violations

Filename Rule message Suppression type Reason
gov/nist/secauto/metaschema/modules/sarif/SarifValidationHandler.java A value of 47 may denote a high amount of coupling within the class (threshold: 20) @suppresswarnings
gov/nist/secauto/metaschema/modules/sarif/SarifValidationHandler.java If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation @suppresswarnings
gov/nist/secauto/metaschema/modules/sarif/SarifValidationHandler.java If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation @suppresswarnings
gov/nist/secauto/metaschema/modules/sarif/SarifValidationHandler.java Avoid instantiating new objects inside loops @suppresswarnings