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.savvis.vpdc.binders.BaseBindVMSpecToXmlPayload.bindToRequest(HttpRequest, Map) | STYLE | BC_UNCONFIRMED_CAST | 61 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Impossible cast from org.jclouds.savvis.vpdc.domain.FirewallRule[] to java.net.URI[] in org.jclouds.savvis.vpdc.binders.BindCaptureVAppTemplateToXmlPayload.findVAppURIInArgsOrNull(GeneratedHttpRequest) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 60 | High |
| Unchecked/unconfirmed cast from org.jclouds.http.HttpRequest to org.jclouds.rest.internal.GeneratedHttpRequest in org.jclouds.savvis.vpdc.binders.BindCaptureVAppTemplateToXmlPayload.bindToRequest(HttpRequest, Map) | STYLE | BC_UNCONFIRMED_CAST | 71 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Impossible cast from org.jclouds.savvis.vpdc.domain.FirewallRule[] to java.net.URI[] in org.jclouds.savvis.vpdc.binders.BindCloneVMToXmlPayload.findVAppURIInArgsOrNull(GeneratedHttpRequest) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 60 | High |
| Unchecked/unconfirmed cast from org.jclouds.http.HttpRequest to org.jclouds.rest.internal.GeneratedHttpRequest in org.jclouds.savvis.vpdc.binders.BindCloneVMToXmlPayload.bindToRequest(HttpRequest, Map) | STYLE | BC_UNCONFIRMED_CAST | 71 | Medium |
| Exception is caught when Exception is not thrown in org.jclouds.savvis.vpdc.binders.BindCloneVMToXmlPayload.generateXml(URI, String, String) | STYLE | REC_CATCH_EXCEPTION | 88 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unchecked/unconfirmed cast from org.jclouds.http.HttpRequest to org.jclouds.rest.internal.GeneratedHttpRequest in org.jclouds.savvis.vpdc.binders.BindFirewallRuleToXmlPayload.bindToRequest(HttpRequest, Map) | STYLE | BC_UNCONFIRMED_CAST | 70 | Medium |
| Exception is caught when Exception is not thrown in org.jclouds.savvis.vpdc.binders.BindFirewallRuleToXmlPayload.generateXml(FirewallRule) | STYLE | REC_CATCH_EXCEPTION | 88 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.savvis.vpdc.domain.FirewallRule defines equals but not hashCode | BAD_PRACTICE | HE_EQUALS_NO_HASHCODE | 157 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.savvis.vpdc.domain.FirewallService doesn't override ResourceImpl.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 34 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.savvis.vpdc.domain.Link defines compareTo(Link) method but not compareTo(Object) | BAD_PRACTICE | CO_SELF_NO_OBJECT | 42 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.savvis.vpdc.domain.Network doesn't override ResourceImpl.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 36 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.savvis.vpdc.domain.Org doesn't override ResourceImpl.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 48 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.savvis.vpdc.domain.Task.getEndTime() may expose internal representation by returning Task.endTime | MALICIOUS_CODE | EI_EXPOSE_REP | 192 | Medium |
| org.jclouds.savvis.vpdc.domain.Task.getStartTime() may expose internal representation by returning Task.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 184 | Medium |
| new org.jclouds.savvis.vpdc.domain.Task(String, String, String, URI, Task$Status, Date, Date, Resource, Resource, TaskError) may expose internal representation by storing an externally mutable object into Task.endTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 167 | Medium |
| new org.jclouds.savvis.vpdc.domain.Task(String, String, String, URI, Task$Status, Date, Date, Resource, Resource, TaskError) may expose internal representation by storing an externally mutable object into Task.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 166 | Medium |
| org.jclouds.savvis.vpdc.domain.Task doesn't override ResourceImpl.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 35 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.savvis.vpdc.domain.Task$Builder.endTime(Date) may expose internal representation by storing an externally mutable object into Task$Builder.endTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 59 | Medium |
| org.jclouds.savvis.vpdc.domain.Task$Builder.startTime(Date) may expose internal representation by storing an externally mutable object into Task$Builder.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 54 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.savvis.vpdc.domain.VDC doesn't override ResourceImpl.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.savvis.vpdc.domain.VM doesn't override org.jclouds.ovf.internal.BaseVirtualSystem.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 44 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.savvis.vpdc.xml.NetworkConfigSectionHandler.endElement(String, String, String) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 60 | Medium |