Code Analysis: Woo NovaPoshta Shipping Method 1.0.2

Function Rating Maintainability Complexity Lines of code
nova_poshta_shipping_method_init()
A
25
2 247
WC_NovaPoshta_Shipping_Method::updateAreas()
A
35 9 104
searchCities()
S
47 4 37
woo_adon_plugin_template()
S
57 5 18
WC_NovaPoshta_Shipping_Method::calculate()
S
48 3 35
getCitiesByAreaCodeAjax()
S
58 4 15
WC_NovaPoshta_Shipping_Method::calculate_shipping()
S
53 3 24
WC_NovaPoshta_Shipping_Method::init_form_fields()
S
45 1 49
nova_poshta_plugin_options_install()
S
57 3 17
order_fields()
S
56 2 20
WC_NovaPoshta_Shipping_Method::getCitiesByAreaCode()
S
64 2 9
custom_woocommerce_states()
S
65 2 9
WC_NovaPoshta_Shipping_Method::__construct()
S
62 1 11
WC_NovaPoshta_Shipping_Method::init()
S
73 1 5
add_nova_poshta_shipping_method()
S
77 1 4
filter_woocommerce_order_formatted_billing_address()
S
65 1 9
add_scripts()
S
82 1 3
WC_NovaPoshta_Shipping_Method::shipping_scripts()
S
78 1 3
add_new_billing_fields()
S
70 1 7