WCPBC_Ajax_Geolocation A

Total Complexity 53
Dependencies 4
Dependents 4
Total lines 288
Lines of code 173
Logical lines of code 77
Comment lines 72
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
get_customer_location()
A
40 13 58
wrapper_price()
A
54 10 19
get_cached_version()
S
58 7 15
maybe_skip_wrapper()
S
63 6 10
widget_content()
S
56 3 19
get_transient_name()
S
61 3 12
should_use_cache()
S
78 3 3
set_cached_version()
S
59 2 15
init()
S
65 2 8
price_html_wrapper()
S
71 2 6
is_enabled()
S
78 1 3
get_widget_class_name()
S
71 1 5