TCG_Shipping_Method B

Total Complexity 91
Dependencies 4
Dependents 0
Total lines 1,252
Lines of code 1,024
Logical lines of code 290
Comment lines 146
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
overrideFormFieldsVariable()
C
18
1 465
addRate()
C
31 22 116
calculate_shipping()
B
41 19 52
generate_tcg_override_per_service_html()
A
38 7 88
addRates()
A
47 10 36
__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
isTcgProhibited()
S
74 1 4
getShippingProperties()
S
82 1 3
setParcelPerfectApiCredentials()
S
72 1 5
getSuburbLocationOptions()
S
76 1 5