The following document contains the results of FindBugs Report
FindBugs Version is 1.2.0
Threshold is Low
Effort is Default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
131 | 9 | 0 | 0 |
Bug | Category | Details | Line |
---|---|---|---|
Write to static field com.atlassian.plugin.refimpl.ContainerManager.instance from instance method com.atlassian.plugin.refimpl.ContainerManager.ContainerManager(ServletContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 78 |
Usage of GetResource in com.atlassian.plugin.refimpl.ContainerManager.ContainerManager(ServletContext) may be unsafe if class is extended | BAD_PRACTICE | UI_INHERITANCE_UNSAFE_GETRESOURCE | 117 |
Bug | Category | Details | Line |
---|---|---|---|
Should com.atlassian.plugin.refimpl.ContainerManager$SimpleContentTypeResolver be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | Not available |
Bug | Category | Details | Line |
---|---|---|---|
com.atlassian.plugin.refimpl.DefaultPluginPersistentStateStore.DefaultPluginPersistentStateStore(File) ignores return value of java.io.File.createNewFile() | CORRECTNESS | RV_RETURN_VALUE_IGNORED | 33 |
Method com.atlassian.plugin.refimpl.DefaultPluginPersistentStateStore.load() makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 53 |
Bug | Category | Details | Line |
---|---|---|---|
Usage of GetResource in com.atlassian.plugin.refimpl.InitListener.initializeLogger() may be unsafe if class is extended | BAD_PRACTICE | UI_INHERITANCE_UNSAFE_GETRESOURCE | 41 |
Bug | Category | Details | Line |
---|---|---|---|
Class com/atlassian/plugin/refimpl/servlet/FileServerServlet.downloadStrategies extends Servlet class and uses instance variables | STYLE | MTIA_SUSPECT_SERVLET_INSTANCE_FIELD | 16 |
com.atlassian.plugin.refimpl.servlet.FileServerServlet is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | Not available |
Bug | Category | Details | Line |
---|---|---|---|
The class com.atlassian.plugin.refimpl.webresource.SimpleWebResourceIntegration$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |