The following document contains the results of FindBugs Report
FindBugs Version is 1.3.8
Threshold is Low
Effort is Default
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 143 | 23 | 0 | 0 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| com.atlassian.gadgets.directory.spi.ExternalGadgetSpec.equals(Object) fails for subtypes | BAD_PRACTICE | EQ_GETCLASS_AND_CLASS_CONSTANT | 81 | High |
| Redundant nullcheck of id, which is known to be non-null in new com.atlassian.gadgets.directory.spi.ExternalGadgetSpec(ExternalGadgetSpecId, URI) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 37 | Low |
| Redundant nullcheck of specUri, which is known to be non-null in new com.atlassian.gadgets.directory.spi.ExternalGadgetSpec(ExternalGadgetSpecId, URI) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 41 | Low |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| com.atlassian.gadgets.directory.spi.ExternalGadgetSpecId.equals(Object) fails for subtypes | BAD_PRACTICE | EQ_GETCLASS_AND_CLASS_CONSTANT | 80 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.DashboardStateStore shadows the simple name of implemented interface com.atlassian.gadgets.dashboard.spi.DashboardStateStore | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_INTERFACE | Not available | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.DashboardStateStoreException shadows the simple name of the superclass com.atlassian.gadgets.dashboard.spi.DashboardStateStoreException | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 13-24 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.ExternalGadgetSpec shadows the simple name of the superclass com.atlassian.gadgets.directory.spi.ExternalGadgetSpec | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 20-21 | High |
| com.atlassian.gadgets.spi.ExternalGadgetSpec is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 20-21 | Low |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.ExternalGadgetSpecId shadows the simple name of the superclass com.atlassian.gadgets.directory.spi.ExternalGadgetSpecId | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 16-26 | High |
| com.atlassian.gadgets.spi.ExternalGadgetSpecId is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 16-26 | Low |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.ExternalGadgetSpecStore shadows the simple name of implemented interface com.atlassian.gadgets.directory.spi.ExternalGadgetSpecStore | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_INTERFACE | Not available | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.GadgetLayout shadows the simple name of the superclass com.atlassian.gadgets.dashboard.spi.GadgetLayout | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 17-18 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.GadgetSpecUrlRenderPermission shadows the simple name of implemented interface com.atlassian.gadgets.opensocial.spi.GadgetSpecUrlRenderPermission | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_INTERFACE | Not available | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.GadgetStateFactory shadows the simple name of implemented interface com.atlassian.gadgets.dashboard.spi.GadgetStateFactory | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_INTERFACE | Not available | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.PluginGadgetSpecProviderPermission shadows the simple name of implemented interface com.atlassian.gadgets.publisher.spi.PluginGadgetSpecProviderPermission | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_INTERFACE | Not available | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.changes.AddGadgetChange shadows the simple name of the superclass com.atlassian.gadgets.dashboard.spi.changes.AddGadgetChange | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 18-19 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.changes.DashboardChange shadows the simple name of implemented interface com.atlassian.gadgets.dashboard.spi.changes.DashboardChange | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_INTERFACE | Not available | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.changes.DashboardChange$Visitor shadows the simple name of implemented interface com.atlassian.gadgets.dashboard.spi.changes.DashboardChange$Visitor | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_INTERFACE | Not available | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.changes.GadgetColorChange shadows the simple name of the superclass com.atlassian.gadgets.dashboard.spi.changes.GadgetColorChange | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 16-17 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.changes.RemoveGadgetChange shadows the simple name of the superclass com.atlassian.gadgets.dashboard.spi.changes.RemoveGadgetChange | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 15-16 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.changes.UpdateGadgetUserPrefsChange shadows the simple name of the superclass com.atlassian.gadgets.dashboard.spi.changes.UpdateGadgetUserPrefsChange | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 17-18 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.changes.UpdateLayoutChange shadows the simple name of the superclass com.atlassian.gadgets.dashboard.spi.changes.UpdateLayoutChange | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 16-17 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name com.atlassian.gadgets.spi.util.UserHasWritePermissionToDashboard shadows the simple name of the superclass com.atlassian.gadgets.dashboard.spi.util.UserHasWritePermissionToDashboard | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 16-17 | High |