Code Analysis: Kronos Express Shipping for WooCommerce 1.0.13

Function Rating Maintainability Complexity Lines of code
kronosexpress_printlabels_submit()
D
14
72 276
kronosexpress_shipping_method_validation()
D
24
47 153
kronosexpress_cancellabels_submit()
D
28
31 145
KRONOSEXPRESS_SHIPPING_WOOCOMMERCE::process_admin_options()
B
42 19 47
KRONOSEXPRESS_Shipping_Method_PEXPRESS::__construct()
B
45 17 35
KRONOSEXPRESS_Shipping_Method_DEXPRESS::__construct()
B
45 17 35
KRONOSEXPRESS_Shipping_Method_PECONOMY::__construct()
B
45 17 35
KRONOSEXPRESS_Shipping_Method_DECONOMY::__construct()
B
45 17 35
after_shipping_add_kronosexpress_locations()
B
37 14 77
kronosexpress_quotation_submit_function()
A
49 14 26
kronosexpress_initialize()
A
29
2 169
kronosexpress_tracking_action_submit_function()
A
52 10 21
kronosexpress_create_sandbox_function()
A
53 10 19
KronosExpressAPI::Announce()
A
39 6 72
kronosexpresss_shipping_method_point_express()
A
33 2 124
kronosexpresss_shipping_method_point_economy()
A
33 2 124
kronosexpresss_shipping_method_door_express()
A
33 2 124
kronosexpresss_shipping_method_door_economy()
A
33 2 124
KronosExpressAPI::HttpPostv2()
A
40 6 64
outputforms()
A
48 8 33
KronosExpressAPI::GetWarehouses()
A
45 7 45
KronosExpressAPI::CreateQuotation()
A
40 5 72
kronosexpress_quotation_sandboxaccount_scripts()
A
54 8 17
KronosExpressAPI::TrackAndTrace()
S
50 6 29
kronosexpress_quotation_cb()
S
38 2 83
action_woocommerce_after_shipping_rate()
S
57 6 15
KronosExpressAPI::CreateSandboxAccount()
S
49 5 30
KronosExpressAPI::GetPrice()
S
47 4 40
KRONOSEXPRESS_SHIPPING_WOOCOMMERCE::order_notes()
S
54 5 19
kronosexpress_create_sandbox_cb()
S
42 2 58
KRONOSEXPRESS_SHIPPING_WOOCOMMERCE::init_form_fields()
S
42 1 63
KRONOSEXPRESS_SHIPPING_WOOCOMMERCE::__construct()
S
55 4 17
wc_new_order_column_tracking()
S
59 4 14
KronosExpressAPI::HttpPost()
S
50 3 29
load_js_checkout()
S
59 4 13
KronosExpressAPI::CancelLabel()
S
53 3 23
KRONOSEXPRESS_Shipping_Method_DECONOMY::get_admin_options_html()
S
53 2 31
KRONOSEXPRESS_Shipping_Method_PEXPRESS::get_admin_options_html()
S
53 2 31
KRONOSEXPRESS_Shipping_Method_PECONOMY::get_admin_options_html()
S
53 2 31
KRONOSEXPRESS_Shipping_Method_DEXPRESS::get_admin_options_html()
S
53 2 31
KronosExpressAPI::CheckCredentials()
S
58 3 15
wc_new_order_column_tracking_content()
S
61 3 12
KronosExpressAPI::__construct()
S
62 3 11
GetHTMLTracking()
S
47 1 40
order_meta_box_kronosexpress()
S
57 2 17
write_log()
S
69 3 7
KronosExpressAPI::hexToStr()
S
63 3 10
KRONOSEXPRESS_Shipping_Method_PECONOMY::process_admin_options()
S
63 3 10
KRONOSEXPRESS_Shipping_Method_DECONOMY::process_admin_options()
S
63 3 10
KRONOSEXPRESS_Shipping_Method_PEXPRESS::process_admin_options()
S
63 3 10
KRONOSEXPRESS_Shipping_Method_DEXPRESS::process_admin_options()
S
63 3 10
KronosExpressAPI::GetURLPrintLabel()
S
59 2 14
KronosExpressAPI::Sanitize()
S
55 1 21
kronosexpress_create_sandbox_and_quotation_menu()
S
60 1 18
KRONOSEXPRESS_Shipping_Method_PEXPRESS::is_available()
S
67 2 7
KRONOSEXPRESS_Shipping_Method_PECONOMY::is_available()
S
67 2 7
refresh_checkout()
S
72 2 5
KRONOSEXPRESS_Shipping_Method_DEXPRESS::init_form_fields()
S
67 2 7
KronosExpressAPI::GetEshopLocation()
S
64 2 9
KRONOSEXPRESS_Shipping_Method_DECONOMY::is_available()
S
67 2 7
KRONOSEXPRESS_Shipping_Method_PECONOMY::init_form_fields()
S
67 2 7
KRONOSEXPRESS_Shipping_Method_DEXPRESS::calculate_shipping()
S
67 2 7
KRONOSEXPRESS_Shipping_Method_DECONOMY::init_form_fields()
S
67 2 7
KRONOSEXPRESS_Shipping_Method_PECONOMY::calculate_shipping()
S
67 2 7
order_meta_box_button_submit()
S
66 2 8
clear_wc_shipping_rates_cache()
S
66 2 8
KRONOSEXPRESS_Shipping_Method_PEXPRESS::calculate_shipping()
S
67 2 7
KRONOSEXPRESS_Shipping_Method_DECONOMY::calculate_shipping()
S
67 2 7
KRONOSEXPRESS_Shipping_Method_PEXPRESS::init_form_fields()
S
67 2 7
KRONOSEXPRESS_Shipping_Method_DEXPRESS::is_available()
S
67 2 7
kronosexpress_shortcode_tracking()
S
74 1 5
KronosExpressAPI::generateDigest()
S
74 1 4
KRONOSEXPRESS_Shipping_Method_PEXPRESS::admin_options()
S
81 1 3
load_kronosexpress_shipping_translations()
S
78 1 3
KRONOSEXPRESS_Shipping_Method_PECONOMY::admin_options()
S
81 1 3
KRONOSEXPRESS_Shipping_Method_DEXPRESS::admin_options()
S
81 1 3
KRONOSEXPRESS_Shipping_Method_DECONOMY::init()
S
71 1 6
KRONOSEXPRESS_Shipping_Method_PEXPRESS::init()
S
71 1 6
KRONOSEXPRESS_Shipping_Method_DEXPRESS::init()
S
71 1 6
KRONOSEXPRESS_SHIPPING_WOOCOMMERCE::order_completed()
S
74 1 4
KRONOSEXPRESS_SHIPPING_WOOCOMMERCE::init()
S
73 1 5
KRONOSEXPRESS_Shipping_Method_PECONOMY::init()
S
71 1 6
KRONOSEXPRESS_Shipping_Method_DECONOMY::admin_options()
S
81 1 3
kronosexpress_bulk_actions_registration()
S
69 1 7
add_kronosexpress_shipping_method()
S
66 1 8