EPKB_AI_Utilities B

Total Complexity 76
Dependencies 4
Dependents 12
Total lines 550
Lines of code 333
Logical lines of code 175
Comment lines 139
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
add_log()
A
42 13 49
sanitize_log_context()
A
42 13 48
handle_ai_error_and_die()
A
40 7 62
send_ai_notification_email()
A
49 8 28
should_log()
S
62 6 12
run_cleanup_now()
S
52 4 25
validate_ai_user_matching()
S
59 4 14
get_logs()
S
61 4 12
validate_uuid()
S
62 3 11
prepare_email_message_body()
S
51 1 33
is_ai_search_enabled()
S
67 3 7
is_ai_chat_enabled()
S
67 3 7
generate_uuid_v4()
S
60 2 12
reset_logs()
S
69 2 7
is_ai_enabled()
S
78 2 3
extra_sanitize_text_field()
S
75 1 3