TCG_Shipping_Method D

Total Complexity 133
Dependencies 5
Dependents 1
Total lines 1,516
Lines of code 1,184
Logical lines of code 427
Comment lines 219
Methods 21
Properties 5

Methods 21

Method Rating Maintainability Complexity Lines of code
addRate()
D
27
31 147
calculate_shipping()
C
31 30 101
overrideFormFieldsVariable()
C
19
1 418
shipLogicRateOptins()
B
35 21 86
generate_tcg_override_per_service_html()
A
38 7 88
addRates()
A
47 10 36
__construct()
A
45 9 40
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
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
isTcgProhibited()
S
74 1 4
getParameters()
S
82 1 3
getShippingProperties()
S
82 1 3
getSuburbLocationOptions()
S
76 1 5