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 |
|---|---|---|---|---|
| Unread field: org.jclouds.softlayer.binders.ProductOrderToJson$HostnameAndDomain.domain | PERFORMANCE | URF_UNREAD_FIELD | 119 | Medium |
| Unread field: org.jclouds.softlayer.binders.ProductOrderToJson$HostnameAndDomain.hostname | PERFORMANCE | URF_UNREAD_FIELD | 118 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: org.jclouds.softlayer.binders.ProductOrderToJson$OrderData.complexType | PERFORMANCE | URF_UNREAD_FIELD | 92 | Medium |
| Unread field: org.jclouds.softlayer.binders.ProductOrderToJson$OrderData.location | PERFORMANCE | URF_UNREAD_FIELD | 103 | Medium |
| Unread field: org.jclouds.softlayer.binders.ProductOrderToJson$OrderData.packageId | PERFORMANCE | URF_UNREAD_FIELD | 93 | Medium |
| Unread field: org.jclouds.softlayer.binders.ProductOrderToJson$OrderData.prices | PERFORMANCE | URF_UNREAD_FIELD | 104 | Medium |
| Unread field: org.jclouds.softlayer.binders.ProductOrderToJson$OrderData.quantity | PERFORMANCE | URF_UNREAD_FIELD | 106 | Medium |
| Unread field: org.jclouds.softlayer.binders.ProductOrderToJson$OrderData.useHourlyPricing | PERFORMANCE | URF_UNREAD_FIELD | 107 | Medium |
| Unread field: org.jclouds.softlayer.binders.ProductOrderToJson$OrderData.virtualGuests | PERFORMANCE | URF_UNREAD_FIELD | 105 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: org.jclouds.softlayer.binders.ProductOrderToJson$Price.id | PERFORMANCE | URF_UNREAD_FIELD | 129 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.softlayer.compute.options.SoftLayerTemplateOptions.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 54 | Medium |
| org.jclouds.softlayer.compute.options.SoftLayerTemplateOptions doesn't override org.jclouds.compute.options.TemplateOptions.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 54 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.softlayer.config.SoftLayerParserModule$VirtualGuestAdapter$VirtualGuestInternal doesn't override org.jclouds.softlayer.domain.VirtualGuest.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 78 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method org.jclouds.softlayer.domain.Address.compareTo(Address) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 92 | Medium |
| 32 bit int shifted by 32 bits in org.jclouds.softlayer.domain.Address.hashCode() | CORRECTNESS | ICAST_BAD_SHIFT_AMOUNT | 131 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method org.jclouds.softlayer.domain.Datacenter.compareTo(Datacenter) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 107 | Medium |
| 32 bit int shifted by 32 bits in org.jclouds.softlayer.domain.Datacenter.hashCode() | CORRECTNESS | ICAST_BAD_SHIFT_AMOUNT | 156 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method org.jclouds.softlayer.domain.OperatingSystem.compareTo(OperatingSystem) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 89 | Medium |
| 32 bit int shifted by 32 bits in org.jclouds.softlayer.domain.OperatingSystem.hashCode() | CORRECTNESS | ICAST_BAD_SHIFT_AMOUNT | 115 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method org.jclouds.softlayer.domain.Password.compareTo(Password) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 85 | Medium |
| 32 bit int shifted by 32 bits in org.jclouds.softlayer.domain.Password.hashCode() | CORRECTNESS | ICAST_BAD_SHIFT_AMOUNT | 117 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method org.jclouds.softlayer.domain.ProductItem.compareTo(ProductItem) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 132 | Medium |
| 32 bit int shifted by 32 bits in org.jclouds.softlayer.domain.ProductItem.hashCode() | CORRECTNESS | ICAST_BAD_SHIFT_AMOUNT | 191 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method org.jclouds.softlayer.domain.ProductItemCategory.compareTo(ProductItemCategory) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 86 | Medium |
| 32 bit int shifted by 32 bits in org.jclouds.softlayer.domain.ProductItemCategory.hashCode() | CORRECTNESS | ICAST_BAD_SHIFT_AMOUNT | 118 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method org.jclouds.softlayer.domain.ProductItemPrice.compareTo(ProductItemPrice) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 124 | Medium |
| 32 bit int shifted by 32 bits in org.jclouds.softlayer.domain.ProductItemPrice.hashCode() | CORRECTNESS | ICAST_BAD_SHIFT_AMOUNT | 199 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| 32 bit int shifted by 32 bits in org.jclouds.softlayer.domain.ProductOrder.hashCode() | CORRECTNESS | ICAST_BAD_SHIFT_AMOUNT | 204 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method org.jclouds.softlayer.domain.ProductOrderReceipt.compareTo(ProductOrderReceipt) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 70 | Medium |
| 32 bit int shifted by 32 bits in org.jclouds.softlayer.domain.ProductOrderReceipt.hashCode() | CORRECTNESS | ICAST_BAD_SHIFT_AMOUNT | 98 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method org.jclouds.softlayer.domain.ProductPackage.compareTo(ProductPackage) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 113 | Medium |
| 32 bit int shifted by 32 bits in org.jclouds.softlayer.domain.ProductPackage.hashCode() | CORRECTNESS | ICAST_BAD_SHIFT_AMOUNT | 166 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method org.jclouds.softlayer.domain.Region.compareTo(Region) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 79 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method org.jclouds.softlayer.domain.VirtualGuest.compareTo(VirtualGuest) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 329 | Medium |
| org.jclouds.softlayer.domain.VirtualGuest.getCreateDate() may expose internal representation by returning VirtualGuest.createDate | MALICIOUS_CODE | EI_EXPOSE_REP | 343 | Medium |
| org.jclouds.softlayer.domain.VirtualGuest.getLastVerifiedDate() may expose internal representation by returning VirtualGuest.lastVerifiedDate | MALICIOUS_CODE | EI_EXPOSE_REP | 388 | Medium |
| org.jclouds.softlayer.domain.VirtualGuest.getMetricPollDate() may expose internal representation by returning VirtualGuest.metricPollDate | MALICIOUS_CODE | EI_EXPOSE_REP | 416 | Medium |
| org.jclouds.softlayer.domain.VirtualGuest.getModifyDate() may expose internal representation by returning VirtualGuest.modifyDate | MALICIOUS_CODE | EI_EXPOSE_REP | 423 | Medium |
| new org.jclouds.softlayer.domain.VirtualGuest(int, Date, boolean, String, String, String, int, Date, int, String, int, Date, Date, String, boolean, int, int, String, String, String, int, OperatingSystem, Datacenter, PowerState) may expose internal representation by storing an externally mutable object into VirtualGuest.createDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 302 | Medium |
| new org.jclouds.softlayer.domain.VirtualGuest(int, Date, boolean, String, String, String, int, Date, int, String, int, Date, Date, String, boolean, int, int, String, String, String, int, OperatingSystem, Datacenter, PowerState) may expose internal representation by storing an externally mutable object into VirtualGuest.lastVerifiedDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 308 | Medium |
| new org.jclouds.softlayer.domain.VirtualGuest(int, Date, boolean, String, String, String, int, Date, int, String, int, Date, Date, String, boolean, int, int, String, String, String, int, OperatingSystem, Datacenter, PowerState) may expose internal representation by storing an externally mutable object into VirtualGuest.metricPollDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 312 | Medium |
| new org.jclouds.softlayer.domain.VirtualGuest(int, Date, boolean, String, String, String, int, Date, int, String, int, Date, Date, String, boolean, int, int, String, String, String, int, OperatingSystem, Datacenter, PowerState) may expose internal representation by storing an externally mutable object into VirtualGuest.modifyDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 313 | Medium |
| 32 bit int shifted by 32 bits in org.jclouds.softlayer.domain.VirtualGuest.hashCode() | CORRECTNESS | ICAST_BAD_SHIFT_AMOUNT | 508 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jclouds.softlayer.domain.VirtualGuest$Builder.createDate(Date) may expose internal representation by storing an externally mutable object into VirtualGuest$Builder.createDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 93 | Medium |
| org.jclouds.softlayer.domain.VirtualGuest$Builder.lastVerifiedDate(Date) may expose internal representation by storing an externally mutable object into VirtualGuest$Builder.lastVerifiedDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 118 | Medium |
| org.jclouds.softlayer.domain.VirtualGuest$Builder.metricPollDate(Date) may expose internal representation by storing an externally mutable object into VirtualGuest$Builder.metricPollDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 138 | Medium |
| org.jclouds.softlayer.domain.VirtualGuest$Builder.modifyDate(Date) may expose internal representation by storing an externally mutable object into VirtualGuest$Builder.modifyDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 143 | Medium |