Code Analysis: WooCommerce Order Splitter 1.2.2

Function Rating Maintainability Complexity Lines of code
WooCommerce_Order_Splitter_Split_Order::order_splitter_callback()
C
29 28 117
WooCommerce_Order_Splitter_Return_Order_Bulk_Action::handle_bulk_action()
A
37 13 75
WooCommerce_Order_Splitter_Return_Order::handle_return_order_action()
A
39 10 66
WooCommerce_Order_Splitter_Split_Order::get_order_items_callback()
A
49 8 28
WooCommerce_Order_Splitter_Edit_Order_Split_Button::add_split_order_button()
A
52 8 23
WooCommerce_Order_Splitter_Split_Order::adjust_original_order_quantities()
S
52 7 23
WC_Order_Splitter_Notices::admin_notice()
S
52 6 23
WooCommerce_Order_Splitter_Settings::get_split_order_settings()
S
41 3 59
WooCommerce_Order_Splitter_Edit_Order::add_split_order_inline_css()
S
51 4 41
WooCommerce_Order_Splitter_Edit_Order_Return_Option::add_return_order_action()
S
60 6 11
WC_Order_Splitter_Script::enqueue_scripts()
S
47 4 33
WooCommerce_Order_Splitter_Split_Order_Set_Email_Filters::set_email_filters()
S
58 4 17
WooCommerce_Order_Splitter_Edit_Order::enqueue_admin_scripts()
S
58 4 14
WC_Order_Splitter_Notices::wc_order_splitter_admin_footer_scripts()
S
66 1 29
WC_Order_Splitter_Notices::check_woocommerce_active()
S
74 2 5
WooCommerce_Order_Splitter_Return_Order_Bulk_Action::bulk_action_admin_notice()
S
66 2 8
WooCommerce_Order_Splitter_Edit_Order_Split_Button::includes()
S
76 1 4
WooCommerce_Order_Splitter_Return_Order::__construct()
S
79 1 3
WooCommerce_Order_Splitter_Orders_Bulk_Return::register_bulk_action()
S
75 1 4
WooCommerce_Order_Splitter_Orders_Bulk_Return::includes()
S
79 1 3
WooCommerce_Order_Splitter_Edit_Order::__construct()
S
75 1 4
WooCommerce_Order_Splitter::includes()
S
76 1 4
WC_Order_Splitter_Script::includes()
S
69 1 7
WooCommerce_Order_Splitter_Settings::__construct()
S
71 1 5
WooCommerce_Order_Splitter_Settings::add_orders_settings_tab()
S
75 1 4
WooCommerce_Order_Splitter_Settings::order_splitter_settings_tab()
S
81 1 3
WC_Order_Splitter_Notices::never_show_notice()
S
75 1 4
WooCommerce_Order_Splitter_Edit_Order_Return_Option::includes()
S
79 1 3
WooCommerce_Order_Splitter_Split_Order_Set_Email_Filters::__construct()
S
79 1 3
WooCommerce_Order_Splitter::load_textdomain()
S
77 1 3
WC_Order_Splitter_Notices::__construct()
S
70 1 6
WooCommerce_Order_Splitter_Return_Order_Bulk_Action::__construct()
S
74 1 4
WooCommerce_Order_Splitter_Orders_Bulk_Return::__construct()
S
76 1 4
WooCommerce_Order_Splitter_Edit_Order_Split_Button::__construct()
S
76 1 4
WC_Order_Splitter_Notices::dismiss_notice()
S
75 1 4
WooCommerce_Order_Splitter_Edit_Order_Return_Option::__construct()
S
76 1 4
WooCommerce_Order_Splitter::__construct()
S
76 1 4
WC_Order_Splitter_Script::__construct()
S
76 1 4
WooCommerce_Order_Splitter_Split_Order::__construct()
S
75 1 4
WC_Order_Splitter_Notices::yoos_missing_wc_notice()
S
71 1 7
WooCommerce_Order_Splitter_Settings::update_order_splitter_settings()
S
81 1 3