-
Home
-
The Courier Guy Shipping for WooCommerce
-
5.1.0
-
Code
-
Classes
- ShipLogicApiPayload
Total Complexity |
90 |
Dependencies |
3 |
Dependents |
3 |
Total lines |
586 |
Lines of code |
401 |
Logical lines of code |
267 |
Comment lines |
90 |
Methods |
17 |
Properties |
4 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getGlobalParcels() |
A |
41 |
15 |
59 |
poolIfPossible() |
A |
43 |
11 |
48 |
getContentsPayload() |
A |
44 |
10 |
45 |
getAllItems() |
A |
44 |
10 |
44 |
getFittingItems() |
A |
43 |
8 |
50 |
fitToobigItems() |
S |
50 |
5 |
29 |
fitSingleItems() |
S |
50 |
5 |
27 |
doesFitParcel() |
S |
54 |
5 |
22 |
isSingleProductItem() |
S |
62 |
4 |
11 |
doesFitGlobalParcels() |
S |
62 |
3 |
11 |
getInsurancePayloadForCollection() |
S |
63 |
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 |