ilscipio/scipio-erp

View on GitHub
applications/product/src/org/ofbiz/shipment/weightPackage/WeightPackageSession.java

Summary

Maintainability
C
1 day
Test Coverage

WeightPackageSession has 51 methods (exceeds 20 allowed). Consider refactoring.
Open

@SuppressWarnings("serial")
public class WeightPackageSession implements Serializable {

    private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());

    Method getShipmentCostEstimate has 10 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public synchronized BigDecimal getShipmentCostEstimate(String shippingContactMechId, String shipmentMethodTypeId, String carrierPartyId, String carrierRoleTypeId, String orderId, String productStoreId, List<GenericValue> shippableItemInfo, BigDecimal shippableTotal, BigDecimal shippableWeight, BigDecimal shippableQuantity) {

      Method getShipmentCostEstimate has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public BigDecimal getShipmentCostEstimate(GenericValue orderItemShipGroup, String orderId, String productStoreId, List<GenericValue> shippableItemInfo, BigDecimal shippableTotal, BigDecimal shippableWeight, BigDecimal shippableQuantity) {

        Method createWeightPackageLine has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public synchronized void createWeightPackageLine(String orderId, BigDecimal packageWeight, BigDecimal packageLength, BigDecimal packageWidth, BigDecimal packageHeight, String shipmentBoxTypeId) throws GeneralException {

          There are no issues that match your filters.

          Category
          Status