WPO_Ajax A

Total Complexity 64
Dependencies 5
Dependents 1
Total lines 439
Lines of code 233
Logical lines of code 107
Comment lines 142
Methods 31
Properties 5

Methods 31

Method Rating Maintainability Complexity Lines of code
handle_ajax_requests()
A
48 9 37
handle_heartbeat_requests()
S
51 7 27
handle_notice_dismissals()
S
58 5 14
set_commands()
S
64 3 11
send_user_capability_error_response()
S
62 2 12
send_invalid_multisite_command_error_response()
S
62 2 12
maybe_fix_status_box_content()
S
72 2 5
is_subaction_a_minify_command()
S
77 2 3
get_cache_commands()
S
68 2 8
get_instance()
S
69 2 7
is_subaction_a_cache_command()
S
77 2 3
set_error_response_on_wp_error()
S
64 2 10
maybe_set_results_as_null()
S
70 2 7
is_valid_request()
S
77 2 3
set_data()
S
77 2 3
set_subaction()
S
77 2 3
set_nonce()
S
78 2 3
add_invalid_command_error_log_entry()
S
79 1 3
execute_command()
S
78 1 3
set_error_response_on_json_encode_error()
S
65 1 9
set_invalid_command_error_response()
S
68 1 7
__construct()
S
74 1 4
get_dismiss_actions()
S
68 1 9
is_invalid_command()
S
79 1 3
get_minify_commands()
S
81 1 3
is_subaction_a_dismissed_notice()
S
75 1 4
is_valid_multisite_command()
S
74 1 4
is_user_capable()
S
80 1 3
send_security_check_failed_error_response()
S
69 1 7
set_heartbeat_subaction()
S
81 1 3
json_encode_results()
S
80 1 3