EPKB_AI_Security A

Total Complexity 71
Dependencies 4
Dependents 6
Total lines 462
Lines of code 248
Logical lines of code 133
Comment lines 146
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
get_or_create_session()
A
47 12 36
generate_session_id()
A
48 10 31
validate_user_matching()
A
54 8 19
validate_chat_session()
S
55 6 21
get_client_ip()
S
57 6 14
set_session_cookie()
S
53 5 22
log_security_event()
S
54 4 21
check_rate_limit()
S
54 4 19
check_rest_nonce()
S
61 3 11
get_session_id()
S
71 3 5
sanitize_output()
S
55 1 22
get_nonce()
S
70 2 7
can_access_features()
S
74 2 4
get_user_identifier()
S
69 2 6
can_access_settings()
S
78 1 3
can_access_public_api()
S
74 1 4
get_ip_hash()
S
78 1 3