WCJ_Order_Custom_Statuses B

Total Complexity 86
Dependencies 2
Dependents 0
Total lines 508
Lines of code 303
Logical lines of code 150
Comment lines 168
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
__construct()
A
40 12 57
add_custom_status_to_processing_and_completed_actions()
A
45 11 39
add_custom_statuses_to_filter_hpos()
S
62 8 9
add_custom_order_statuses_order_preview_actions()
S
51 6 26
bulk_admin_footer()
S
54 6 21
add_custom_statuses_to_filter()
S
60 5 13
get_custom_order_statuses_actions()
S
61 5 12
get_custom_order_statuses()
S
58 4 16
get_status_icon_data()
S
58 3 16
add_custom_status_actions_buttons()
S
59 3 14
hook_statuses_icons_css()
S
59 3 13
hook_statuses_column_css()
S
61 3 11
register_custom_post_statuses()
S
58 2 16
add_custom_status_actions_buttons_css()
S
61 3 10
add_custom_order_statuses_to_reports()
S
68 3 7
add_custom_order_statuses_to_order_editable()
S
77 2 3
set_default_order_status()
S
74 2 4
set_default_order_status_forcefully()
S
69 2 7
get_custom_order_statuses_action_url()
S
77 1 3
cut_prefix()
S
78 1 3
create_custom_statuses_tool()
S
81 1 3