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 |
---|---|---|---|
267 | 18 | 61 | 12 |
Bug | Category | Details | Line |
---|---|---|---|
Load of known null value in net.sf.ezmorph.MorpherRegistry.morph(Class,Object) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 149 |
Load of known null value in net.sf.ezmorph.MorpherRegistry.morph(Class,Object) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 154 |
Method net.sf.ezmorph.MorpherRegistry.morph(Class,Object) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 156 |
Bug | Category | Details | Line |
---|---|---|---|
Possible null pointer dereference of clazz in net.sf.ezmorph.array.ObjectArrayMorpher.supports(Class) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 128 |
Bug | Category | Details | Line |
---|---|---|---|
Load of known null value in net.sf.ezmorph.bean.BeanMorpher.setProperty(Object,String,Class,Class,Object) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 158 |
Method net.sf.ezmorph.bean.BeanMorpher.morph(Object) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 135 |
Bug | Category | Details | Line |
---|---|---|---|
Load of known null value in net.sf.ezmorph.bean.MorphDynaBean.get(String) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 111 |
Bug | Category | Details | Line |
---|---|---|---|
net.sf.ezmorph.bean.MorphDynaClass.getDynaProperties() may expose internal representation by returning net.sf.ezmorph.bean.MorphDynaClass.dynaProperties | MALICIOUS_CODE | EI_EXPOSE_REP | 135 |
Bug | Category | Details | Line |
---|---|---|---|
Method net.sf.ezmorph.object.DateMorpher.morph(Object) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead | I18N | DM_CONVERT_CASE | 200 |
net.sf.ezmorph.object.DateMorpher.morph(Object) may expose internal representation by returning net.sf.ezmorph.object.DateMorpher.defaultValue | MALICIOUS_CODE | EI_EXPOSE_REP | 209 |
net.sf.ezmorph.object.DateMorpher.DateMorpher(String[],java.util.Date,java.util.Locale,boolean) may expose internal representation by storing an externally mutable object into net.sf.ezmorph.object.DateMorpher.formats | MALICIOUS_CODE | EI_EXPOSE_REP2 | 84 |
net.sf.ezmorph.object.DateMorpher.DateMorpher(String[],java.util.Locale,boolean) may expose internal representation by storing an externally mutable object into net.sf.ezmorph.object.DateMorpher.formats | MALICIOUS_CODE | EI_EXPOSE_REP2 | 116 |
Bug | Category | Details | Line |
---|---|---|---|
net.sf.ezmorph.object.MapToDateMorpher.morph(Object) may expose internal representation by returning net.sf.ezmorph.object.MapToDateMorpher.defaultValue | MALICIOUS_CODE | EI_EXPOSE_REP | 111 |
net.sf.ezmorph.object.MapToDateMorpher.MapToDateMorpher(java.util.Date) may expose internal representation by storing an externally mutable object into net.sf.ezmorph.object.MapToDateMorpher.defaultValue | MALICIOUS_CODE | EI_EXPOSE_REP2 | 49 |
Bug | Category | Details | Line |
---|---|---|---|
Load of known null value in net.sf.ezmorph.object.ObjectListMorpher.morph(Object) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 100 |
Bug | Category | Details | Line |
---|---|---|---|
net.sf.ezmorph.test.ArrayAssertions.assertEquals(String,Object[],boolean[]) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 842 |
net.sf.ezmorph.test.ArrayAssertions.assertEquals(String,boolean[],Object[]) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 382 |
Possible null pointer dereference of expected in net.sf.ezmorph.test.ArrayAssertions.assertEquals(String,Object,Object) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 800 |