Directorist_Listings D

Total Complexity 458
Dependencies 5
Dependents 5
Total lines 2,559
Lines of code 1,858
Logical lines of code 1,024
Comment lines 134
Methods 100
Properties 103

Methods 100

Method Rating Maintainability Complexity Lines of code
parse_search_query_args()
D
17
51 262
execute_meta_query_args()
D
26
26 200
set_options()
C
34 24 72
load_google_map()
B
36 22 65
render_card_field()
B
37 21 70
prepare_atts_data()
B
38 18 63
get_review_data()
A
50 16 24
parse_query_args()
A
43 11 52
item_found_title_for_search()
A
48 11 32
loop_get_the_thumbnail()
A
41 9 58
get_map_options()
A
51 11 24
__construct()
A
53 11 21
set_loop_data()
A
43 9 43
render_badge_template()
A
46 9 39
openstreet_map_card_data()
A
42 8 51
loop_template()
A
53 10 20
setup_loop()
A
47 9 34
render_shortcode()
A
45 8 44
get_current_listing_type()
A
54 8 20
cache_thumbnails()
S
58 6 16
update_search_options()
S
47 5 28
pagination()
S
50 5 26
prepare_data()
S
42 3 48
__get()
S
60 5 14
get_wrapper_class()
S
56 4 19
get_sort_by_link_list()
S
57 4 15
get_view_as_link_list()
S
58 4 14
sidebar_class()
S
61 4 14
render_list_view()
S
63 4 12
render_grid_view()
S
62 4 12
pagination_infinite_scroll_class()
S
68 4 7
has_listings_header()
S
73 4 4
display_search_button()
S
64 4 10
loop_wrapper_class()
S
63 3 11
map_base_lat_long()
S
58 2 16
loop_map_cat_icon()
S
64 3 9
has_header_toolbar()
S
78 3 3
is_custom_field()
S
64 3 8
render_loop_fields()
S
68 3 7
directory_type_nav_template()
S
71 3 5
archive_type()
S
71 3 5
new_listing_badge()
S
57 2 15
map_options()
S
50 1 27
search_category_location_args()
S
59 1 16
build_search_data()
S
73 2 4
have_posts()
S
78 2 3
get_listing_types()
S
67 2 8
get_directory_type_slug()
S
67 2 8
render_map()
S
70 2 7
loop_get_published_date()
S
64 2 9
loop_get_title()
S
65 2 8
has_masonry()
S
78 2 3
masonary_grid_attr()
S
78 2 3
grid_view_class()
S
79 2 3
has_whatsapp()
S
69 2 7
print_label()
S
65 2 9
listing_wrapper_class()
S
78 2 3
grid_container_fluid()
S
74 2 4
hide_top_search_bar_on_sidebar_layout()
S
79 2 3
filter_btn_html()
S
68 2 7
header_bar_template()
S
70 2 6
single_line_display_class()
S
80 2 3
archive_header()
S
70 2 6
featured_badge()
S
64 2 9
popular_badge()
S
64 2 9
featured_badge_list_view()
S
64 2 9
populer_badge_list_view()
S
66 2 8
load_openstreet_map()
S
61 1 13
search_form_template()
S
61 1 12
basic_search_form_template()
S
61 1 12
advance_search_form_template()
S
61 1 12
mobile_view_filter_template()
S
61 1 12
full_search_form_template()
S
61 1 12
get_query_results()
S
80 1 3
archive_view_template()
S
74 1 4
post_ids()
S
82 1 3
has_sidebar()
S
82 1 3
get_dropdown_toggle_button_icon_class()
S
80 1 3
dropdown_toggle_button_icon_class()
S
80 1 3
get_favorite_badge()
S
78 1 3
get_user_avatar()
S
78 1 3
get_listing_review()
S
78 1 3
get_price()
S
78 1 3
loop_thumb_card_template()
S
78 1 3
loop_get_tagline()
S
80 1 3
loop_is_favourite()
S
75 1 4
item_found_title()
S
72 1 5
get_the_location()
S
78 1 3
wrapper_class()
S
77 1 3
data_atts()
S
71 1 5
loop_link_attr()
S
74 1 4
loop_thumbnail_link_attr()
S
78 1 3
loop_title_link_attr()
S
78 1 3
header_container_class()
S
80 1 3
sortby_dropdown_template()
S
78 1 3
viewas_dropdown_template()
S
78 1 3
listings_header_title()
S
72 1 5
new_badge_list_view()
S
76 1 4
list_view_business_hours()
S
79 1 3
mark_as_favourite_button()
S
79 1 3