Jetpack_Search_Widget C

Total Complexity 111
Dependencies 11
Dependents 0
Total lines 1,050
Lines of code 684
Logical lines of code 270
Comment lines 287
Methods 23
Properties 1

Methods 23

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