Code Analysis: J&T Express Malaysia 2.0.13

Function Rating Maintainability Complexity Lines of code
Jnt_Shipment_Order::admin_notices()
D
29
36 118
Jnt_Helper::process_order()
B
34 15 90
Jnt_Callback::jnt_process_webhook()
A
39 11 71
Jnt_Shipment_Order::handle_bulk_action_create_order()
A
39 11 69
Jnt_Cancel::handle_bulk_action_cancel_order()
A
44 7 45
Jnt_Shipment_Order::table_order_number_column_content()
S
55 6 20
Jnt_Callback::listen_callback()
S
52 5 25
Jnt_Thermal_New::handle_bulk_action_consignment_note_thermal_new()
S
53 5 23
Jnt_Thermal::handle_bulk_action_consignment_note_thermal()
S
53 5 23
Jnt_Consignment_Note::handle_bulk_action_consignment_note()
S
53 5 23
Jnt_Api::order()
S
44 2 46
Jnt_Shipping::init_form_fields()
S
44 1 54
Jnt_My_Account::display_jt_fields_on_order_item_totals()
S
58 3 15
Jnt_Status::register_jnt_order_statuses()
S
60 3 13
Jnt_Shipping::__construct()
S
61 3 11
Jnt_Api::cancel()
S
53 2 22
Jnt_Status::register_jnt_order_status()
S
50 1 34
Jnt_Shipping::calculate_shipping()
S
55 2 18
Jnt_Shipment_Order::bulk_actions_create_order()
S
65 3 8
Jnt_Shipment_Order::wc_table_order_number_column_content()
S
67 3 8
Jnt_Helper::cancel_order()
S
60 2 13
Jnt_Helper::shipping_rate()
S
60 2 13
Jnt::InitPlugin()
S
53 1 26
Jnt_Helper::process_print_thermal()
S
62 2 11
Jnt_Api::calculate()
S
51 1 25
Jnt_Api::print()
S
55 1 19
Jnt_Api::printA4()
S
56 1 17
Jnt_Admin::check_plugin_version()
S
64 2 9
Jnt_My_Account::add_account_orders_column_rows()
S
72 2 5
Jnt_Admin::check_woocommerce_activated()
S
70 2 6
Jnt_Api::postcode()
S
65 2 8
Jnt::init()
S
71 2 6
Jnt_Shipment_Order::define_hooks()
S
60 1 12
Jnt_Consignment_Note::bulk_actions_consignment_note()
S
75 1 4
Jnt_Consignment_Note::__construct()
S
77 1 4
Jnt_Settings::define_hooks()
S
79 1 3
Jnt_My_Account::add_account_orders_column()
S
68 1 7
Jnt_Cancel::bulk_actions_cancel_order()
S
75 1 4
Jnt_Thermal_New::define_hooks()
S
74 1 4
Jnt_Thermal_New::bulk_actions_consignment_note_thermal_new()
S
75 1 4
Jnt_Admin::display_update_notice()
S
79 1 7
Jnt_Thermal::__construct()
S
77 1 4
Jnt_Deactivator::deactivate()
S
89 1 2
Jnt_Callback::callback_webhook()
S
69 1 6
Jnt_Cancel::define_hooks()
S
69 1 6
Jnt_Shipment_Order::__construct()
S
77 1 4
Jnt_Shipment_Order::table_order_number_column_header()
S
76 1 4
Jnt_Thermal::bulk_actions_consignment_note_thermal()
S
75 1 4
activate_jnt()
S
77 1 4
Jnt_Settings::__construct()
S
82 1 3
Jnt_Admin::notice_woocommerce_required()
S
79 1 7
Jnt_Thermal::define_hooks()
S
69 1 6
Jnt_Helper::process_print_thermal_new()
S
75 1 4
Jnt_My_Account::__construct()
S
82 1 3
Jnt_Api::generate2()
S
79 1 3
Jnt_Helper::process_print()
S
70 1 6
Jnt_Helper::phone_format()
S
68 1 6
Jnt_Status::define_hooks()
S
75 1 4
Jnt_Api::generate()
S
79 1 3
Jnt_My_Account::define_hooks()
S
71 1 5
Jnt_Status::__construct()
S
83 1 3
Jnt_Callback::__construct()
S
79 1 3
Jnt_Shipment_Order::waybill_searchable_field()
S
77 1 4
Jnt_Consignment_Note::define_hooks()
S
74 1 4
Jnt_Helper::__construct()
S
80 1 3
Jnt_Shipping::init()
S
72 1 5
Jnt_Api::curl()
S
74 1 4
Jnt_Activator::activator()
S
89 1 2
Jnt_Admin::define_hooks()
S
75 1 4
Jnt_Settings::add_shipping_method()
S
72 1 5
Jnt_Thermal_New::__construct()
S
77 1 4
Jnt_Admin::__construct()
S
77 1 4
deactivate_jnt()
S
77 1 4
Jnt_Cancel::__construct()
S
77 1 4