The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is medium
Effort is min
Class | Bugs |
---|---|
org.codehaus.mojo.exec.AbstractExecMojo | 3 |
org.codehaus.mojo.exec.EclipseFormatterMojo | 8 |
org.codehaus.mojo.exec.ExecMojo | 3 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten field: org.codehaus.mojo.exec.AbstractExecMojo.commandlineArgs | CORRECTNESS | UWF_UNWRITTEN_FIELD | 113 | Medium |
Unwritten field: org.codehaus.mojo.exec.AbstractExecMojo.sourceRoot | CORRECTNESS | UWF_UNWRITTEN_FIELD | 135 | Medium |
Unwritten field: org.codehaus.mojo.exec.AbstractExecMojo.testSourceRoot | CORRECTNESS | UWF_UNWRITTEN_FIELD | 140 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.codehaus.mojo.exec.EclipseFormatterMojo.getEclipseArgs() may expose internal representation by returning EclipseFormatterMojo.eclipseArgs | MALICIOUS_CODE | EI_EXPOSE_REP | 273 | Medium |
org.codehaus.mojo.exec.EclipseFormatterMojo.getExcludes() may expose internal representation by returning EclipseFormatterMojo.excludes | MALICIOUS_CODE | EI_EXPOSE_REP | 249 | Medium |
org.codehaus.mojo.exec.EclipseFormatterMojo.getIncludes() may expose internal representation by returning EclipseFormatterMojo.includes | MALICIOUS_CODE | EI_EXPOSE_REP | 241 | Medium |
org.codehaus.mojo.exec.EclipseFormatterMojo.getJavaBinaries() may expose internal representation by returning EclipseFormatterMojo.javaBinaries | MALICIOUS_CODE | EI_EXPOSE_REP | 257 | Medium |
org.codehaus.mojo.exec.EclipseFormatterMojo.setEclipseArgs(String[]) may expose internal representation by storing an externally mutable object into EclipseFormatterMojo.eclipseArgs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 277 | Medium |
org.codehaus.mojo.exec.EclipseFormatterMojo.setExcludes(String[]) may expose internal representation by storing an externally mutable object into EclipseFormatterMojo.excludes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 253 | Medium |
org.codehaus.mojo.exec.EclipseFormatterMojo.setIncludes(String[]) may expose internal representation by storing an externally mutable object into EclipseFormatterMojo.includes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 245 | Medium |
org.codehaus.mojo.exec.EclipseFormatterMojo.setJavaBinaries(String[]) may expose internal representation by storing an externally mutable object into EclipseFormatterMojo.javaBinaries | MALICIOUS_CODE | EI_EXPOSE_REP2 | 261 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.codehaus.mojo.exec.ExecMojo.createJar(List, String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 573 | Medium |
Unwritten field: org.codehaus.mojo.exec.ExecMojo.outputFile | CORRECTNESS | UWF_UNWRITTEN_FIELD | 318 | Medium |
Unwritten field: org.codehaus.mojo.exec.ExecMojo.session | CORRECTNESS | UWF_UNWRITTEN_FIELD | 533 | Medium |