FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is low
Effort is max
Files
Class | Bugs |
---|---|
org.apache.myfaces.tobago.maven.plugin.AbstractThemeMojo | 3 |
org.apache.myfaces.tobago.maven.plugin.IndexThemeMojo | 4 |
org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo | 8 |
org.apache.myfaces.tobago.maven.plugin.AbstractThemeMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.myfaces.tobago.maven.plugin.AbstractThemeMojo.getExcludes() may expose internal representation by returning AbstractThemeMojo.EXCLUDES | MALICIOUS_CODE | EI_EXPOSE_REP | 66 | Medium |
org.apache.myfaces.tobago.maven.plugin.AbstractThemeMojo.getIncludes() may expose internal representation by returning AbstractThemeMojo.INCLUDES | MALICIOUS_CODE | EI_EXPOSE_REP | 62 | Medium |
Unwritten field: org.apache.myfaces.tobago.maven.plugin.AbstractThemeMojo.project | CORRECTNESS | UWF_UNWRITTEN_FIELD | 49 | Medium |
org.apache.myfaces.tobago.maven.plugin.IndexThemeMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.myfaces.tobago.maven.plugin.IndexThemeMojo.getExcludes() may expose internal representation by returning IndexThemeMojo.EXCLUDES | MALICIOUS_CODE | EI_EXPOSE_REP | 127 | Medium |
Read of unwritten field tobagoResourcesFile in org.apache.myfaces.tobago.maven.plugin.IndexThemeMojo.execute() | CORRECTNESS | NP_UNWRITTEN_FIELD | 63 | Medium |
IndexThemeMojo.outputDirectory not initialized in constructor and dereferenced in org.apache.myfaces.tobago.maven.plugin.IndexThemeMojo.execute() | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | 67 | Low |
Unwritten field: org.apache.myfaces.tobago.maven.plugin.IndexThemeMojo.tobagoResourcesFile | CORRECTNESS | UWF_UNWRITTEN_FIELD | 63 | Medium |
org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo.execute(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 168 | High |
Read of unwritten field workDirectory in org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo.execute() | CORRECTNESS | NP_UNWRITTEN_FIELD | 126 | Medium |
Read of unwritten field archiverManager in org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo.unpack(File, File) | CORRECTNESS | NP_UNWRITTEN_FIELD | 222 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo.execute() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 127 | Medium |
Unwritten field: org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo.archiverManager | CORRECTNESS | UWF_UNWRITTEN_FIELD | 222 | Medium |
Unwritten field: org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo.webappDirectory | CORRECTNESS | UWF_UNWRITTEN_FIELD | 199 | Medium |
Unwritten field: org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo.workDirectory | CORRECTNESS | UWF_UNWRITTEN_FIELD | 126 | Medium |
Unwritten field: org.apache.myfaces.tobago.maven.plugin.UnPackThemeMojo.ignoreVersioned | CORRECTNESS | UWF_UNWRITTEN_FIELD | 158 | Low |