ATAI_Settings S

Total Complexity 34
Dependencies 2
Dependents 1
Total lines 479
Lines of code 299
Logical lines of code 88
Comment lines 118
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
register_settings()
A
36 1 133
save_api_key()
S
52 6 24
remove_api_key_missing_param()
S
58 5 15
register_settings_pages()
S
50 2 35
display_api_key_missing_notice()
S
57 3 18
load_account()
S
58 2 16
sanitize_gpt_prompt()
S
67 3 8
clear_error_logs()
S
64 3 10
display_insufficient_credits_notice()
S
60 2 14
sanitize_yes_no_checkbox()
S
79 2 3
render_settings_page()
S
75 1 4
render_bulk_generate_page()
S
75 1 4
render_csv_import_page()
S
75 1 4
sanitize_file_extension_list()
S
78 1 3
expire_insufficient_credits_notice()
S
67 1 8