Sensei_Usage_Tracking_Base S

Total Complexity 50
Dependencies 4
Dependents 0
Total lines 514
Lines of code 174
Logical lines of code 94
Comment lines 257
Methods 32
Properties 3

Methods 32

Method Rating Maintainability Complexity Lines of code
get_system_data()
S
50 5 27
send_usage_data()
S
60 4 13
get_plugins()
S
61 4 12
send_tracks_request()
S
51 3 26
send_event()
S
62 2 11
get_plugin_data()
S
67 2 8
unschedule_tracking_task()
S
74 2 5
schedule_tracking_task()
S
72 2 5
get_plugin_name()
S
68 2 7
get_instance_for_subclass()
S
70 2 6
get_site_id()
S
78 1 3
hide_tracking_opt_in()
S
79 1 3
is_opt_in_hidden()
S
79 1 3
opt_in_dialog_text_allowed_html()
S
79 1 3
maybe_display_tracking_opt_in()
S
79 1 3
handle_tracking_opt_in()
S
79 1 3
enqueue_script_deps()
S
80 1 3
get_instance()
S
80 1 3
is_tracking_enabled()
S
81 1 3
add_usage_tracking_two_week_schedule()
S
66 1 8
get_event_prefix()
S
81 1 3
get_prefix()
S
100 1 0
send_anonymous_event()
S
71 1 5
set_callback()
S
81 1 3
__construct()
S
71 1 5
do_track_plugin()
S
100 1 0
opt_in_dialog_text()
S
100 1 0
current_user_can_manage_tracking()
S
100 1 0
set_tracking_enabled()
S
100 1 0
get_tracking_enabled()
S
100 1 0
get_text_domain()
S
100 1 0
output_opt_in_js()
S
80 1 3