ShipLogicApiPayload B

Total Complexity 90
Dependencies 4
Dependents 3
Total lines 589
Lines of code 407
Logical lines of code 269
Comment lines 89
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
getGlobalParcels()
A
41 15 60
poolIfPossible()
A
42 13 50
getContentsPayload()
A
44 10 45
getFittingItems()
A
43 9 53
getAllItems()
A
45 8 42
fitToobigItems()
S
49 5 30
fitSingleItems()
S
50 5 28
doesFitParcel()
S
54 5 22
getInsurancePayloadForCollection()
S
62 3 12
isSingleProductItem()
S
62 3 11
doesFitGlobalParcels()
S
62 3 11
getSingleItems()
S
64 3 10
array_flatten()
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