The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is medium
Effort is min
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unchecked/unconfirmed cast from org.jclouds.http.HttpRequest to org.jclouds.rest.internal.GeneratedHttpRequest in org.jclouds.cloudsigma.binders.BindCloneDriveOptionsToPlainTextString.bindToRequest(HttpRequest, Map) | STYLE | BC_UNCONFIRMED_CAST | 60 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| integral division result cast to double or float in org.jclouds.cloudsigma.compute.functions.ServerInfoToNodeMetadata$DeviceToVolume.apply(Device) | STYLE | ICAST_IDIV_CAST_TO_DOUBLE | 129 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.cloudsigma.domain.CreateDriveRequest$Builder doesn't override Drive$Builder.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 34 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| $L4 must be nonnull but is marked as nullable | STYLE | NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE | 120 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.cloudsigma.domain.DriveInfo$Builder doesn't override Drive$Builder.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 35 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: org.jclouds.cloudsigma.domain.SCSIDevice.bus; should this field be static? | PERFORMANCE | SS_SHOULD_BE_STATIC | 42 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.cloudsigma.domain.Server$Builder doesn't override Item$Builder.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 39 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.cloudsigma.domain.ServerInfo.getStarted() may expose internal representation by returning ServerInfo.started | MALICIOUS_CODE | EI_EXPOSE_REP | 188 | Medium |
| new org.jclouds.cloudsigma.domain.ServerInfo(String, String, int, Integer, int, boolean, Map, Iterable, Iterable, Iterable, VNC, String, ServerStatus, Date, String, ServerMetrics) may expose internal representation by storing an externally mutable object into ServerInfo.started | MALICIOUS_CODE | EI_EXPOSE_REP2 | 173 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.cloudsigma.domain.ServerInfo$Builder.started(Date) may expose internal representation by storing an externally mutable object into ServerInfo$Builder.started | MALICIOUS_CODE | EI_EXPOSE_REP2 | 44 | Medium |
| org.jclouds.cloudsigma.domain.ServerInfo$Builder doesn't override Item$Builder.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 32 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.cloudsigma.functions.MapToDriveInfo.apply(Map) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 91 | Medium |