The following document contains the results of FindBugs Report
FindBugs Version is 1.1.1
Threshold is Low
Effort is Default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
190 | 9 | 0 | 4 |
Class | Bugs |
---|---|
com.zmicer.utils.FileUtils | 2 |
com.zmicer.utils.InputArgumentUtils | 1 |
com.zmicer.utils.ReflexionUtils | 1 |
com.zmicer.utils.ResourceUtils | 2 |
com.zmicer.utils.StringUtils | 1 |
com.zmicer.utils.junit.JUnitUtils | 2 |
Bug | Category | Details | Line |
---|---|---|---|
Method com.zmicer.utils.FileUtils.getResourceBundleViaFile(String) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 289 |
Method com.zmicer.utils.FileUtils.constructPath(String[]) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 314 |
Bug | Category | Details | Line |
---|---|---|---|
Method com.zmicer.utils.InputArgumentUtils.checkObjects(Object[]) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 55 |
Bug | Category | Details | Line |
---|---|---|---|
Method com.zmicer.utils.ReflexionUtils.reflectObjects(java.util.Map,boolean) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 81 |
Bug | Category | Details | Line |
---|---|---|---|
Redundant comparison of non-null value to null in com.zmicer.utils.ResourceUtils.getResource(String) | STYLE | RCN_REDUNDANT_COMPARISON_OF_NULL_AND_NONNULL_VALUE | 158 |
Method com.zmicer.utils.ResourceUtils.getResource(String) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 182 |
Bug | Category | Details | Line |
---|---|---|---|
Method com.zmicer.utils.StringUtils.getBoolean(String) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead | I18N | DM_CONVERT_CASE | 63 |
Bug | Category | Details | Line |
---|---|---|---|
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 caught | STYLE | REC_CATCH_EXCEPTION | 139 |
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 caught | STYLE | REC_CATCH_EXCEPTION | 179 |