WPO_Ajax A

Total Complexity 65
Dependencies 5
Dependents 3
Total lines 451
Lines of code 239
Logical lines of code 111
Comment lines 148
Methods 32
Properties 5

Methods 32

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_invalid_multisite_command_error_response()
S
62 2 12
send_user_capability_error_response()
S
62 2 12
is_subaction_a_minify_command()
S
77 2 3
is_subaction_a_cache_command()
S
77 2 3
get_cache_commands()
S
68 2 8
maybe_fix_status_box_content()
S
72 2 5
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
get_instance()
S
69 2 7
set_error_response_on_json_encode_error()
S
65 1 9
execute_command()
S
78 1 3
set_invalid_command_error_response()
S
68 1 7
add_invalid_command_error_log_entry()
S
79 1 3
__construct()
S
71 1 5
get_dismiss_actions()
S
68 1 9
is_invalid_command()
S
79 1 3
get_minify_commands()
S
81 1 3
is_heartbeat_command_valid()
S
74 1 5
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