Jetpack_Search_Helpers C

Total Complexity 121
Dependencies 3
Dependents 7
Total lines 752
Lines of code 364
Logical lines of code 208
Comment lines 296
Methods 30
Properties 0

Methods 30

Method Rating Maintainability Complexity Lines of code
get_widget_tracks_value()
B
39 21 65
generate_widget_filter_name()
A
45 11 44
get_filters_from_widgets()
A
50 10 26
ensure_post_types_on_remove_url()
A
50 9 29
get_filter_properties_for_tracks()
S
55 5 20
get_widget_properties_for_tracks()
S
56 5 17
get_date_filter_type_name()
S
58 5 16
remove_active_from_post_type_buckets()
S
60 5 12
post_types_differ_query()
S
58 4 15
is_valid_locale()
S
63 4 10
get_active_post_types()
S
64 4 9
should_rerun_search_in_customizer_preview()
S
69 4 6
get_search_url()
S
62 3 11
get_asset_version()
S
72 3 5
add_query_arg()
S
68 3 7
get_widgets_from_option()
S
67 3 7
array_diff()
S
66 3 8
add_post_types_to_url()
S
63 2 12
post_types_differ_searchable()
S
66 2 8
sanitize_checkbox_value()
S
78 2 3
get_max_posts_per_page()
S
79 2 3
get_max_offset()
S
79 2 3
remove_query_arg()
S
74 2 4
generate_post_type_customizer_ids()
S
70 1 6
generate_post_type_customizer_id()
S
79 1 3
are_filters_by_widget_disabled()
S
79 1 3
get_widget_option_name()
S
79 1 3
build_widget_id()
S
79 1 3
is_active_widget()
S
78 1 3
sanitize_checkbox_value_for_js()
S
80 1 3