FindBugs Bug Detector Report
The following document contains the results of FindBugs Report
FindBugs Version is 1.3.8
Threshold is Low
Effort is Max
Summary
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
48 | 12 | 0 | 0 |
Files
Class | Bugs |
---|---|
org.apache.myfaces.tobago.maven.plugin.AbstractThemeMojo | 1 |
org.apache.myfaces.tobago.maven.plugin.PackThemeMojo | 4 |
org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo | 7 |
org.apache.myfaces.tobago.maven.plugin.AbstractThemeMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten field: org.apache.myfaces.tobago.maven.plugin.AbstractThemeMojo.project | CORRECTNESS | UWF_UNWRITTEN_FIELD | 41 | Medium |
org.apache.myfaces.tobago.maven.plugin.PackThemeMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.myfaces.tobago.maven.plugin.PackThemeMojo.getExcludes() uses Collection.toArray() with zero-length array argument | PERFORMANCE | ITA_INEFFICIENT_TO_ARRAY | 190 | Low |
org.apache.myfaces.tobago.maven.plugin.PackThemeMojo.buildExplodedTheme(File) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 146 | Medium |
org.apache.myfaces.tobago.maven.plugin.PackThemeMojo.buildTheme(MavenProject, File) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 177 | Medium |
Unread field: org.apache.myfaces.tobago.maven.plugin.PackThemeMojo.archive | PERFORMANCE | URF_UNREAD_FIELD | 107 | Medium |
org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Read of unwritten field workDirectory in org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo.execute() | CORRECTNESS | NP_UNWRITTEN_FIELD | 108 | Medium |
Read of unwritten field archiverManager in org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo.unpack(File, File) | CORRECTNESS | NP_UNWRITTEN_FIELD | 154 | Medium |
org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo.execute() ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 109 | Medium |
Unused field: org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo.pluginArtifacts | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Unwritten field: org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo.archiverManager | CORRECTNESS | UWF_UNWRITTEN_FIELD | 154 | Medium |
Unwritten field: org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo.webappDirectory | CORRECTNESS | UWF_UNWRITTEN_FIELD | 135 | Medium |
Unwritten field: org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo.workDirectory | CORRECTNESS | UWF_UNWRITTEN_FIELD | 108 | Medium |