ParcelPerfectApiPayload D

Total Complexity 199
Dependencies 2
Dependents 1
Total lines 1,000
Lines of code 792
Logical lines of code 483
Comment lines 124
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
getContentsPayload()
D
6
108 399
poolIfPossible()
D
26
40 159
getOriginPayload()
A
53 12 19
doesFitParcel()
A
50 8 31
getDestinationPayloadForQuote()
S
47 4 35
getActualPackingConfiguration()
S
54 4 23
getQuotePayload()
S
54 4 20
getCollectionPayload()
S
55 3 19
getInsurancePayloadForCollection()
S
61 3 13
doesFitGlobalParcels()
S
62 3 11
getMaxPackingConfiguration()
S
57 2 18
isSingleProductItem()
S
67 3 7
getInsurancePayloadForQuote()
S
61 2 13
getDestinationPayloadForCollection()
S
56 1 18
__construct()
S
91 1 2
getServiceIdentifierFromShippingItem()
S
72 1 5