Code Analysis: J&T Express Malaysia 2.0.16

Function Rating Maintainability Complexity Lines of code
Jnt_Helper::process_order()
B
34 15 90
Jnt_Shipment_Order::handle_bulk_action_create_order()
A
38 12 75
Jnt_Callback::jnt_process_webhook()
A
39 11 73
Jnt_Callback::listen_callback()
A
46 9 39
Jnt_Shipment_Order::admin_notices()
A
41 8 52
Jnt_Cancel::handle_bulk_action_cancel_order()
A
43 7 49
Jnt_Status::custom_content_for_customer_shipping_email()
S
63 7 11
Jnt_Shipment_Order::table_order_number_column_content()
S
55 6 20
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_Status::order_status_changed_notification()
S
57 4 18
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
59 3 14
Jnt_Status::register_jnt_order_status()
S
48 1 42
Jnt_Shipping::__construct()
S
61 3 11
Jnt_Api::cancel()
S
53 2 22
Jnt_Shipping::calculate_shipping()
S
55 2 18
Jnt_Shipment_Order::bulk_actions_create_order()
S
66 3 8
Jnt_Shipment_Order::wc_table_order_number_column_content()
S
66 3 8
Jnt_Helper::cancel_order()
S
60 2 13
Jnt_Helper::shipping_rate()
S
60 2 13
Jnt_Helper::process_print_thermal()
S
62 2 11
Jnt_Api::calculate()
S
51 1 25
Jnt::InitPlugin()
S
54 1 24
Jnt_Api::print()
S
55 1 19
Jnt_Api::printA4()
S
56 1 17
Jnt_Admin::check_woocommerce_activated()
S
70 2 6
Jnt::init()
S
71 2 6
Jnt_Admin::check_plugin_version()
S
64 2 9
Jnt_My_Account::add_account_orders_column_rows()
S
71 2 5
Jnt_Shipment_Order::define_hooks()
S
60 1 12
Jnt_Status::__construct()
S
83 1 3
Jnt_Cancel::bulk_actions_cancel_order()
S
76 1 4
Jnt_Consignment_Note::bulk_actions_consignment_note()
S
76 1 4
Jnt_Thermal::bulk_actions_consignment_note_thermal()
S
76 1 4
Jnt_Helper::__construct()
S
80 1 3
Jnt_Cancel::__construct()
S
77 1 4
Jnt_Consignment_Note::__construct()
S
77 1 4
Jnt_Activator::activator()
S
89 1 2
activate_jnt()
S
77 1 4
Jnt_Admin::define_hooks()
S
75 1 4
Jnt_Shipment_Order::table_order_number_column_header()
S
76 1 4
Jnt_My_Account::add_account_orders_column()
S
69 1 7
Jnt_Status::define_hooks()
S
69 1 6
Jnt_My_Account::__construct()
S
82 1 3
Jnt_Thermal::define_hooks()
S
69 1 6
Jnt_Admin::__construct()
S
77 1 4
Jnt_Settings::__construct()
S
82 1 3
Jnt_Shipping::init()
S
72 1 5
Jnt_Consignment_Note::define_hooks()
S
74 1 4
Jnt_Deactivator::deactivate()
S
89 1 2
Jnt_Settings::define_hooks()
S
79 1 3
Jnt_Thermal::__construct()
S
77 1 4
Jnt_Admin::display_update_notice()
S
79 1 7
Jnt_Admin::notice_woocommerce_required()
S
79 1 7
Jnt_Shipment_Order::__construct()
S
77 1 4
Jnt_My_Account::define_hooks()
S
71 1 5
Jnt_Callback::__construct()
S
79 1 3
Jnt_Cancel::define_hooks()
S
69 1 6
Jnt_Api::curl()
S
74 1 4
Jnt_Shipment_Order::waybill_searchable_field()
S
77 1 4
Jnt_Settings::add_shipping_method()
S
72 1 5
Jnt_Helper::process_print()
S
70 1 6
deactivate_jnt()
S
77 1 4
Jnt_Callback::callback_webhook()
S
69 1 6