TCG_Shipping_Method B

Total Complexity 91
Dependencies 4
Dependents 0
Total lines 1,235
Lines of code 1,006
Logical lines of code 289
Comment lines 146
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
overrideFormFieldsVariable()
C
19
1 450
addRate()
C
31 22 114
calculate_shipping()
B
41 19 52
generate_tcg_override_per_service_html()
A
38 7 88
addRates()
A
48 10 35
__construct()
A
48 7 31
isProductFreeShipping()
S
61 6 11
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
getShippingProperties()
S
82 1 3
isTcgProhibited()
S
74 1 4
getSuburbLocationOptions()
S
76 1 5
setParcelPerfectApiCredentials()
S
72 1 5