ParcelPerfectApiPayload D

Total Complexity 142
Dependencies 2
Dependents 1
Total lines 951
Lines of code 674
Logical lines of code 422
Comment lines 140
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
getContentsPayload()
D
24
38 179
getGlobalParcels()
A
42 14 57
poolIfPossible()
A
43 11 48
getOriginPayload()
A
53 12 19
getFittingItems()
A
43 8 50
getAllItems()
A
47 7 36
getDestinationPayloadForQuote()
S
45 5 41
fitSingleItems()
S
50 5 27
doesFitParcel()
S
55 5 21
getActualPackingConfiguration()
S
54 4 23
getQuotePayload()
S
54 4 20
isSingleProductItem()
S
62 4 11
fitToobigItems()
S
53 3 22
getCollectionPayload()
S
55 3 19
getInsurancePayloadForCollection()
S
61 3 13
array_flatten()
S
63 3 11
doesFitGlobalParcels()
S
62 3 11
getMaxPackingConfiguration()
S
57 2 18
getSingleItems()
S
64 3 10
getInsurancePayloadForQuote()
S
61 2 13
getDestinationPayloadForCollection()
S
56 1 18
__construct()
S
91 1 2
getServiceIdentifierFromShippingItem()
S
72 1 5