Directorist_Listings D

Total Complexity 439
Dependencies 5
Dependents 5
Total lines 2,375
Lines of code 1,793
Logical lines of code 994
Comment lines 127
Methods 97
Properties 103

Methods 97

Method Rating Maintainability Complexity Lines of code
parse_search_query_args()
D
19
46 255
execute_meta_query_args()
D
26
26 200
set_options()
C
34 24 71
load_google_map()
B
36 22 66
render_card_field()
B
37 21 70
prepare_atts_data()
B
38 18 62
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
loop_template()
A
52 10 21
setup_loop()
A
46 9 36
openstreet_map_card_data()
A
42 8 51
render_shortcode()
A
50 8 28
get_current_listing_type()
A
54 8 20
render_badge_template()
S
51 7 28
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
display_search_button()
S
64 4 10
has_listings_header()
S
73 4 4
loop_wrapper_class()
S
63 3 11
map_base_lat_long()
S
58 2 16
directory_type_nav_template()
S
71 3 5
render_loop_fields()
S
68 3 7
archive_type()
S
71 3 5
is_custom_field()
S
64 3 8
loop_map_cat_icon()
S
64 3 9
new_listing_badge()
S
57 2 15
has_header_toolbar()
S
78 3 3
map_options()
S
50 1 27
search_category_location_args()
S
59 1 16
print_label()
S
64 2 10
filter_btn_html()
S
67 2 8
listing_wrapper_class()
S
78 2 3
grid_container_fluid()
S
74 2 4
header_bar_template()
S
70 2 6
grid_view_class()
S
79 2 3
has_whatsapp()
S
67 2 8
masonary_grid_attr()
S
78 2 3
featured_badge()
S
64 2 9
has_masonry()
S
78 2 3
render_map()
S
69 2 8
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
hide_top_search_bar_on_sidebar_layout()
S
79 2 3
single_line_display_class()
S
80 2 3
archive_header()
S
70 2 6
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
listings_header_title()
S
72 1 5
basic_search_form_template()
S
63 1 10
advance_search_form_template()
S
63 1 10
mobile_view_filter_template()
S
63 1 10
new_badge_list_view()
S
76 1 4
list_view_business_hours()
S
79 1 3
full_search_form_template()
S
63 1 10
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