TCG_Shipping_Method D

Total Complexity 136
Dependencies 5
Dependents 1
Total lines 1,557
Lines of code 1,198
Logical lines of code 431
Comment lines 238
Methods 22
Properties 5

Methods 22

Method Rating Maintainability Complexity Lines of code
calculate_shipping()
D
29 33 113
addRate()
D
29 29 126
overrideFormFieldsVariable()
C
19
1 427
shipLogicRateOptins()
B
35 21 86
generate_tcg_override_per_service_html()
A
38 7 88
addRates()
A
47 10 36
__construct()
A
45 9 41
generate_tcg_shop_area_html()
S
43 2 59
generate_tcg_pdf_paper_size_html()
S
44 2 54
sortRatesByTotalValueAscending()
S
61 4 14
generate_tcg_percentage_html()
S
46 1 48
validate_tcg_percentage_field()
S
74 3 4
add_billing_insurance_field()
S
60 2 13
filterRates()
S
61 2 13
getRateOptions()
S
53 1 23
getAvailableShippingOptions()
S
56 1 19
setShipLogicApiCredentials()
S
65 2 9
getTCGShippingSettings()
S
63 2 10
getParameters()
S
82 1 3
isTcgProhibited()
S
74 1 4
getShippingProperties()
S
82 1 3
getSuburbLocationOptions()
S
76 1 5