AltTextLab_Settings S

Total Complexity 42
Dependencies 2
Dependents 1
Total lines 493
Lines of code 326
Logical lines of code 101
Comment lines 90
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
register_settings()
S
37 1 119
remove_api_key_missing_param()
S
56 7 17
save_api_key()
S
50 5 30
register_settings_pages()
S
48 3 40
display_api_key_missing_notice()
S
59 3 15
display_notice_api_key_invalid()
S
59 2 15
load_account()
S
59 2 15
clear_error_logs()
S
64 3 10
display_tokens_notice()
S
60 2 14
display_notice_try_later()
S
60 2 14
sanitize_yes_no_checkbox()
S
79 2 3
sanitize_language_option()
S
74 2 4
sanitize_model_name_option()
S
74 2 4
__construct()
S
81 1 3
expire_insufficient_credits_notice()
S
67 1 8
render_settings_page()
S
75 1 4
render_bulk_generate_page()
S
75 1 4
enqueue_styles()
S
77 1 3
render_history_page()
S
75 1 4