The following document contains the results of FindBugs Report
FindBugs Version is 2.0.0
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Call to gov.nasa.pds.registry.model.ObjectStatus.equals(String) in gov.nasa.pds.registry.server.connection.ConnectionManager.updatePackage(String, ViewRegistryPackage) | CORRECTNESS | EC_UNRELATED_TYPES | 323 | High |
Incorrect lazy initialization and update of static field gov.nasa.pds.registry.server.connection.ConnectionManager.props in gov.nasa.pds.registry.server.connection.ConnectionManager.getProperties() | MT_CORRECTNESS | LI_LAZY_INIT_UPDATE_STATIC | 643 | High |
gov.nasa.pds.registry.server.connection.ConnectionManager.props should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | Medium | |
Null passed for nonnull parameter of respToViewAssociation(PagedResponse) in gov.nasa.pds.registry.server.connection.ConnectionManager.getAssociations(String, RegistryQuery, Integer, Integer) | CORRECTNESS | NP_NULL_PARAM_DEREF | 542 | Medium |
Null passed for nonnull parameter of respToViewClassificationNodes(PagedResponse) in gov.nasa.pds.registry.server.connection.ConnectionManager.getClassificationNodes(String, RegistryQuery, Integer, Integer) | CORRECTNESS | NP_NULL_PARAM_DEREF | 502 | Medium |
Null passed for nonnull parameter of respToViewEvents(PagedResponse) in gov.nasa.pds.registry.server.connection.ConnectionManager.getEvents(String, RegistryQuery, Integer, Integer) | CORRECTNESS | NP_NULL_PARAM_DEREF | 448 | Medium |
Null passed for nonnull parameter of respToViewPackage(PagedResponse) in gov.nasa.pds.registry.server.connection.ConnectionManager.getPackages(String, RegistryQuery, Integer, Integer) | CORRECTNESS | NP_NULL_PARAM_DEREF | 299 | Medium |
Null passed for nonnull parameter of respToViewProducts(PagedResponse) in gov.nasa.pds.registry.server.connection.ConnectionManager.getProducts(String, RegistryQuery, Integer, Integer) | CORRECTNESS | NP_NULL_PARAM_DEREF | 203 | Medium |
Null passed for nonnull parameter of respToViewSchemes(PagedResponse) in gov.nasa.pds.registry.server.connection.ConnectionManager.getSchemes(String, Integer, Integer) | CORRECTNESS | NP_NULL_PARAM_DEREF | 263 | Medium |
Null passed for nonnull parameter of respToViewService(PagedResponse) in gov.nasa.pds.registry.server.connection.ConnectionManager.getServices(String, Integer, Integer) | CORRECTNESS | NP_NULL_PARAM_DEREF | 232 | Medium |
gov.nasa.pds.registry.server.connection.ConnectionManager.getProperties() may fail to clean up java.io.InputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 644 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from com.google.gwt.gen2.table.client.TableModelHelper$SerializableResponse<gov.nasa.pds.registry.ui.shared.ViewAssociation> to gov.nasa.pds.registry.ui.client.SerializableProductResponse in gov.nasa.pds.registry.ui.client.AssociationTableModel$1.onSuccess(TableModelHelper$SerializableResponse) | STYLE | BC_UNCONFIRMED_CAST | 117 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: gov.nasa.pds.registry.ui.client.Associations.debugMsg | PERFORMANCE | URF_UNREAD_FIELD | 124 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from com.google.gwt.gen2.table.client.TableModelHelper$SerializableResponse<gov.nasa.pds.registry.ui.shared.ViewProduct> to gov.nasa.pds.registry.ui.client.SerializableProductResponse in gov.nasa.pds.registry.ui.client.Associations$22.onSuccess(TableModelHelper$SerializableResponse) | STYLE | BC_UNCONFIRMED_CAST | 1121 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from com.google.gwt.gen2.table.client.TableModelHelper$SerializableResponse<gov.nasa.pds.registry.ui.shared.ViewClassificationNode> to gov.nasa.pds.registry.ui.client.SerializableProductResponse in gov.nasa.pds.registry.ui.client.ClassificationNodeTableModel$1.onSuccess(TableModelHelper$SerializableResponse) | STYLE | BC_UNCONFIRMED_CAST | 109 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from com.google.gwt.gen2.table.client.TableModelHelper$SerializableResponse<gov.nasa.pds.registry.ui.shared.ViewAuditableEvent> to gov.nasa.pds.registry.ui.client.SerializableProductResponse in gov.nasa.pds.registry.ui.client.EventTableModel$1.onSuccess(TableModelHelper$SerializableResponse) | STYLE | BC_UNCONFIRMED_CAST | 107 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from com.google.gwt.gen2.table.client.TableModelHelper$SerializableResponse<gov.nasa.pds.registry.ui.shared.ViewRegistryPackage> to gov.nasa.pds.registry.ui.client.SerializableProductResponse in gov.nasa.pds.registry.ui.client.PackageTableModel$1.onSuccess(TableModelHelper$SerializableResponse) | STYLE | BC_UNCONFIRMED_CAST | 108 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from com.google.gwt.gen2.table.client.TableModelHelper$SerializableResponse<gov.nasa.pds.registry.ui.shared.ViewProduct> to gov.nasa.pds.registry.ui.client.SerializableProductResponse in gov.nasa.pds.registry.ui.client.ProductTableModel$1.onSuccess(TableModelHelper$SerializableResponse) | STYLE | BC_UNCONFIRMED_CAST | 116 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to count in gov.nasa.pds.registry.ui.client.Products.refreshTable() | STYLE | DLS_DEAD_LOCAL_STORE | 754 | Medium |
gov.nasa.pds.registry.ui.client.Products.toSeparatedString(List) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 1327 | Medium |
gov.nasa.pds.registry.ui.client.Products.toUpper(String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 1304 | Medium |
Write to static field gov.nasa.pds.registry.ui.client.Products.instance from instance method new gov.nasa.pds.registry.ui.client.Products() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 291 | Medium |
Unread field: gov.nasa.pds.registry.ui.client.Products.debugMsg | PERFORMANCE | URF_UNREAD_FIELD | 160 | Medium |
Unused public or protected field: gov.nasa.pds.registry.ui.client.Products.associationClickHander | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from com.google.gwt.gen2.table.client.TableModelHelper$SerializableResponse<gov.nasa.pds.registry.ui.shared.ViewAssociation> to gov.nasa.pds.registry.ui.client.SerializableProductResponse in gov.nasa.pds.registry.ui.client.Products$15.onSuccess(TableModelHelper$SerializableResponse) | STYLE | BC_UNCONFIRMED_CAST | 1071 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
gov.nasa.pds.registry.ui.client.RegistryUI.serverUrl should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 91 | Medium |
gov.nasa.pds.registry.ui.client.RegistryUI.logger isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 88 | High |
gov.nasa.pds.registry.ui.client.RegistryUI.statusInfo isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 106 | High |
Possible null pointer dereference of appServers in gov.nasa.pds.registry.ui.client.RegistryUI.onModuleLoad() | CORRECTNESS | NP_NULL_ON_SOME_PATH | 125 | High |
Unread field: gov.nasa.pds.registry.ui.client.RegistryUI.curInfo | PERFORMANCE | URF_UNREAD_FIELD | 185 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from com.google.gwt.gen2.table.client.TableModelHelper$SerializableResponse<gov.nasa.pds.registry.ui.shared.ViewScheme> to gov.nasa.pds.registry.ui.client.SerializableProductResponse in gov.nasa.pds.registry.ui.client.SchemeTableModel$1.onSuccess(TableModelHelper$SerializableResponse) | STYLE | BC_UNCONFIRMED_CAST | 116 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: gov.nasa.pds.registry.ui.client.Schemes.tempNodes | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 180 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unchecked/unconfirmed cast from com.google.gwt.gen2.table.client.TableModelHelper$SerializableResponse<gov.nasa.pds.registry.ui.shared.ViewService> to gov.nasa.pds.registry.ui.client.SerializableProductResponse in gov.nasa.pds.registry.ui.client.ServiceTableModel$1.onSuccess(TableModelHelper$SerializableResponse) | STYLE | BC_UNCONFIRMED_CAST | 108 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused field: gov.nasa.pds.registry.ui.client.Tab.description | PERFORMANCE | UUF_UNUSED_FIELD | Medium | |
Unused field: gov.nasa.pds.registry.ui.client.Tab.instance | PERFORMANCE | UUF_UNUSED_FIELD | Medium | |
Unused field: gov.nasa.pds.registry.ui.client.Tab.name | PERFORMANCE | UUF_UNUSED_FIELD | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Switch statement found in gov.nasa.pds.registry.ui.client.TabList$MouseLink.onBrowserEvent(Event) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 45 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
gov.nasa.pds.registry.ui.shared.Constants.assocTypes is a mutable array | MALICIOUS_CODE | MS_MUTABLE_ARRAY | 29 | High |
gov.nasa.pds.registry.ui.shared.Constants.eventTypes is a mutable array | MALICIOUS_CODE | MS_MUTABLE_ARRAY | 24 | High |
gov.nasa.pds.registry.ui.shared.Constants.objectTypes is a mutable array | MALICIOUS_CODE | MS_MUTABLE_ARRAY | 35 | High |
gov.nasa.pds.registry.ui.shared.Constants.status is a mutable array | MALICIOUS_CODE | MS_MUTABLE_ARRAY | 20 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
gov.nasa.pds.registry.ui.shared.ViewAuditableEvent.getTimestamp() may expose internal representation by returning ViewAuditableEvent.timestamp | MALICIOUS_CODE | EI_EXPOSE_REP | 70 | Medium |
gov.nasa.pds.registry.ui.shared.ViewAuditableEvent.setTimestamp(Date) may expose internal representation by storing an externally mutable object into ViewAuditableEvent.timestamp | MALICIOUS_CODE | EI_EXPOSE_REP2 | 74 | Medium |