Algolia_Admin_Page_Settings S

Total Complexity 38
Dependencies 3
Dependents 1
Total lines 492
Lines of code 250
Logical lines of code 101
Comment lines 184
Methods 18
Properties 5

Methods 18

Method Rating Maintainability Complexity Lines of code
sanitize_api_key()
A
42 7 61
sanitize_index_name_prefix()
S
59 4 15
add_settings()
S
46 1 48
sanitize_application_id()
S
61 3 14
sanitize_search_api_key()
S
61 3 14
add_page()
S
56 2 21
sanitize_powered_by_enabled()
S
79 2 3
application_id_callback()
S
65 2 9
search_api_key_callback()
S
65 2 9
api_key_callback()
S
65 2 9
index_name_prefix_callback()
S
65 2 9
powered_by_enabled_callback()
S
64 2 9
display_errors()
S
81 1 3
display_page()
S
79 1 3
__construct()
S
67 1 7
is_valid_index_name_prefix()
S
75 1 4
add_action_links()
S
68 1 7
print_section_settings()
S
70 1 5