ShipLogicApiPayload B

Total Complexity 91
Dependencies 3
Dependents 3
Total lines 591
Lines of code 407
Logical lines of code 271
Comment lines 90
Methods 17
Properties 4

Methods 17

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