FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
70 9 0 0

org.mycore.mods.MCRIdentifierValidator

Bug Category Details Line Priority
Check for oddness that won't work for negative numbers in org.mycore.mods.MCRIdentifierValidator.checkISBN(String) STYLE IM_BAD_CHECK_FOR_ODD 66 Medium

org.mycore.mods.MCRMODSCommands

Bug Category Details Line Priority
Possible null pointer dereference in org.mycore.mods.MCRMODSCommands.loadFromDirectory(String, String) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 76 Medium

org.mycore.mods.MCRMODSDateFormat

Bug Category Details Line Priority
Comparison of String parameter using == or != in new org.mycore.mods.MCRMODSDateFormat(String, int, String, String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 70 Medium

org.mycore.mods.MCRMODSEmbargoUtils

Bug Category Details Line Priority
Comparison of String objects using == or != in org.mycore.mods.MCRMODSEmbargoUtils.getCachedEmbargo(MCRObjectID) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 91 Medium

org.mycore.mods.enrichment.MCREnrichmentResolver

Bug Category Details Line Priority
org.mycore.mods.enrichment.MCREnrichmentResolver.debug(Element, String) might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 146 Medium

org.mycore.mods.merger.MCRAbstractMerger

Bug Category Details Line Priority
org.mycore.mods.merger.MCRAbstractMerger doesn't override MCRMerger.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.mycore.mods.merger.MCRMerger

Bug Category Details Line Priority
org.mycore.mods.merger.MCRMerger defines equals and uses Object.hashCode() BAD_PRACTICE HE_EQUALS_USE_HASHCODE 69-72 High

org.mycore.mods.merger.MCRNameMerger

Bug Category Details Line Priority
org.mycore.mods.merger.MCRNameMerger doesn't override MCRMerger.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.mycore.mods.merger.MCRTitleInfoMerger

Bug Category Details Line Priority
org.mycore.mods.merger.MCRTitleInfoMerger doesn't override MCRMerger.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium