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 |
---|---|---|---|
130 | 6 | 0 | 0 |
Class | Bugs |
---|---|
org.xulux.utils.BooleanUtils | 1 |
org.xulux.utils.ClassLoaderUtils | 2 |
org.xulux.utils.StringUtils | 1 |
org.xulux.utils.Translation | 1 |
org.xulux.utils.Translator | 1 |
Bug | Category | Details | Line |
---|---|---|---|
Comparison of String parameter using == or != in org.xulux.utils.BooleanUtils.toBoolean(String) | BAD_PRACTICE | ES_COMPARING_PARAMETER_STRING_WITH_EQ | 633 |
Bug | Category | Details | Line |
---|---|---|---|
Method org.xulux.utils.ClassLoaderUtils.getObjectFromClass(Class,java.util.List) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 223 |
Method org.xulux.utils.ClassLoaderUtils.getParentObjectForInnerClass(Class) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 134 |
Bug | Category | Details | Line |
---|---|---|---|
Method org.xulux.utils.StringUtils.capitalize(String) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead | I18N | DM_CONVERT_CASE | 66 |
Bug | Category | Details | Line |
---|---|---|---|
org.xulux.utils.Translation defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 100-112 |
Bug | Category | Details | Line |
---|---|---|---|
Method org.xulux.utils.Translator.getInstance() needlessly instantiates a class that only supplies static methods | BAD_PRACTICE | ISC_INSTANTIATE_STATIC_CLASS | 49 |