Code Analysis: Debug Bar for Sophi 0.1.0

Function Rating Maintainability Complexity Lines of code
SophiDebugBarPanel::render()
A
42 7 60
script_loader_tag()
S
56 7 18
SophiDebugBarPanel::request_end()
S
51 5 27
SophiDebugBarPanel::save()
S
54 5 21
SophiDebugBar\Settings::render_debug_log_field()
S
51 4 30
get_asset_info()
S
60 5 13
setup()
S
50 4 28
SophiDebugBarPanel::tracking_start()
S
54 4 22
show_notices()
S
61 4 14
setup()
S
62 4 11
SophiDebugBarPanel::tracking_end()
S
51 3 26
mce_css()
S
66 4 8
SophiDebugBar\Settings::sanitize()
S
66 3 9
SophiDebugBar\Item::get_request_context_compact()
S
68 3 7
SophiDebugBar\Request::set_response()
S
64 3 10
script_url()
S
69 2 6
SophiDebugBar\Settings::get_settings()
S
68 2 7
SophiDebugBar\Settings::fields()
S
61 1 15
SophiDebugBarPanel::instance()
S
72 2 6
SophiDebugBarPanel::debug_bar_classes()
S
71 2 6
log()
S
62 2 10
style_url()
S
69 2 6
add_panel()
S
77 1 4
admin_styles()
S
69 1 8
SophiDebugBar\Item::set_request()
S
91 1 2
get_enqueue_contexts()
S
80 1 3
SophiDebugBar\Item::get_start()
S
82 1 3
init()
S
82 1 3
SophiDebugBar\Item::get_request_context()
S
82 1 3
warning_sophi_version()
S
79 1 3
SophiDebugBar\Item::set_request_context()
S
81 1 3
warning_sophi_required()
S
79 1 3
SophiDebugBar\Item::__construct()
S
80 1 3
error_debug_bar_required()
S
79 1 3
SophiDebugBar\Item::is_error()
S
82 1 3
SophiDebugBar\Item::set_request_body()
S
81 1 3
SophiDebugBar\Item::get_end()
S
82 1 3
SophiDebugBarPanel::__construct()
S
65 1 8
SophiDebugBar\Item::get_response_code()
S
82 1 3
styles()
S
69 1 8
SophiDebugBar\Item::set_response_code()
S
81 1 3
SophiDebugBar\Item::set_response()
S
91 1 2
SophiDebugBar\Item::set_end()
S
81 1 3
SophiDebugBar\Item::set_response_body()
S
81 1 3
SophiDebugBar\Item::get_request_body()
S
82 1 3
SophiDebugBarPanel::gen_hash()
S
71 1 5
SophiDebugBar\Request::set_request()
S
80 1 3
SophiDebugBar\Item::set_error()
S
81 1 3
SophiDebugBar\Item::get_time()
S
80 1 3
admin_scripts()
S
66 1 9
i18n()
S
71 1 5
SophiDebugBar\Item::get_response_body()
S
82 1 3
SophiDebugBar\Event::set_response()
S
76 1 4
SophiDebugBar\Item::set_raw_response()
S
81 1 3
SophiDebugBarPanel::request_start()
S
65 1 9
scripts()
S
66 1 9
deactivate()
S
100 1 2
SophiDebugBar\Settings::__construct()
S
73 1 4
activate()
S
74 1 5