WPO_Ajax A

Total Complexity 54
Dependencies 5
Dependents 1
Total lines 372
Lines of code 192
Logical lines of code 80
Comment lines 128
Methods 29
Properties 5

Methods 29

Method Rating Maintainability Complexity Lines of code
handle_ajax_requests()
A
48 9 37
handle_notice_dismissals()
S
58 5 14
set_commands()
S
64 3 11
is_subaction_a_cache_command()
S
77 2 3
get_cache_commands()
S
68 2 8
get_instance()
S
69 2 7
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
is_subaction_a_minify_command()
S
77 2 3
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
is_invalid_command()
S
79 1 3
__construct()
S
79 1 3
get_minify_commands()
S
81 1 3
get_dismiss_actions()
S
68 1 9
is_subaction_a_dismissed_notice()
S
75 1 4
send_invalid_multisite_command_error_response()
S
69 1 7
is_valid_multisite_command()
S
74 1 4
send_user_capability_error_response()
S
69 1 7
is_user_capable()
S
80 1 3
send_security_check_failed_error_response()
S
69 1 7
json_encode_results()
S
80 1 3