The following document contains the results of FindBugs
FindBugs Version is 3.0.0
Threshold is
Effort is min
| Class | Bugs |
|---|---|
| org.andromda.scriptwrappers.BshScriptWrapper | 2 |
| org.andromda.scriptwrappers.GroovyScriptWrapper | 4 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.andromda.scriptwrappers.BshScriptWrapper.copyProperties(Object, Object) might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 167 | Medium |
| Exception is caught when Exception is not thrown in org.andromda.scriptwrappers.BshScriptWrapper.copyProperties(Object, Object) | STYLE | REC_CATCH_EXCEPTION | 167 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.andromda.scriptwrappers.GroovyScriptWrapper.copyProperties(Object, GroovyObject) might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 183 | Medium |
| Found reliance on default encoding in org.andromda.scriptwrappers.GroovyScriptWrapper.getContents(File): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 111 | High |
| org.andromda.scriptwrappers.GroovyScriptWrapper.invoke(String, Object[]) creates a groovy.lang.GroovyClassLoader classloader, which should be performed within a doPrivileged block | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 58 | Medium |
| Exception is caught when Exception is not thrown in org.andromda.scriptwrappers.GroovyScriptWrapper.copyProperties(Object, GroovyObject) | STYLE | REC_CATCH_EXCEPTION | 183 | Medium |