Code Analysis: ElasticPress Debugging Add-On 3.1.1

Function Rating Maintainability Complexity Lines of code
DebugBarElasticPress\QueryOutput::render_query()
C
28
21 148
DebugBarElasticPress\QueryLog::screen_options()
A
33 11 117
DebugBarElasticPress\QueryLog::action_admin_init()
A
48 7 35
DebugBarElasticPress\QueryLog::determine_request_query_type()
S
56 7 17
DebugBarElasticPress\QueryFormatter::format_queries_for_display()
S
44 5 44
add_debug_bar_stati()
S
53 6 23
DebugBarElasticPress\QueryLog::get_current_context()
S
61 6 13
DebugBarElasticPress\QueryOutput::render_queries()
S
54 5 23
DebugBarElasticPress\QueryLog::log_query()
S
55 5 20
DebugBarElasticPress\QueryMonitorOutput::render_summary()
S
49 4 34
DebugBarElasticPress\QueryLog::maybe_add_request_type()
S
59 5 15
EP_Debug_Bar_ElasticPress::render()
S
52 4 27
setup()
S
53 4 21
DebugBarElasticPress\QueryOutput::render_value()
S
65 5 9
retrieve_raw_document_from_es()
S
64 5 9
DebugBarElasticPress\QueryLog::should_log_by_status()
S
52 3 26
DebugBarElasticPress\QueryOutput::render_additional_buttons()
S
57 3 20
DebugBarElasticPress\QueryOutput::get_copy_paste_report()
S
55 3 19
DebugBarElasticPress\QueryOutput::get_retrieve_raw_document_button()
S
56 3 19
DebugBarElasticPress\QueryLog::setup()
S
54 3 19
DebugBarElasticPress\QueryOutput::get_explain_query_button()
S
57 3 18
DebugBarElasticPress\QueryLog::maybe_disable()
S
64 4 8
DebugBarElasticPress\CommonPanel::render()
S
60 3 14
DebugBarElasticPress\QueryLog::maybe_clear_log()
S
62 3 11
DebugBarElasticPress\QueryOutput::render_buttons()
S
58 2 19
DebugBarElasticPress\QueryLog::sanitize_enable_logging()
S
66 3 8
DebugBarElasticPress\QueryLog::admin_enqueue_scripts()
S
68 3 7
DebugBarElasticPress\QueryLog::maybe_log_delete_index()
S
73 3 4
DebugBarElasticPress\QueryLog::is_query_error()
S
68 3 7
DebugBarElasticPress\CommonPanel::get_title()
S
64 2 10
add_explain_args()
S
71 2 6
DebugBarElasticPress\QueryLog::factory()
S
68 2 8
is_indexable_singular()
S
63 2 10
DebugBarElasticPress\CommonPanel::enqueue_scripts_styles()
S
67 2 7
register_qm_output()
S
69 2 7
DebugBarElasticPress\QueryLog::json_decode_query_log()
S
78 2 3
DebugBarElasticPress\QueryLog::should_log_by_context()
S
73 2 4
DebugBarElasticPress\QueryLog::is_bulk_index_error()
S
68 2 7
admin_notice_min_ep_version()
S
64 1 14
EP_Debug_Bar_ElasticPress::enqueue_scripts_styles()
S
79 1 3
DebugBarElasticPress\QueryLog::get_logging_storage_limit()
S
79 1 3
DebugBarElasticPress\QueryMonitorOutput::name()
S
81 1 3
DebugBarElasticPress\QueryLog::json_encode_query_log()
S
80 1 3
DebugBarElasticPress\QueryLog::is_enabled()
S
75 1 4
DebugBarElasticPress\QueryLog::maybe_add_request_context()
S
76 1 4
i18n()
S
78 1 3
DebugBarElasticPress\QueryMonitorOutput::output()
S
69 1 8
add_debug_bar_panel()
S
73 1 5
DebugBarElasticPress\QueryLog::maybe_add_request_query_type()
S
73 1 4
DebugBarElasticPress\QueryMonitorOutput::__construct()
S
72 1 5
EP_Debug_Bar_ElasticPress::init()
S
72 1 5
EP_Debug_Bar_ElasticPress::prerender()
S
81 1 3
DebugBarElasticPress\QueryLog::action_admin_menu()
S
65 1 10
DebugBarElasticPress\QueryOutput::__construct()
S
81 1 3