DHLPWC_Model_WooCommerce_Settings_Shipping_Method B

Total Complexity 83
Dependencies 9
Dependents 4
Total lines 1,197
Lines of code 974
Logical lines of code 203
Comment lines 43
Methods 31
Properties 0

Methods 31

Method Rating Maintainability Complexity Lines of code
calculate_shipping()
C
34 25 86
init_form_fields()
B
19
2 383
get_address_fields()
A
39 4 81
calculate_cost()
S
55 6 18
get_shipping_method_fields()
S
42 3 57
get_delivery_times_group_fields()
S
49 3 36
get_option_group_fields()
S
43 1 61
__construct()
S
57 3 17
get_order_status_change_fields()
S
57 3 17
get_shipping_days()
S
50 2 30
get_days_for_sending()
S
61 3 12
get_time_for_sending()
S
61 3 12
get_subtotal_price()
S
61 3 11
get_delivery_times_method_fields()
S
47 1 39
get_bulk_services_fields()
S
60 2 13
init_instance_form_fields()
S
61 2 13
get_number_of_days()
S
67 2 7
get_additional_shipping_fee()
S
67 2 7
get_bulk_service_group_fields()
S
61 1 13
get_bulk_group_fields()
S
61 1 13
generate_dhlpwc_bulk_services_container_html()
S
75 1 4
generate_dhlpwc_bulk_container_html()
S
75 1 4
generate_dhlpwc_grouped_option_container_html()
S
75 1 4
get_admin_options_html()
S
79 1 3
init()
S
70 1 6
price_conditions()
S
67 1 7
disable_condition()
S
67 1 7
get_free_price()
S
78 1 3
change_order_status_to_option_update()
S
78 1 3
on_status_to_option_update()
S
78 1 3
generate_dhlpwc_delivery_times_container_html()
S
75 1 4