Code Analysis: Debug Bar ElasticPress 3.0.0

Function Rating Maintainability Complexity Lines of code
DebugBarElasticPress\QueryOutput::render_query()
C
29 20 141
DebugBarElasticPress\QueryLog::log_query()
A
44 10 48
DebugBarElasticPress\QueryLog::screen_options()
A
42 7 61
EP_Debug_Bar_ElasticPress::render()
S
48 6 35
DebugBarElasticPress\QueryFormatter::format_queries_for_display()
S
44 5 44
add_debug_bar_stati()
S
53 6 23
DebugBarElasticPress\QueryLog::maybe_clear_log()
S
61 5 12
DebugBarElasticPress\QueryOutput::render_value()
S
65 5 9
DebugBarElasticPress\QueryOutput::render_queries()
S
59 3 19
DebugBarElasticPress\QueryOutput::get_copy_paste_report()
S
55 3 19
DebugBarElasticPress\QueryLog::action_admin_init()
S
65 4 8
DebugBarElasticPress\QueryLog::setup()
S
58 3 14
setup()
S
58 3 14
DebugBarElasticPress\QueryOutput::render_buttons()
S
58 2 19
DebugBarElasticPress\QueryLog::is_query_error()
S
68 3 7
DebugBarElasticPress\QueryLog::maybe_log_delete_index()
S
73 3 4
DebugBarElasticPress\QueryLog::json_decode_query_log()
S
78 2 3
DebugBarElasticPress\QueryLog::is_bulk_index_error()
S
68 2 7
add_explain_args()
S
71 2 6
EP_Debug_Bar_ElasticPress::enqueue_scripts_styles()
S
67 2 7
DebugBarElasticPress\QueryLog::factory()
S
68 2 8
admin_notice_min_ep_version()
S
64 1 14
EP_Debug_Bar_ElasticPress::prerender()
S
81 1 3
DebugBarElasticPress\QueryLog::action_admin_menu()
S
77 1 3
EP_Debug_Bar_ElasticPress::init()
S
72 1 5
DebugBarElasticPress\QueryLog::json_encode_query_log()
S
80 1 3
DebugBarElasticPress\QueryOutput::__construct()
S
81 1 3
add_debug_bar_panel()
S
73 1 5