The following document contains the results of FindBugs
FindBugs Version is 3.0.0
Threshold is
Effort is min
Class | Bugs |
---|---|
org.andromda.metafacades.uml.EntityMetafacadeUtils | 2 |
org.andromda.metafacades.uml.MetafacadeUtils | 1 |
org.andromda.metafacades.uml.UMLMetafacadeUtils | 3 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of EntityMetafacadeUtils.sortedEntities in org.andromda.metafacades.uml.EntityMetafacadeUtils.sortEntities(Collection, boolean) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 253 | Medium |
org.andromda.metafacades.uml.EntityMetafacadeUtils.sortEntities(Collection, boolean) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 360 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.andromda.metafacades.uml.MetafacadeUtils.calculateDefaultSUID(ClassifierFacade): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 357 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
instanceof will always return true for all nonnull values in org.andromda.metafacades.uml.UMLMetafacadeUtils.createConstructor(ModelElementFacade, boolean, ModelElementFacade), since all org.andromda.metafacades.uml.ClassifierFacade are instances of org.andromda.metafacades.uml.GeneralizableElementFacade | STYLE | BC_VACUOUS_INSTANCEOF | 974 | Medium |
Call to org.andromda.metafacades.uml.ClassifierFacade.equals(String) in org.andromda.metafacades.uml.UMLMetafacadeUtils.createConstructor(ModelElementFacade, boolean, ModelElementFacade) | CORRECTNESS | EC_UNRELATED_CLASS_AND_INTERFACE | 836 | High |
Incorrect lazy initialization of static field org.andromda.metafacades.uml.UMLMetafacadeUtils.df in org.andromda.metafacades.uml.UMLMetafacadeUtils.getDate(String) | MT_CORRECTNESS | LI_LAZY_INIT_STATIC | 1140-1142 | Medium |