WPSL_Frontend D

Total Complexity 294
Dependencies 1
Dependents 1
Total lines 1,911
Lines of code 1,057
Logical lines of code 559
Comment lines 510
Methods 40
Properties 4

Methods 40

Method Rating Maintainability Complexity Lines of code
show_store_address()
D
28
37 112
add_frontend_scripts()
C
27
23 139
get_store_meta_data()
C
36 24 71
show_store_map()
B
33 21 94
check_sl_shortcode_atts()
B
45 23 35
check_map_shortcode_atts()
B
45 20 38
get_css_classes()
A
50 17 25
find_nearby_locations()
A
41 10 55
create_category_filter()
A
41 9 55
get_custom_css()
A
50 11 24
create_opening_hours_tabel()
A
48 9 33
create_transient_name()
A
53 9 22
store_search()
A
56 8 17
show_opening_hours()
S
51 7 27
set_selected_category()
S
54 7 22
cpt_template()
S
59 7 13
get_map_controls()
S
54 5 22
get_dropdown_list()
S
54 4 20
frontend_meta_fields()
S
46 1 49
add_frontend_styles()
S
65 4 8
check_store_filter()
S
66 4 8
get_dropdown_defaults()
S
61 3 12
get_default_filter_value()
S
61 3 11
use_category_filter()
S
66 3 8
__construct()
S
58 2 15
not_always_closed()
S
69 3 7
shortcode_atts_boolean()
S
67 3 8
get_marker_props()
S
63 2 11
show_store_locator()
S
55 1 20
check_allowed_filter_value()
S
64 2 9
get_opening_hours()
S
66 2 9
get_directions_travel_mode()
S
65 2 9
get_infobox_settings()
S
60 1 13
includes()
S
80 1 3
create_retina_filename()
S
72 1 5
get_store_thumb_size()
S
75 1 4
get_store_thumb()
S
66 1 8
geolocation_errors()
S
65 1 9
get_map_tab_anchor()
S
75 1 4
borlabs_cookie()
S
80 1 3