ATAI_Settings S

Total Complexity 37
Dependencies 2
Dependents 1
Total lines 567
Lines of code 358
Logical lines of code 101
Comment lines 135
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
register_settings()
A
33 1 174
save_api_key()
S
54 5 21
register_settings_pages()
S
46 3 49
remove_api_key_missing_param()
S
58 5 15
display_api_key_missing_notice()
S
59 3 15
load_account()
S
58 2 16
clear_error_logs()
S
64 3 10
sanitize_gpt_prompt()
S
66 3 8
display_insufficient_credits_notice()
S
60 2 14
sanitize_yes_no_checkbox()
S
79 2 3
sanitize_file_extension_list()
S
78 1 3
render_csv_import_page()
S
75 1 4
render_history_page()
S
75 1 4
render_bulk_generate_page()
S
75 1 4
render_settings_page()
S
75 1 4
expire_insufficient_credits_notice()
S
67 1 8
enqueue_styles()
S
77 1 3
__construct()
S
81 1 3