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 |
|---|---|---|---|
| 321 | 23 | 0 | 1 |
| Bug | Category | Details | Line |
|---|---|---|---|
| com.atlassian.bamboo.plugins.findbugs.FindBugsViolationInformation defines compareTo(Object) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 35-39 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Class com.atlassian.bamboo.plugins.findbugs.action.ViewFindBugsBuildResults defines non-transient non-serializable instance field bugChangesBean | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class com.atlassian.bamboo.plugins.findbugs.action.ViewFindBugsBuildResults defines non-transient non-serializable instance field groupSummaryBean | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class com.atlassian.bamboo.plugins.findbugs.action.ViewFindBugsBuildResults defines non-transient non-serializable instance field overallSummaryBean | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class com.atlassian.bamboo.plugins.findbugs.action.ViewFindBugsBuildResults defines non-transient non-serializable instance field utils | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Class com.atlassian.bamboo.plugins.findbugs.action.ViewFindBugsSummary defines non-transient non-serializable instance field filterController | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class com.atlassian.bamboo.plugins.findbugs.action.ViewFindBugsSummary defines non-transient non-serializable instance field pluginManager | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| ViewFindBugsSummary.pluginManager not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| BuildResultsCondition.buildResultsSummaryManager not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| PlanSummaryCondition.buildManager not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to currentBuildState in com.atlassian.bamboo.plugins.findbugs.build.BuildProcessor.call() | STYLE | DLS_DEAD_LOCAL_STORE | 105 |
| Field BuildProcessor.buildContext masks field in superclass com.atlassian.bamboo.v2.build.BaseConfigurableBuildPlugin | CORRECTNESS | MF_CLASS_MASKS_FIELD | Not available |
| com.atlassian.bamboo.plugins.findbugs.build.BuildProcessor.call() may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 170 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Should com.atlassian.bamboo.plugins.findbugs.build.BuildProcessor$FindBugsFileVisitor be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| BuildProcessorServer.buildResultsSummaryManager not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class com.atlassian.bamboo.plugins.findbugs.charts.FindBugsDeltaByAuthorCollector$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Class com.atlassian.bamboo.plugins.findbugs.charts.FindBugsDeltaByAuthorLineChart implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Class com.atlassian.bamboo.plugins.findbugs.charts.ViolationSummaryLineChart implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| com.atlassian.bamboo.plugins.findbugs.report.Report defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 248-272 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Method com.atlassian.bamboo.plugins.findbugs.report.ReportFactory.createXmlBugFromNode(BugInstance) directly allocates a specific implementation of xml interfaces | STYLE | XFB_XML_FACTORY_BYPASS | 163 |
| Method com.atlassian.bamboo.plugins.findbugs.report.ReportFactory.toXmlDocument(Report) directly allocates a specific implementation of xml interfaces | STYLE | XFB_XML_FACTORY_BYPASS | 85 |
| Method com.atlassian.bamboo.plugins.findbugs.report.ReportFactory.toXmlDocument(Report) directly allocates a specific implementation of xml interfaces | STYLE | XFB_XML_FACTORY_BYPASS | 88 |
| Method com.atlassian.bamboo.plugins.findbugs.report.ReportFactory.toXmlDocument(Report) directly allocates a specific implementation of xml interfaces | STYLE | XFB_XML_FACTORY_BYPASS | 97 |