SimpleHistory D

Total Complexity 326
Dependencies 2
Dependents 13
Total lines 3,261
Lines of code 1,804
Logical lines of code 830
Comment lines 920
Methods 83
Properties 9

Methods 83

Method Rating Maintainability Complexity Lines of code
output_quick_stats()
C
32 26 113
getLogRowHTMLOutput()
C
27
18 182
load_loggers()
B
33 17 105
get_avatar()
B
38 19 65
getLogLevelTranslated()
B
43 17 56
check_for_upgrade()
A
34 11 119
api()
A
44 13 44
is_on_our_own_pages()
A
54 14 19
add_admin_bar_network_menu_item()
A
45 10 40
settings_field_number_of_items()
A
57 11 16
settings_field_number_of_items_dashboard()
A
57 11 16
add_js_templates()
A
40 4 103
enqueue_admin_scripts()
A
40 6 62
getLoggersThatUserCanRead()
A
47 7 39
add_settings()
A
42 5 62
settings_page_output()
S
46 6 41
load_dropins()
S
45 5 45
purge_db()
S
44 5 45
add_admin_bar_menu_item()
S
50 5 29
getLogRowPlainTextOutput()
S
60 5 13
add_admin_pages()
S
51 4 27
addWelcomeLogMessage()
S
48 3 40
filter_gettext_storeLatestTranslations()
S
56 4 18
plugin_action_links()
S
60 4 13
add_dashboard_widget()
S
62 4 11
getInstantiatedLoggerBySlug()
S
63 4 11
add_default_settings_tabs()
S
53 3 24
settings_field_where_to_show()
S
57 3 20
getLogRowSenderImageOutput()
S
63 4 10
getLogRowDetailsOutput()
S
63 4 10
getLogRowHeaderOutput()
S
63 4 10
get_num_events_per_day_last_n_days()
S
51 2 29
init()
S
50 2 28
setup_cron()
S
62 3 11
filter_gettext_with_context()
S
63 3 11
filter_gettext()
S
63 3 11
get_num_events_last_n_days()
S
54 2 22
get_unique_events_for_days()
S
55 2 20
settings_field_clear_log()
S
56 2 20
get_cache_incrementor()
S
65 3 9
history_page_output()
S
55 1 26
clear_log()
S
56 1 19
get_instance()
S
71 2 6
maybe_purge_db()
S
71 2 6
onAdminFooter()
S
74 2 5
onAdminHead()
S
74 2 5
json_encode()
S
72 2 5
add_admin_actions()
S
59 1 13
admin_notice_logger_slug_to_long()
S
67 1 11
settings_output_styles_example()
S
80 1 3
get_view_history_capability()
S
71 1 6
on_filter_simple_history_log()
S
79 1 3
on_filter_simple_history_log_emergency()
S
79 1 3
on_filter_simple_history_log_alert()
S
79 1 3
on_filter_simple_history_log_critical()
S
79 1 3
on_filter_simple_history_log_error()
S
79 1 3
on_filter_simple_history_log_warning()
S
79 1 3
on_filter_simple_history_log_notice()
S
79 1 3
on_filter_simple_history_log_info()
S
79 1 3
getInstantiatedDropins()
S
82 1 3
getInstantiatedLoggers()
S
82 1 3
on_filter_simple_history_log_debug()
S
79 1 3
load_plugin_textdomain()
S
68 1 6
ends_with()
S
78 1 3
setup_variables()
S
70 1 7
get_view_settings_capability()
S
71 1 6
settings_section_output()
S
91 1 2
does_database_have_data()
S
64 1 9
settings_output_general()
S
80 1 3
settings_output_log()
S
80 1 3
getSettingsTabs()
S
82 1 3
setting_show_on_dashboard()
S
72 1 5
setting_show_as_page()
S
72 1 5
registerSettingsTab()
S
80 1 3
filter_option_page_capability()
S
82 1 3
user_can_clear_log()
S
75 1 4
dashboard_widget_output()
S
65 1 10
get_clear_history_interval()
S
70 1 6
get_pager_size_dashboard()
S
72 1 5
get_pager_size()
S
72 1 5
register_dropin()
S
80 1 3
register_logger()
S
80 1 3
__construct()
S
82 1 3