ATAI_Settings S

Total Complexity 38
Dependencies 2
Dependents 1
Total lines 562
Lines of code 352
Logical lines of code 102
Comment lines 136
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
register_settings()
A
34 1 166
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
render_settings_page()
S
69 2 6
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
expire_insufficient_credits_notice()
S
67 1 8
enqueue_styles()
S
77 1 3
__construct()
S
81 1 3