TCG_Shipping_Method C

Total Complexity 120
Dependencies 5
Dependents 1
Total lines 1,398
Lines of code 1,030
Logical lines of code 366
Comment lines 274
Methods 19
Properties 4

Methods 19

Method Rating Maintainability Complexity Lines of code
addRate()
D
29
28 136
calculate_shipping()
C
31 30 100
overrideFormFieldsVariable()
B
22
1 345
shipLogicRateOptins()
B
40 16 61
generate_tcg_override_per_service_html()
A
38 7 88
addRates()
A
47 10 36
__construct()
A
48 7 32
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