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.vcloud.binders.BindCaptureVAppParamsToXmlPayload.bindToRequest(HttpRequest, Map) | STYLE | BC_UNCONFIRMED_CAST | 70 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unchecked/unconfirmed cast from org.jclouds.http.HttpRequest to org.jclouds.rest.internal.GeneratedHttpRequest in org.jclouds.vcloud.binders.BindCatalogItemToXmlPayload.bindToRequest(HttpRequest, Map) | STYLE | BC_UNCONFIRMED_CAST | 71 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unchecked/unconfirmed cast from org.jclouds.http.HttpRequest to org.jclouds.rest.internal.GeneratedHttpRequest in org.jclouds.vcloud.binders.BindCloneParamsToXmlPayload.bindToRequest(HttpRequest, Map) | STYLE | BC_UNCONFIRMED_CAST | 71 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.jclouds.vcloud.binders.BindGuestCustomizationSectionToXmlPayload.bindToRequest(HttpRequest, Object) | STYLE | REC_CATCH_EXCEPTION | 108 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unchecked/unconfirmed cast from org.jclouds.http.HttpRequest to org.jclouds.rest.internal.GeneratedHttpRequest in org.jclouds.vcloud.binders.BindInstantiateVAppTemplateParamsToXmlPayload.bindToRequest(HttpRequest, Map) | STYLE | BC_UNCONFIRMED_CAST | 97 | Medium |
| Possible null pointer dereference of options in org.jclouds.vcloud.binders.BindInstantiateVAppTemplateParamsToXmlPayload.bindToRequest(HttpRequest, Map) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 126 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exception is caught when Exception is not thrown in org.jclouds.vcloud.binders.BindNetworkConnectionSectionToXmlPayload.bindToRequest(HttpRequest, Object) | STYLE | REC_CATCH_EXCEPTION | 102 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.vcloud.compute.options.VCloudTemplateOptions.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 46 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Primitive value is boxed then unboxed to perform primitive coercion in org.jclouds.vcloud.compute.strategy.InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn.createNodeWithGroupEncodedIntoName(String, String, Template) | PERFORMANCE | BX_BOXING_IMMEDIATELY_UNBOXED_TO_PERFORM_COERCION | 116 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.vcloud.domain.internal.TaskImpl.getEndTime() may expose internal representation by returning TaskImpl.endTime | MALICIOUS_CODE | EI_EXPOSE_REP | 81 | Medium |
| org.jclouds.vcloud.domain.internal.TaskImpl.getExpiryTime() may expose internal representation by returning TaskImpl.expiryTime | MALICIOUS_CODE | EI_EXPOSE_REP | 98 | Medium |
| org.jclouds.vcloud.domain.internal.TaskImpl.getStartTime() may expose internal representation by returning TaskImpl.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 71 | Medium |
| new org.jclouds.vcloud.domain.internal.TaskImpl(URI, String, TaskStatus, Date, Date, Date, ReferenceType, VCloudError) may expose internal representation by storing an externally mutable object into TaskImpl.endTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 58 | Medium |
| new org.jclouds.vcloud.domain.internal.TaskImpl(URI, String, TaskStatus, Date, Date, Date, ReferenceType, VCloudError) may expose internal representation by storing an externally mutable object into TaskImpl.expiryTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 59 | Medium |
| new org.jclouds.vcloud.domain.internal.TaskImpl(URI, String, TaskStatus, Date, Date, Date, ReferenceType, VCloudError) may expose internal representation by storing an externally mutable object into TaskImpl.startTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 57 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.vcloud.domain.ovf.EditableResourceAllocationSettingData doesn't override org.jclouds.cim.ResourceAllocationSettingData.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 30 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.vcloud.domain.ovf.VCloudHardDisk doesn't override org.jclouds.cim.ResourceAllocationSettingData.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 29 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.vcloud.domain.ovf.VCloudNetworkAdapter doesn't override org.jclouds.cim.ResourceAllocationSettingData.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 29 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.jclouds.vcloud.functions.VAppTemplatesForCatalogItems$ReturnNullOnAuthorizationException is not derived from an Exception, even though it is named as such | BAD_PRACTICE | NM_CLASS_NOT_EXCEPTION | 60 | Medium |