ShipLogicApiPayload B

Total Complexity 84
Dependencies 3
Dependents 3
Total lines 571
Lines of code 388
Logical lines of code 255
Comment lines 90
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
getGlobalParcels()
A
41 14 59
poolIfPossible()
A
43 11 48
getContentsPayload()
A
44 10 45
getFittingItems()
A
43 8 50
getAllItems()
A
46 7 36
fitSingleItems()
S
50 5 27
doesFitParcel()
S
54 5 22
isSingleProductItem()
S
62 4 11
fitToobigItems()
S
53 3 22
getInsurancePayloadForCollection()
S
61 3 13
doesFitGlobalParcels()
S
62 3 11
array_flatten()
S
63 3 11
getSingleItems()
S
64 3 10
getInsurancePayloadForQuote()
S
61 2 13
__construct()
S
91 1 2
set_global_factor()
S
81 1 3
getServiceIdentifierFromShippingItem()
S
72 1 5