Metasync_Telemetry_Manager C

Total Complexity 101
Dependencies 4
Dependents 3
Total lines 630
Lines of code 282
Logical lines of code 169
Comment lines 239
Methods 29
Properties 9

Methods 29

Method Rating Maintainability Complexity Lines of code
is_telemetry_enabled()
A
60 9 13
send_message()
A
53 8 22
analyze_db_queries()
S
50 7 28
send_exception()
S
56 6 17
parse_memory_limit()
S
57 6 17
test_sentry_connection()
S
61 5 12
generate_error_fingerprint()
S
61 5 11
setup_hooks()
S
55 4 18
get_telemetry_stats()
S
61 4 11
init_telemetry()
S
60 3 14
on_plugin_activated()
S
61 3 12
on_plugin_init()
S
65 3 8
end_page_timer()
S
64 3 9
on_plugin_deactivated()
S
64 3 10
flush_telemetry_queue()
S
75 3 4
send_activation()
S
75 3 4
send_deactivation()
S
75 3 4
send_performance()
S
74 3 4
test_telemetry_connection()
S
69 3 6
get_instance()
S
71 2 6
on_wp_loaded()
S
65 2 8
on_shutdown()
S
64 2 9
start_page_timer()
S
75 2 4
on_log_preparation()
S
70 2 6
on_log_upload()
S
70 2 6
cleanup_old_errors()
S
68 2 7
__construct()
S
74 1 5
is_error_already_sent()
S
79 1 3
mark_error_as_sent()
S
76 1 4