EPKB_AI_Messages_DB B

Total Complexity 89
Dependencies 4
Dependents 9
Total lines 706
Lines of code 392
Logical lines of code 202
Comment lines 195
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
handle_db_error()
A
53 12 20
get_conversations()
A
43 8 53
get_rows_with_conditions()
S
51 7 25
delete_old_conversations()
S
54 6 19
save_conversation()
S
56 5 19
get_conversations_count()
S
57 5 17
insert_conversation_with_messages()
S
56 5 17
get_conversation_by_chat_and_session()
S
58 5 15
update_metadata()
S
54 4 22
get_conversation_by_chat_id()
S
61 4 13
get_count_with_conditions()
S
60 4 12
check_idempotent_request()
S
62 4 11
create_table()
S
51 2 35
update_conversation_with_version_check()
S
54 3 20
get_latest_active_conversation_for_session()
S
56 3 17
get_metadata()
S
64 3 9
get_conversation()
S
64 3 10
get_column_defaults()
S
55 1 21
get_column_format()
S
56 1 20
delete_conversation()
S
68 2 7
get_table_version()
S
81 1 3
__construct()
S
68 1 7