Fork me on GitHub

PMD Results

The following document contains the results of PMD 7.19.0.

Violations By Priority

Priority 3

dev/metaschema/modules/sarif/SarifValidationHandler.java

Rule Violation Line
EnumComparison Enums should be compared using == 232
EnumComparison Enums should be compared using == 239
ExhaustiveSwitchHasDefault The switch block is exhaustive even without the default case 378393
ExhaustiveSwitchHasDefault The switch block is exhaustive even without the default case 400417

Files

dev/metaschema/modules/sarif/SarifValidationHandler.java

Rule Violation Priority Line
EnumComparison Enums should be compared using == 3 232
EnumComparison Enums should be compared using == 3 239
ExhaustiveSwitchHasDefault The switch block is exhaustive even without the default case 3 378393
ExhaustiveSwitchHasDefault The switch block is exhaustive even without the default case 3 400417

Suppressed Violations

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