The following document contains the results of FindBugs
FindBugs Version is 3.0.0
Threshold is
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exceptional return value of java.io.File.delete() ignored in org.andromda.core.cartridge.Cartridge.writeResource(Resource, URL) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 622 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.andromda.core.common.ClassUtils shadows the simple name of the superclass org.apache.commons.lang.ClassUtils | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 23-392 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.andromda.core.common.ComponentContainer.instance from instance method org.andromda.core.common.ComponentContainer.shutdown() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 582 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.andromda.core.common.ExceptionRecorder.record(String, Throwable, String): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 143 | High |
Exceptional return value of java.io.File.mkdir() ignored in org.andromda.core.common.ExceptionRecorder.<static initializer for ExceptionRecorder>() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 242 | Medium |
org.andromda.core.common.ExceptionRecorder.getUniqueName(String) calls Thread.sleep() with a lock held | MT_CORRECTNESS | SWL_SLEEP_WITH_LOCK_HELD | 209 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Null passed for nonnull parameter of getReadMethod(Object, String) in org.andromda.core.common.Introspector.internalGetProperty(Object, String) | CORRECTNESS | NP_NULL_PARAM_DEREF | 507 | Medium |
Null passed for nonnull parameter of getWriteMethod(Object, String) in org.andromda.core.common.Introspector.internalSetProperty(Object, String, Object) | CORRECTNESS | NP_NULL_PARAM_DEREF | 579 | Medium |
Write to static field org.andromda.core.common.Introspector.instance from instance method org.andromda.core.common.Introspector.shutdown() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 610 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exceptional return value of java.io.File.mkdirs() ignored in org.andromda.core.common.ResourceUtils.makeDirectories(File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 441 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Null passed for nonnull parameter of writeStringToFile(String, String, boolean) in org.andromda.core.common.ResourceWriter.writeStringToFile(String, File) | CORRECTNESS | NP_NULL_PARAM_DEREF | 90 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Null passed for nonnull parameter of getObject(String, URL) in org.andromda.core.common.XmlObjectFactory.getObject(URL) | CORRECTNESS | NP_NULL_PARAM_DEREF | 234 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.andromda.core.configuration.Configuration.getInstance(InputStream): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 50 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.andromda.core.engine.ModelProcessor.modelValidation from instance method org.andromda.core.engine.ModelProcessor.setModelValidation(boolean) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 603 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.andromda.core.mapping.Mapping.getTo(): new java.io.FileReader(String) | I18N | DM_DEFAULT_ENCODING | 70 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.andromda.core.mapping.Mappings.getInstance(File): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 208 | High |
org.andromda.core.mapping.Mappings.getInstance(File) may fail to clean up java.io.Reader on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 208 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.andromda.core.metafacade.MetafacadeFactory.instance from instance method org.andromda.core.metafacade.MetafacadeFactory.shutdown() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 798 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.andromda.core.metafacade.ModelValidationMessage.equals(Object) fails for subtypes | BAD_PRACTICE | EQ_GETCLASS_AND_CLASS_CONSTANT | 183 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.andromda.core.namespace.NamespaceComponents.instance from instance method org.andromda.core.namespace.NamespaceComponents.shutdown() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 342 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.andromda.core.profile.Profile.instance from instance method org.andromda.core.profile.Profile.shutdown() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 214 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception is caught when Exception is not thrown in org.andromda.core.transformation.XslTransformer.transform(String, Transformation[]) | STYLE | REC_CATCH_EXCEPTION | 100 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.andromda.core.transformation.XslTransformer.transform(String, Transformation[]) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 79 | Medium |