ATAI_Settings S

Total Complexity 42
Dependencies 2
Dependents 1
Total lines 641
Lines of code 402
Logical lines of code 114
Comment lines 160
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
register_settings()
A
31 1 197
save_api_key()
S
54 5 21
register_settings_pages()
S
45 3 50
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_admin_capability()
S
63 2 12
sanitize_refresh_src_field()
S
71 2 6
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