FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
67 13 0 0

de.smartics.exceptions.report.AbstractBuilder$1

Bug Category Details Line Priority
The class de.smartics.exceptions.report.AbstractBuilder$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 61-67 Low

de.smartics.exceptions.report.data.PlaceholderInfoHandler

Bug Category Details Line Priority
Load of known null value in de.smartics.exceptions.report.data.PlaceholderInfoHandler.calcComment(String, JavaClass, JavaField) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 234 Medium
Redundant nullcheck of field which is known to be null in de.smartics.exceptions.report.data.PlaceholderInfoHandler.calcComment(String, JavaClass, JavaField) STYLE RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE 234 Low

de.smartics.exceptions.report.generator.AbstractXmlReportGenerator

Bug Category Details Line Priority

de.smartics.exceptions.report.message.PlaceHolderDesc

Bug Category Details Line Priority
de.smartics.exceptions.report.message.PlaceHolderDesc defines compareTo(PlaceHolderDesc) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 183-184 Medium

de.smartics.exceptions.report.scan.AbstractScannerFactory$1

Bug Category Details Line Priority
The class de.smartics.exceptions.report.scan.AbstractScannerFactory$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 50-55 Low

de.smartics.exceptions.report.sort.CodeComparator

Bug Category Details Line Priority
de.smartics.exceptions.report.sort.CodeComparator implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 30-75 Medium

de.smartics.exceptions.report.sort.MixedCodeComparator

Bug Category Details Line Priority
de.smartics.exceptions.report.sort.MixedCodeComparator implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 31-90 Low

de.smartics.exceptions.report.sort.MixedComponentCodeComparator

Bug Category Details Line Priority
de.smartics.exceptions.report.sort.MixedComponentCodeComparator implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 31-90 Low

de.smartics.exceptions.report.utils.CopyReader

Bug Category Details Line Priority
Switch statement found in de.smartics.exceptions.report.utils.CopyReader.parse(XMLEventReader) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 149-164 Medium

de.smartics.exceptions.report.utils.RuntimeUtils

Bug Category Details Line Priority
invocation of reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block, in de.smartics.exceptions.report.utils.RuntimeUtils.loadStaticFieldInstance(Class, String) MALICIOUS_CODE DP_DO_INSIDE_DO_PRIVILEGED 174 Low
Exception is caught when Exception is not thrown in de.smartics.exceptions.report.utils.RuntimeUtils.loadStaticFieldInstance(Class, String) STYLE REC_CATCH_EXCEPTION 181 Low

de.smartics.exceptions.report.utils.StringFunction

Bug Category Details Line Priority
Use of non-localized String.toUpperCase() or String.toLowerCase in de.smartics.exceptions.report.utils.StringFunction.capitalize(String) I18N DM_CONVERT_CASE 75 Low