Shiprocket_Woocommerce_Shipping_Method B

Total Complexity 88
Dependencies 3
Dependents 1
Total lines 485
Lines of code 303
Logical lines of code 172
Comment lines 122
Methods 14
Properties 10

Methods 14

Method Rating Maintainability Complexity Lines of code
calculate_shipping()
C
37 28 70
get_formatted_data()
A
42 15 47
prepare_rate()
A
47 10 32
init()
A
55 10 17
process_result()
S
57 7 16
get_rates_from_server()
S
52 4 24
__construct()
S
45 2 44
add_found_rates()
S
69 3 7
shipping_method_discount()
S
73 3 5
debug()
S
73 2 5
fallbackRateGenerator()
S
63 1 11
flatRateGenerator()
S
63 1 11
shiprocket_update_shipping_charges()
S
75 1 11
init_form_fields()
S
80 1 3