Algolia_Admin_Page_Settings S

Total Complexity 38
Dependencies 3
Dependents 1
Total lines 517
Lines of code 273
Logical lines of code 102
Comment lines 185
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
55 2 22
application_id_callback()
S
63 2 11
search_api_key_callback()
S
63 2 11
api_key_callback()
S
63 2 11
print_section_settings()
S
56 1 20
powered_by_enabled_callback()
S
64 2 9
index_name_prefix_callback()
S
65 2 9
sanitize_powered_by_enabled()
S
79 2 3
add_action_links()
S
66 1 8
is_valid_index_name_prefix()
S
75 1 4
display_page()
S
79 1 3
display_errors()
S
81 1 3
__construct()
S
67 1 7