Jetpack_Search_Widget B

Total Complexity 97
Dependencies 8
Dependents 0
Total lines 1,005
Lines of code 659
Logical lines of code 256
Comment lines 263
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
widget_non_instant()
B
39 18 59
form()
A
34 10 112
update()
A
43 11 48
render_widget_edit_filter()
A
34 3 127
widget_instant()
S
50 7 29
maybe_render_sort_javascript()
S
46 5 51
__construct()
S
49 6 30
form_for_instant_search()
S
47 3 43
should_display_sitewide_filters()
S
60 5 13
widget()
S
54 4 24
widget_empty_instant()
S
57 4 16
sorting_to_wp_query_param()
S
62 5 10
enqueue_frontend_scripts()
S
61 3 13
widget_admin_setup()
S
48 1 39
get_sort_types()
S
67 2 7
is_for_current_widget()
S
78 2 3
render_widget_attr()
S
77 2 3
render_widget_option_selected()
S
73 2 4
jetpack_search_populate_defaults()
S
61 1 13
is_search_active()
S
80 1 3
populate_defaults_for_instant_search()
S
67 1 9
activate_search()
S
79 1 3