TCG_Shipping_Method C

Total Complexity 122
Dependencies 5
Dependents 1
Total lines 1,424
Lines of code 1,087
Logical lines of code 373
Comment lines 232
Methods 19
Properties 5

Methods 19

Method Rating Maintainability Complexity Lines of code
addRate()
D
28
28 139
calculate_shipping()
C
31 30 100
overrideFormFieldsVariable()
B
20
1 394
shipLogicRateOptins()
B
40 17 62
generate_tcg_override_per_service_html()
A
38 7 88
addRates()
A
47 10 36
__construct()
A
46 8 36
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
58 1 16
setShipLogicApiCredentials()
S
65 2 9
getParameters()
S
82 1 3
isTcgProhibited()
S
74 1 4
getShippingProperties()
S
82 1 3
getSuburbLocationOptions()
S
76 1 5