WC_Shipping_Method B

Total Complexity 80
Dependencies 3
Dependents 3
Total lines 548
Lines of code 213
Logical lines of code 118
Comment lines 255
Methods 24
Properties 15

Methods 24

Method Rating Maintainability Complexity Lines of code
add_rate()
A
42 13 49
get_taxes_per_item()
A
53 11 22
process_admin_options()
S
53 7 20
is_available()
S
54 7 19
get_instance_option()
S
58 5 14
get_rates_for_package()
S
67 4 7
get_fee()
S
64 4 9
is_taxable()
S
77 4 3
get_option()
S
67 3 7
get_rate_id()
S
65 3 10
has_settings()
S
78 2 3
get_admin_options_html()
S
66 2 8
admin_options()
S
68 2 7
get_instance_option_key()
S
78 2 3
init_instance_settings()
S
67 2 7
get_title()
S
79 1 3
get_method_description()
S
79 1 3
calculate_shipping()
S
98 1 1
supports()
S
78 1 3
is_enabled()
S
80 1 3
get_method_title()
S
79 1 3
get_instance_id()
S
82 1 3
get_instance_form_fields()
S
77 1 3
__construct()
S
80 1 3