WC_Shipping_Legacy_Flat_Rate S

Total Complexity 50
Dependencies 1
Dependents 1
Total lines 391
Lines of code 224
Logical lines of code 125
Comment lines 126
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
get_extra_cost()
A
44 12 48
calculate_shipping()
A
43 11 50
calculate_extra_shipping()
S
53 5 21
fee()
S
57 4 18
find_shipping_classes()
S
61 4 13
get_package_item_qty()
S
64 4 9
evaluate_cost()
S
52 2 25
process_admin_options()
S
68 2 7
calc_percentage_adjustment()
S
67 2 8
init()
S
62 1 11
__construct()
S
65 1 8
get_option_key()
S
80 1 3
init_form_fields()
S
79 1 3