Mementor_TTS_Analytics B

Total Complexity 81
Dependencies 1
Dependents 0
Total lines 781
Lines of code 484
Logical lines of code 173
Comment lines 186
Methods 23
Properties 4

Methods 23

Method Rating Maintainability Complexity Lines of code
check_suspicious_activity()
A
45 10 44
prepare_event_data()
A
52 8 22
calculate_daily_suspicious_score()
S
56 6 19
determine_api_type()
S
62 6 12
aggregate_daily_stats()
S
43 3 57
send_analytics_to_remote()
S
51 5 26
log_suspicious_domain()
S
52 5 23
get_user_type()
S
59 5 14
get_date_condition()
S
61 5 14
guess_country_from_domain()
S
50 4 26
get_analytics_summary()
S
46 2 50
get_pro_version()
S
57 4 17
create_tables()
S
47 1 51
log_event()
S
58 2 16
is_analytics_enabled()
S
70 3 6
export_analytics_for_sync()
S
51 1 29
get_instance()
S
71 2 6
__construct()
S
63 2 10
get_user_agent_hash()
S
73 2 4
schedule_tasks()
S
70 2 6
cleanup_old_data()
S
61 1 13
get_domain_info()
S
62 1 11
cleanup_synced_data()
S
66 1 8