FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.1.1

Threshold is Low

Effort is Default

Summary

ClassesBugsErrorsMissing Classes
190904

Files

ClassBugs
com.zmicer.utils.FileUtils2
com.zmicer.utils.InputArgumentUtils1
com.zmicer.utils.ReflexionUtils1
com.zmicer.utils.ResourceUtils2
com.zmicer.utils.StringUtils1
com.zmicer.utils.junit.JUnitUtils2

com.zmicer.utils.FileUtils

BugCategoryDetailsLine
Method com.zmicer.utils.FileUtils.getResourceBundleViaFile(String) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION289
Method com.zmicer.utils.FileUtils.constructPath(String[]) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION314

com.zmicer.utils.InputArgumentUtils

BugCategoryDetailsLine
Method com.zmicer.utils.InputArgumentUtils.checkObjects(Object[]) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION55

com.zmicer.utils.ReflexionUtils

BugCategoryDetailsLine
Method com.zmicer.utils.ReflexionUtils.reflectObjects(java.util.Map,boolean) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR81

com.zmicer.utils.ResourceUtils

BugCategoryDetailsLine
Redundant comparison of non-null value to null in com.zmicer.utils.ResourceUtils.getResource(String)STYLERCN_REDUNDANT_COMPARISON_OF_NULL_AND_NONNULL_VALUE158
Method com.zmicer.utils.ResourceUtils.getResource(String) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION182

com.zmicer.utils.StringUtils

BugCategoryDetailsLine
Method com.zmicer.utils.StringUtils.getBoolean(String) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version insteadI18NDM_CONVERT_CASE63

com.zmicer.utils.junit.JUnitUtils

BugCategoryDetailsLine
Method com.zmicer.utils.junit.JUnitUtils.checkOnWrongArgs(Object,String,boolean[],Class[],Object[]) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION139
Method com.zmicer.utils.junit.JUnitUtils.runFailure(Object,String,Class,Class[],Object[]) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION179