FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.0

Threshold is Low

Effort is Default

Summary

Classes Bugs Errors Missing Classes
1191 110 0 7

Files

Class Bugs
com.atlassian.theplugin.eclipse.core.bamboo.BambooServer 1
com.atlassian.theplugin.eclipse.core.operation.AbstractNonLockingOperation 1
com.atlassian.theplugin.eclipse.core.operation.CompositeOperation$Pair 2
com.atlassian.theplugin.eclipse.core.operation.UILoggedOperation$1 1
com.atlassian.theplugin.eclipse.core.operation.bamboo.DeleteBambooServerOperation 1
com.atlassian.theplugin.eclipse.core.operation.bamboo.DeleteBambooServerOperation$1 1
com.atlassian.theplugin.eclipse.core.operation.bamboo.RefreshBambooServersOperation 1
com.atlassian.theplugin.eclipse.editors.bamboo.BuildLogEditor 1
com.atlassian.theplugin.eclipse.preferences.Activator 2
com.atlassian.theplugin.eclipse.preferences.Activator$1 2
com.atlassian.theplugin.eclipse.preferences.BambooPlanListFieldEditor 2
com.atlassian.theplugin.eclipse.preferences.BambooPlanListFieldEditor$Column 1
com.atlassian.theplugin.eclipse.preferences.BambooTabConfiguration 3
com.atlassian.theplugin.eclipse.preferences.MyIntegerFieldEditor 1
com.atlassian.theplugin.eclipse.preferences.MyStringFieldEditor 1
com.atlassian.theplugin.eclipse.preferences.PasswordFieldEditor 1
com.atlassian.theplugin.eclipse.preferences.PreferencePageServers$1 1
com.atlassian.theplugin.eclipse.preferences.ProjectConfigurationWrapper 1
com.atlassian.theplugin.eclipse.preferences.TestConnection$TestConnectionListener$1 1
com.atlassian.theplugin.eclipse.ui.RefreshPending 1
com.atlassian.theplugin.eclipse.ui.bamboo.BambooErrorNode 1
com.atlassian.theplugin.eclipse.ui.bamboo.BambooPlanNode 1
com.atlassian.theplugin.eclipse.ui.bamboo.BambooPlans 2
com.atlassian.theplugin.eclipse.ui.bamboo.BambooPlans$1 1
com.atlassian.theplugin.eclipse.ui.bamboo.BambooServerNode 2
com.atlassian.theplugin.eclipse.ui.bamboo.BambooServersRoot 1
com.atlassian.theplugin.eclipse.ui.bamboo.BambooServersRoot$1 1
com.atlassian.theplugin.eclipse.ui.bamboo.BambooServersView 1
com.atlassian.theplugin.eclipse.ui.bamboo.BambooServersView$4 1
com.atlassian.theplugin.eclipse.ui.bamboo.BambooServersView$9 1
com.atlassian.theplugin.eclipse.ui.bamboo.BambooTreeViewer 3
com.atlassian.theplugin.eclipse.ui.bamboo.IBambooResource$Info 1
com.atlassian.theplugin.eclipse.ui.composite.ReportingComposite 2
com.atlassian.theplugin.eclipse.ui.composite.ReportingComposite$1 1
com.atlassian.theplugin.eclipse.ui.debugmail.Reporter 1
com.atlassian.theplugin.eclipse.ui.dialog.AdvancedDialog 1
com.atlassian.theplugin.eclipse.ui.dialog.DefaultDialog 1
com.atlassian.theplugin.eclipse.ui.dialog.DefaultDialog$2 1
com.atlassian.theplugin.eclipse.ui.operation.bamboo.GetBambooPlansChildrenOperation 1
com.atlassian.theplugin.eclipse.ui.panel.AbstractAdvancedDialogPanel 2
com.atlassian.theplugin.eclipse.ui.panel.AbstractDialogPanel 2
com.atlassian.theplugin.eclipse.ui.panel.AbstractDialogPanel$VerificationKeyListener 2
com.atlassian.theplugin.eclipse.ui.panel.reporting.PreviewPanel 1
com.atlassian.theplugin.eclipse.ui.verifier.AbstractFormattedVerifier 1
com.atlassian.theplugin.eclipse.ui.verifier.AbstractVerifier 3
com.atlassian.theplugin.eclipse.ui.verifier.NonEmptyFieldVerifier 2
com.atlassian.theplugin.eclipse.ui.verifier.URLVerifier 4
com.atlassian.theplugin.eclipse.ui.wizard.AbstractVerifiedWizardPage$VerificationKeyListener 1
com.atlassian.theplugin.eclipse.ui.wizard.bamboo.AddBambooServerPage$1 1
com.atlassian.theplugin.eclipse.ui.wizard.bamboo.AddBambooServerPage$3 1
com.atlassian.theplugin.eclipse.ui.wizard.bamboo.AddBambooServerPage$ProjectListPanel 1
com.atlassian.theplugin.eclipse.util.FileUtil 5
com.atlassian.theplugin.eclipse.util.StringId 1
com.atlassian.theplugin.eclipse.view.bamboo.BambooConfigurationStorage 1
com.atlassian.theplugin.eclipse.view.bamboo.BambooStatusBar$1 1
com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindow 5
com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindowContent$BambooLabelProvider 1
com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindowHtmlContent 2
com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindowHtmlContent$BrowserLocationListener 1
com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindowHtmlContent$MouseClickListener 1
com.atlassian.theplugin.eclipse.view.popup.AbstractNotificationPopup$5 1
com.atlassian.theplugin.eclipse.view.popup.AbstractTask 8
com.atlassian.theplugin.eclipse.view.popup.AbstractTask$PriorityLevel 1
com.atlassian.theplugin.eclipse.view.popup.CompositeSynchImageDescriptor 3
com.atlassian.theplugin.eclipse.view.popup.NotificationPopup 1
com.atlassian.theplugin.eclipse.view.popup.SwtUtil 6
com.atlassian.theplugin.eclipse.view.popup.TaskListColorsAndFonts 1

com.atlassian.theplugin.eclipse.core.bamboo.BambooServer

Bug Category Details Line
Dead store to prime in com.atlassian.theplugin.eclipse.core.bamboo.BambooServer.hashCode() STYLE DLS_DEAD_LOCAL_STORE 105

com.atlassian.theplugin.eclipse.core.operation.AbstractNonLockingOperation

Bug Category Details Line
com.atlassian.theplugin.eclipse.core.operation.AbstractNonLockingOperation.NON_LOCKING_RULE isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 23

com.atlassian.theplugin.eclipse.core.operation.CompositeOperation$Pair

Bug Category Details Line
com.atlassian.theplugin.eclipse.core.operation.CompositeOperation$Pair.Pair(CompositeOperation, IActionOperation, IActionOperation[]) may expose internal representation by storing an externally mutable object into CompositeOperation$Pair.dependsOnOperation MALICIOUS_CODE EI_EXPOSE_REP2 114
Should com.atlassian.theplugin.eclipse.core.operation.CompositeOperation$Pair be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC Not available

com.atlassian.theplugin.eclipse.core.operation.UILoggedOperation$1

Bug Category Details Line
Method com.atlassian.theplugin.eclipse.core.operation.UILoggedOperation$1.1(String, String, IStatus, boolean) creates a thread using the default empty run method MT_CORRECTNESS DM_USELESS_THREAD 59

com.atlassian.theplugin.eclipse.core.operation.bamboo.DeleteBambooServerOperation

Bug Category Details Line
com.atlassian.theplugin.eclipse.core.operation.bamboo.DeleteBambooServerOperation.DeleteBambooServerOperation(IBambooServer[]) may expose internal representation by storing an externally mutable object into DeleteBambooServerOperation.servers MALICIOUS_CODE EI_EXPOSE_REP2 31

com.atlassian.theplugin.eclipse.core.operation.bamboo.DeleteBambooServerOperation$1

Bug Category Details Line
The class com.atlassian.theplugin.eclipse.core.operation.bamboo.DeleteBambooServerOperation$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.atlassian.theplugin.eclipse.core.operation.bamboo.RefreshBambooServersOperation

Bug Category Details Line
com.atlassian.theplugin.eclipse.core.operation.bamboo.RefreshBambooServersOperation.RefreshBambooServersOperation(Object[], boolean) may expose internal representation by storing an externally mutable object into RefreshBambooServersOperation.nodes MALICIOUS_CODE EI_EXPOSE_REP2 37

com.atlassian.theplugin.eclipse.editors.bamboo.BuildLogEditor

Bug Category Details Line
BuildLogEditor.text not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available

com.atlassian.theplugin.eclipse.preferences.Activator

Bug Category Details Line
Write to static field com.atlassian.theplugin.eclipse.preferences.Activator.plugin from instance method com.atlassian.theplugin.eclipse.preferences.Activator.start(BundleContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 94
Write to static field com.atlassian.theplugin.eclipse.preferences.Activator.plugin from instance method com.atlassian.theplugin.eclipse.preferences.Activator.stop(BundleContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 143

com.atlassian.theplugin.eclipse.preferences.Activator$1

Bug Category Details Line
Method com.atlassian.theplugin.eclipse.preferences.Activator$1.belongsTo(Object) uses the same code for two switch clauses STYLE DB_DUPLICATE_SWITCH_CLAUSES 275
The class com.atlassian.theplugin.eclipse.preferences.Activator$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.atlassian.theplugin.eclipse.preferences.BambooPlanListFieldEditor

Bug Category Details Line
Dead store to empty1 in com.atlassian.theplugin.eclipse.preferences.BambooPlanListFieldEditor.doFillIntoGrid(Composite, int) STYLE DLS_DEAD_LOCAL_STORE 132
Dead store to empty2 in com.atlassian.theplugin.eclipse.preferences.BambooPlanListFieldEditor.doFillIntoGrid(Composite, int) STYLE DLS_DEAD_LOCAL_STORE 172

com.atlassian.theplugin.eclipse.preferences.BambooPlanListFieldEditor$Column

Bug Category Details Line
Method com.atlassian.theplugin.eclipse.preferences.BambooPlanListFieldEditor$Column.getNames() uses Collection.toArray() with zero-length array argument PERFORMANCE ITA_INEFFICIENT_TO_ARRAY 411

com.atlassian.theplugin.eclipse.preferences.BambooTabConfiguration

Bug Category Details Line
com.atlassian.theplugin.eclipse.preferences.BambooTabConfiguration.getColumnsOrder() may expose internal representation by returning BambooTabConfiguration.columnsOrder MALICIOUS_CODE EI_EXPOSE_REP 28
com.atlassian.theplugin.eclipse.preferences.BambooTabConfiguration.setColumnsOrder(int[]) may expose internal representation by storing an externally mutable object into BambooTabConfiguration.columnsOrder MALICIOUS_CODE EI_EXPOSE_REP2 32
BambooTabConfiguration.columnsOrder not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available

com.atlassian.theplugin.eclipse.preferences.MyIntegerFieldEditor

Bug Category Details Line
Method com.atlassian.theplugin.eclipse.preferences.MyIntegerFieldEditor.setValidRange(int, int) invokes inefficient Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 80

com.atlassian.theplugin.eclipse.preferences.MyStringFieldEditor

Bug Category Details Line
Possible null pointer dereference of MyStringFieldEditor.textField in com.atlassian.theplugin.eclipse.preferences.MyStringFieldEditor.checkState() CORRECTNESS NP_NULL_ON_SOME_PATH 194

com.atlassian.theplugin.eclipse.preferences.PasswordFieldEditor

Bug Category Details Line
Possible null pointer dereference of PasswordFieldEditor.textField in com.atlassian.theplugin.eclipse.preferences.PasswordFieldEditor.checkState() CORRECTNESS NP_NULL_ON_SOME_PATH 194

com.atlassian.theplugin.eclipse.preferences.PreferencePageServers$1

Bug Category Details Line
The class com.atlassian.theplugin.eclipse.preferences.PreferencePageServers$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.atlassian.theplugin.eclipse.preferences.ProjectConfigurationWrapper

Bug Category Details Line
com.atlassian.theplugin.eclipse.preferences.ProjectConfigurationWrapper.getPluginConfiguration() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead PERFORMANCE DM_BOOLEAN_CTOR 68

com.atlassian.theplugin.eclipse.preferences.TestConnection$TestConnectionListener$1

Bug Category Details Line
The class com.atlassian.theplugin.eclipse.preferences.TestConnection$TestConnectionListener$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.atlassian.theplugin.eclipse.ui.RefreshPending

Bug Category Details Line
Should com.atlassian.theplugin.eclipse.ui.RefreshPending.getChildren(Object) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 47

com.atlassian.theplugin.eclipse.ui.bamboo.BambooErrorNode

Bug Category Details Line
Should com.atlassian.theplugin.eclipse.ui.bamboo.BambooErrorNode.getChildren(Object) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 44

com.atlassian.theplugin.eclipse.ui.bamboo.BambooPlanNode

Bug Category Details Line
Should com.atlassian.theplugin.eclipse.ui.bamboo.BambooPlanNode.getChildren(Object) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 16

com.atlassian.theplugin.eclipse.ui.bamboo.BambooPlans

Bug Category Details Line
Should com.atlassian.theplugin.eclipse.ui.bamboo.BambooPlans.wrapChildren(BambooPlan[]) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 94
Redundant nullcheck of plans, which is known to be non-null in com.atlassian.theplugin.eclipse.ui.bamboo.BambooPlans.wrapChildren(BambooPlan[]) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 97

com.atlassian.theplugin.eclipse.ui.bamboo.BambooPlans$1

Bug Category Details Line
The class com.atlassian.theplugin.eclipse.ui.bamboo.BambooPlans$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.atlassian.theplugin.eclipse.ui.bamboo.BambooServerNode

Bug Category Details Line
com.atlassian.theplugin.eclipse.ui.bamboo.BambooServerNode.getChildren(Object) may expose internal representation by returning BambooServerNode.children MALICIOUS_CODE EI_EXPOSE_REP 80
com.atlassian.theplugin.eclipse.ui.bamboo.BambooServerNode defines equals and uses Object.hashCode() BAD_PRACTICE HE_EQUALS_USE_HASHCODE 88-91

com.atlassian.theplugin.eclipse.ui.bamboo.BambooServersRoot

Bug Category Details Line
com.atlassian.theplugin.eclipse.ui.bamboo.BambooServersRoot.getChildren(Object) may expose internal representation by returning BambooServersRoot.children MALICIOUS_CODE EI_EXPOSE_REP 97

com.atlassian.theplugin.eclipse.ui.bamboo.BambooServersRoot$1

Bug Category Details Line
The class com.atlassian.theplugin.eclipse.ui.bamboo.BambooServersRoot$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.atlassian.theplugin.eclipse.ui.bamboo.BambooServersView

Bug Category Details Line
BambooServersView.root not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available

com.atlassian.theplugin.eclipse.ui.bamboo.BambooServersView$4

Bug Category Details Line
The class com.atlassian.theplugin.eclipse.ui.bamboo.BambooServersView$4 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.atlassian.theplugin.eclipse.ui.bamboo.BambooServersView$9

Bug Category Details Line
The class com.atlassian.theplugin.eclipse.ui.bamboo.BambooServersView$9 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.atlassian.theplugin.eclipse.ui.bamboo.BambooTreeViewer

Bug Category Details Line
com.atlassian.theplugin.eclipse.ui.bamboo.BambooTreeViewer.internalRefreshStruct(Widget, Object, boolean) invokes java.lang.reflect.Method.setAccessible(boolean), which should be invoked from within a doPrivileged block BAD_PRACTICE DP_DO_INSIDE_DO_PRIVILEGED 201
Should com.atlassian.theplugin.eclipse.ui.bamboo.BambooTreeViewer.getIdenticalNodes(Object, boolean) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 230
Exception is caught when Exception is not thrown in com.atlassian.theplugin.eclipse.ui.bamboo.BambooTreeViewer.internalRefreshStruct(Widget, Object, boolean) STYLE REC_CATCH_EXCEPTION 203

com.atlassian.theplugin.eclipse.ui.bamboo.IBambooResource$Info

Bug Category Details Line
com.atlassian.theplugin.eclipse.ui.bamboo.IBambooResource$Info.Info(long, String, Date, boolean) may expose internal representation by storing an externally mutable object into IBambooResource$Info.lastChangedDate MALICIOUS_CODE EI_EXPOSE_REP2 35

com.atlassian.theplugin.eclipse.ui.composite.ReportingComposite

Bug Category Details Line
Dead store of null to report in com.atlassian.theplugin.eclipse.ui.composite.ReportingComposite.saveReport() STYLE DLS_DEAD_LOCAL_STORE_OF_NULL 326
Confusing to have methods com.atlassian.theplugin.eclipse.ui.composite.ReportingComposite.getUserName() and com.atlassian.theplugin.eclipse.core.bamboo.BambooServer.getUsername() BAD_PRACTICE NM_CONFUSING 103

com.atlassian.theplugin.eclipse.ui.composite.ReportingComposite$1

Bug Category Details Line
The class com.atlassian.theplugin.eclipse.ui.composite.ReportingComposite$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.atlassian.theplugin.eclipse.ui.debugmail.Reporter

Bug Category Details Line
Method com.atlassian.theplugin.eclipse.ui.debugmail.Reporter.formReport(IMailSettingsProvider, IStatus, String, String, String, String, String) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 112

com.atlassian.theplugin.eclipse.ui.dialog.AdvancedDialog

Bug Category Details Line
com.atlassian.theplugin.eclipse.ui.dialog.AdvancedDialog.setButtonEx(Button[]) may expose internal representation by storing an externally mutable object into AdvancedDialog.buttonsEx MALICIOUS_CODE EI_EXPOSE_REP2 165

com.atlassian.theplugin.eclipse.ui.dialog.DefaultDialog

Bug Category Details Line
Field DefaultDialog.message masks field in superclass org.eclipse.jface.dialogs.IconAndMessageDialog CORRECTNESS MF_CLASS_MASKS_FIELD Not available

com.atlassian.theplugin.eclipse.ui.dialog.DefaultDialog$2

Bug Category Details Line
The class com.atlassian.theplugin.eclipse.ui.dialog.DefaultDialog$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.atlassian.theplugin.eclipse.ui.operation.bamboo.GetBambooPlansChildrenOperation

Bug Category Details Line
com.atlassian.theplugin.eclipse.ui.operation.bamboo.GetBambooPlansChildrenOperation.getChildren() may expose internal representation by returning GetBambooPlansChildrenOperation.children MALICIOUS_CODE EI_EXPOSE_REP 39

com.atlassian.theplugin.eclipse.ui.panel.AbstractAdvancedDialogPanel

Bug Category Details Line
com.atlassian.theplugin.eclipse.ui.panel.AbstractAdvancedDialogPanel.getButtonNamesEx() may expose internal representation by returning AbstractAdvancedDialogPanel.buttonNamesEx MALICIOUS_CODE EI_EXPOSE_REP 35
com.atlassian.theplugin.eclipse.ui.panel.AbstractAdvancedDialogPanel.AbstractAdvancedDialogPanel(String[], String[]) may expose internal representation by storing an externally mutable object into AbstractAdvancedDialogPanel.buttonNamesEx MALICIOUS_CODE EI_EXPOSE_REP2 31

com.atlassian.theplugin.eclipse.ui.panel.AbstractDialogPanel

Bug Category Details Line
com.atlassian.theplugin.eclipse.ui.panel.AbstractDialogPanel.getButtonNames() may expose internal representation by returning AbstractDialogPanel.buttonNames MALICIOUS_CODE EI_EXPOSE_REP 89
com.atlassian.theplugin.eclipse.ui.panel.AbstractDialogPanel.AbstractDialogPanel(String[]) may expose internal representation by storing an externally mutable object into AbstractDialogPanel.buttonNames MALICIOUS_CODE EI_EXPOSE_REP2 47

com.atlassian.theplugin.eclipse.ui.panel.AbstractDialogPanel$VerificationKeyListener

Bug Category Details Line
Ambiguous invocation of either an outer or inherited method com.atlassian.theplugin.eclipse.ui.verifier.AbstractVerificationKeyListener.isFilledRight() in com.atlassian.theplugin.eclipse.ui.panel.AbstractDialogPanel$VerificationKeyListener.handleButtons() STYLE IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD 171
Ambiguous invocation of either an outer or inherited method com.atlassian.theplugin.eclipse.ui.verifier.AbstractVerificationKeyListener.isFilledRight() in com.atlassian.theplugin.eclipse.ui.panel.AbstractDialogPanel$VerificationKeyListener.handleButtons() STYLE IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD 173

com.atlassian.theplugin.eclipse.ui.panel.reporting.PreviewPanel

Bug Category Details Line
Dead store to styledRanges in com.atlassian.theplugin.eclipse.ui.panel.reporting.PreviewPanel.createControls(Composite) STYLE DLS_DEAD_LOCAL_STORE 77

com.atlassian.theplugin.eclipse.ui.verifier.AbstractFormattedVerifier

Bug Category Details Line
Method com.atlassian.theplugin.eclipse.ui.verifier.AbstractFormattedVerifier.getFormattedMessage(String) invokes toString() method on a String PERFORMANCE DM_STRING_TOSTRING 62

com.atlassian.theplugin.eclipse.ui.verifier.AbstractVerifier

Bug Category Details Line
Dead store of null to listeners in com.atlassian.theplugin.eclipse.ui.verifier.AbstractVerifier.fireError(String) STYLE DLS_DEAD_LOCAL_STORE_OF_NULL 95
Dead store of null to listeners in com.atlassian.theplugin.eclipse.ui.verifier.AbstractVerifier.fireOk() STYLE DLS_DEAD_LOCAL_STORE_OF_NULL 119
Dead store of null to listeners in com.atlassian.theplugin.eclipse.ui.verifier.AbstractVerifier.fireWarning(String) STYLE DLS_DEAD_LOCAL_STORE_OF_NULL 107

com.atlassian.theplugin.eclipse.ui.verifier.NonEmptyFieldVerifier

Bug Category Details Line
com.atlassian.theplugin.eclipse.ui.verifier.NonEmptyFieldVerifier.ERROR_MESSAGE should be package protected MALICIOUS_CODE MS_PKGPROTECT Not available
Write to static field com.atlassian.theplugin.eclipse.ui.verifier.NonEmptyFieldVerifier.ERROR_MESSAGE from instance method com.atlassian.theplugin.eclipse.ui.verifier.NonEmptyFieldVerifier.NonEmptyFieldVerifier(String) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 30

com.atlassian.theplugin.eclipse.ui.verifier.URLVerifier

Bug Category Details Line
com.atlassian.theplugin.eclipse.ui.verifier.URLVerifier.ERROR_MESSAGE_FULL should be package protected MALICIOUS_CODE MS_PKGPROTECT Not available
com.atlassian.theplugin.eclipse.ui.verifier.URLVerifier.ERROR_MESSAGE_SHORT should be package protected MALICIOUS_CODE MS_PKGPROTECT Not available
Write to static field com.atlassian.theplugin.eclipse.ui.verifier.URLVerifier.ERROR_MESSAGE_FULL from instance method com.atlassian.theplugin.eclipse.ui.verifier.URLVerifier.URLVerifier(String) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 38
Write to static field com.atlassian.theplugin.eclipse.ui.verifier.URLVerifier.ERROR_MESSAGE_SHORT from instance method com.atlassian.theplugin.eclipse.ui.verifier.URLVerifier.URLVerifier(String) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 33

com.atlassian.theplugin.eclipse.ui.wizard.AbstractVerifiedWizardPage$VerificationKeyListener

Bug Category Details Line
Ambiguous invocation of either an outer or inherited method com.atlassian.theplugin.eclipse.ui.verifier.AbstractVerificationKeyListener.isFilledRight() in com.atlassian.theplugin.eclipse.ui.wizard.AbstractVerifiedWizardPage$VerificationKeyListener.handleButtons() STYLE IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD 154

com.atlassian.theplugin.eclipse.ui.wizard.bamboo.AddBambooServerPage$1

Bug Category Details Line
The class com.atlassian.theplugin.eclipse.ui.wizard.bamboo.AddBambooServerPage$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.atlassian.theplugin.eclipse.ui.wizard.bamboo.AddBambooServerPage$3

Bug Category Details Line
The class com.atlassian.theplugin.eclipse.ui.wizard.bamboo.AddBambooServerPage$3 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.atlassian.theplugin.eclipse.ui.wizard.bamboo.AddBambooServerPage$ProjectListPanel

Bug Category Details Line
com.atlassian.theplugin.eclipse.ui.wizard.bamboo.AddBambooServerPage$ProjectListPanel.ProjectListPanel(IProject[], boolean) may expose internal representation by storing an externally mutable object into AddBambooServerPage$ProjectListPanel.resources MALICIOUS_CODE EI_EXPOSE_REP2 288

com.atlassian.theplugin.eclipse.util.FileUtil

Bug Category Details Line
com.atlassian.theplugin.eclipse.util.FileUtil.copyFile(File, File, int, IProgressMonitor) might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 494
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 134
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 157
com.atlassian.theplugin.eclipse.util.FileUtil.getEnvironmentVariables() may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 126
Exception is caught when Exception is not thrown in com.atlassian.theplugin.eclipse.util.FileUtil.getEnvironmentVariables() STYLE REC_CATCH_EXCEPTION 120

com.atlassian.theplugin.eclipse.util.StringId

Bug Category Details Line
com.atlassian.theplugin.eclipse.util.StringId.generateRandom(int) invokes inefficient new String() constructor PERFORMANCE DM_STRING_VOID_CTOR 51

com.atlassian.theplugin.eclipse.view.bamboo.BambooConfigurationStorage

Bug Category Details Line
com.atlassian.theplugin.eclipse.view.bamboo.BambooConfigurationStorage.getBambooServers() may expose internal representation by returning BambooConfigurationStorage.bambooServers MALICIOUS_CODE EI_EXPOSE_REP 120

com.atlassian.theplugin.eclipse.view.bamboo.BambooStatusBar$1

Bug Category Details Line
The class com.atlassian.theplugin.eclipse.view.bamboo.BambooStatusBar$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindow

Bug Category Details Line
BambooToolWindow.commentBuildAction not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available
BambooToolWindow.labelBuildAction not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available
BambooToolWindow.runBuildAction not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available
BambooToolWindow.showBuilLogAction not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available
BambooToolWindow.statusLineManager not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available

com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindowContent$BambooLabelProvider

Bug Category Details Line
Method com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindowContent$BambooLabelProvider.getColumnText(Object, int) uses the same code for two switch clauses STYLE DB_DUPLICATE_SWITCH_CLAUSES 269

com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindowHtmlContent

Bug Category Details Line
Write to static field com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindowHtmlContent.html from instance method com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindowHtmlContent.updateBambooStatus(BuildStatus, BambooPopupInfo) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 57
Write to static field com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindowHtmlContent.linkClicked from instance method com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindowHtmlContent.updateBambooStatus(BuildStatus, BambooPopupInfo) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 58

com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindowHtmlContent$BrowserLocationListener

Bug Category Details Line
Should com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindowHtmlContent$BrowserLocationListener be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC Not available

com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindowHtmlContent$MouseClickListener

Bug Category Details Line
Should com.atlassian.theplugin.eclipse.view.bamboo.BambooToolWindowHtmlContent$MouseClickListener be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC Not available

com.atlassian.theplugin.eclipse.view.popup.AbstractNotificationPopup$5

Bug Category Details Line
The class com.atlassian.theplugin.eclipse.view.popup.AbstractNotificationPopup$5 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

com.atlassian.theplugin.eclipse.view.popup.AbstractTask

Bug Category Details Line
com.atlassian.theplugin.eclipse.view.popup.AbstractTask.getCompletionDate() may expose internal representation by returning AbstractTask.completionDate MALICIOUS_CODE EI_EXPOSE_REP 409
com.atlassian.theplugin.eclipse.view.popup.AbstractTask.getCreationDate() may expose internal representation by returning AbstractTask.creationDate MALICIOUS_CODE EI_EXPOSE_REP 432
com.atlassian.theplugin.eclipse.view.popup.AbstractTask.getDueDate() may expose internal representation by returning AbstractTask.dueDate MALICIOUS_CODE EI_EXPOSE_REP 490
com.atlassian.theplugin.eclipse.view.popup.AbstractTask.getScheduledForDate() may expose internal representation by returning AbstractTask.scheduledForDate MALICIOUS_CODE EI_EXPOSE_REP 417
com.atlassian.theplugin.eclipse.view.popup.AbstractTask.setCompletionDate(Date) may expose internal representation by storing an externally mutable object into AbstractTask.completionDate MALICIOUS_CODE EI_EXPOSE_REP2 444
com.atlassian.theplugin.eclipse.view.popup.AbstractTask.setCreationDate(Date) may expose internal representation by storing an externally mutable object into AbstractTask.creationDate MALICIOUS_CODE EI_EXPOSE_REP2 436
com.atlassian.theplugin.eclipse.view.popup.AbstractTask.setDueDate(Date) may expose internal representation by storing an externally mutable object into AbstractTask.dueDate MALICIOUS_CODE EI_EXPOSE_REP2 494
com.atlassian.theplugin.eclipse.view.popup.AbstractTask.setScheduledForDate(Date) may expose internal representation by storing an externally mutable object into AbstractTask.scheduledForDate MALICIOUS_CODE EI_EXPOSE_REP2 413

com.atlassian.theplugin.eclipse.view.popup.AbstractTask$PriorityLevel

Bug Category Details Line
Method com.atlassian.theplugin.eclipse.view.popup.AbstractTask$PriorityLevel.toString() uses the same code for two switch clauses STYLE DB_DUPLICATE_SWITCH_CLAUSES 110

com.atlassian.theplugin.eclipse.view.popup.CompositeSynchImageDescriptor

Bug Category Details Line
Read of unwritten field background in com.atlassian.theplugin.eclipse.view.popup.CompositeSynchImageDescriptor.CompositeSynchImageDescriptor(ImageDescriptor, boolean) CORRECTNESS NP_UNWRITTEN_FIELD 42
Unused field: com.atlassian.theplugin.eclipse.view.popup.CompositeSynchImageDescriptor.WIDTH PERFORMANCE UUF_UNUSED_FIELD Not available
Unwritten field: com.atlassian.theplugin.eclipse.view.popup.CompositeSynchImageDescriptor.background CORRECTNESS UWF_UNWRITTEN_FIELD 42

com.atlassian.theplugin.eclipse.view.popup.NotificationPopup

Bug Category Details Line
Dead store to fontColor in com.atlassian.theplugin.eclipse.view.popup.NotificationPopup.createContentArea(Composite) STYLE DLS_DEAD_LOCAL_STORE 118

com.atlassian.theplugin.eclipse.view.popup.SwtUtil

Bug Category Details Line
com.atlassian.theplugin.eclipse.view.popup.SwtUtil.fade(Shell, boolean, int, int) invokes java.lang.reflect.Method.setAccessible(boolean), which should be invoked from within a doPrivileged block BAD_PRACTICE DP_DO_INSIDE_DO_PRIVILEGED 88
com.atlassian.theplugin.eclipse.view.popup.SwtUtil.getAlpha(Shell) invokes java.lang.reflect.Method.setAccessible(boolean), which should be invoked from within a doPrivileged block BAD_PRACTICE DP_DO_INSIDE_DO_PRIVILEGED 67
com.atlassian.theplugin.eclipse.view.popup.SwtUtil.setAlpha(Shell, int) invokes java.lang.reflect.Method.setAccessible(boolean), which should be invoked from within a doPrivileged block BAD_PRACTICE DP_DO_INSIDE_DO_PRIVILEGED 50
Exception is caught when Exception is not thrown in com.atlassian.theplugin.eclipse.view.popup.SwtUtil.fade(Shell, boolean, int, int) STYLE REC_CATCH_EXCEPTION 115
Exception is caught when Exception is not thrown in com.atlassian.theplugin.eclipse.view.popup.SwtUtil.getAlpha(Shell) STYLE REC_CATCH_EXCEPTION 69
Exception is caught when Exception is not thrown in com.atlassian.theplugin.eclipse.view.popup.SwtUtil.setAlpha(Shell, int) STYLE REC_CATCH_EXCEPTION 54

com.atlassian.theplugin.eclipse.view.popup.TaskListColorsAndFonts

Bug Category Details Line
com.atlassian.theplugin.eclipse.view.popup.TaskListColorsAndFonts.STRIKETHROUGH isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 74