Directorist_Listings D

Total Complexity 456
Dependencies 5
Dependents 5
Total lines 2,461
Lines of code 1,855
Logical lines of code 1,023
Comment lines 131
Methods 100
Properties 103

Methods 100

Method Rating Maintainability Complexity Lines of code
parse_search_query_args()
D
18
49 260
execute_meta_query_args()
D
26
26 200
set_options()
C
34 24 72
load_google_map()
B
36 22 66
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
46 11 36
loop_get_the_thumbnail()
A
41 9 55
get_map_options()
A
51 11 24
__construct()
A
52 11 23
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
52 10 21
setup_loop()
A
46 9 36
render_shortcode()
A
45 8 41
get_current_listing_type()
A
54 8 20
cache_thumbnails()
S
58 6 16
update_search_options()
S
47 5 28
pagination()
S
51 5 25
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
sidebar_class()
S
61 4 14
get_view_as_link_list()
S
58 4 14
render_list_view()
S
63 4 12
render_grid_view()
S
62 4 12
has_listings_header()
S
73 4 4
pagination_infinite_scroll_class()
S
68 4 7
display_search_button()
S
64 4 10
loop_wrapper_class()
S
63 3 11
map_base_lat_long()
S
58 2 16
has_header_toolbar()
S
78 3 3
is_custom_field()
S
64 3 8
directory_type_nav_template()
S
71 3 5
new_listing_badge()
S
57 2 15
archive_type()
S
71 3 5
loop_map_cat_icon()
S
64 3 9
render_loop_fields()
S
68 3 7
map_options()
S
50 1 27
search_category_location_args()
S
59 1 16
filter_btn_html()
S
67 2 8
listing_wrapper_class()
S
78 2 3
grid_container_fluid()
S
74 2 4
grid_view_class()
S
79 2 3
header_bar_template()
S
70 2 6
print_label()
S
64 2 10
has_whatsapp()
S
67 2 8
featured_badge()
S
64 2 9
masonary_grid_attr()
S
78 2 3
has_masonry()
S
78 2 3
build_search_data()
S
73 2 4
have_posts()
S
78 2 3
populer_badge_list_view()
S
66 2 8
featured_badge_list_view()
S
64 2 9
popular_badge()
S
64 2 9
get_listing_types()
S
67 2 8
get_directory_type_slug()
S
67 2 8
render_map()
S
69 2 8
hide_top_search_bar_on_sidebar_layout()
S
79 2 3
archive_header()
S
70 2 6
single_line_display_class()
S
80 2 3
loop_get_published_date()
S
63 2 10
loop_get_title()
S
64 2 9
load_openstreet_map()
S
61 1 13
search_form_template()
S
63 1 10
basic_search_form_template()
S
63 1 10
advance_search_form_template()
S
63 1 10
mobile_view_filter_template()
S
63 1 10
full_search_form_template()
S
63 1 10
new_badge_list_view()
S
76 1 4
list_view_business_hours()
S
79 1 3
listings_header_title()
S
72 1 5
item_found_title()
S
72 1 5
viewas_dropdown_template()
S
79 1 3
get_price()
S
79 1 3
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
79 1 3
get_user_avatar()
S
79 1 3
get_listing_review()
S
79 1 3
loop_thumb_card_template()
S
79 1 3
sortby_dropdown_template()
S
79 1 3
loop_get_tagline()
S
80 1 3
loop_is_favourite()
S
75 1 4
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
mark_as_favourite_button()
S
79 1 3