DHLPWC_Model_WooCommerce_Settings_Shipping_Method B

Total Complexity 96
Dependencies 9
Dependents 4
Total lines 1,321
Lines of code 1,088
Logical lines of code 233
Comment lines 45
Methods 31
Properties 0

Methods 31

Method Rating Maintainability Complexity Lines of code
calculate_shipping()
D
28
36 125
init_form_fields()
C
18
2 424
get_delivery_times_group_fields()
A
44 6 50
get_address_fields()
A
39 4 80
calculate_cost()
S
55 6 18
get_shipping_method_fields()
S
42 3 57
get_option_group_fields()
S
43 1 61
get_delivery_times_method_fields()
S
41 1 61
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
__construct()
S
58 2 16
init_instance_form_fields()
S
61 2 13
get_bulk_services_fields()
S
60 2 13
get_additional_shipping_fee()
S
67 2 7
get_number_of_days()
S
67 2 7
get_bulk_group_fields()
S
61 1 13
get_bulk_service_group_fields()
S
61 1 13
generate_dhlpwc_bulk_services_container_html()
S
75 1 4
generate_dhlpwc_delivery_times_container_html()
S
75 1 4
generate_dhlpwc_grouped_option_container_html()
S
75 1 4
init()
S
70 1 6
generate_dhlpwc_bulk_container_html()
S
75 1 4
price_conditions()
S
67 1 7
disable_condition()
S
67 1 7
get_free_price()
S
77 1 3
get_admin_options_html()
S
79 1 3
change_order_status_to_option_update()
S
78 1 3
on_status_to_option_update()
S
78 1 3