ParcelPerfectApiPayload C

Total Complexity 112
Dependencies 3
Dependents 2
Total lines 744
Lines of code 512
Logical lines of code 310
Comment lines 119
Methods 22
Properties 4

Methods 22

Method Rating Maintainability Complexity Lines of code
getGlobalParcels()
A
41 14 59
poolIfPossible()
A
43 11 48
getOriginPayload()
A
53 12 19
getContentsPayload()
A
44 10 45
getAllItems()
A
44 10 42
getFittingItems()
A
43 8 50
getDestinationPayloadForQuote()
S
45 5 42
fitSingleItems()
S
50 5 27
doesFitParcel()
S
54 5 22
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
doesFitGlobalParcels()
S
62 3 11
array_flatten()
S
63 3 11
getSingleItems()
S
64 3 10
getInsurancePayloadForQuote()
S
61 2 13
getDestinationPayloadForCollection()
S
56 1 18
__construct()
S
91 1 2
set_global_factor()
S
81 1 3
getServiceIdentifierFromShippingItem()
S
72 1 5