SLP_REST_Handler S

Total Complexity 49
Dependencies 10
Dependents 2
Total lines 723
Lines of code 325
Logical lines of code 152
Comment lines 306
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
update_location()
S
48 6 35
get_smart_option()
S
51 5 26
setup_rest_cross_version_endpoints()
S
40 1 79
update_smart_option()
S
50 4 29
get_locations()
S
56 4 19
valid_referer()
S
60 4 12
add_location()
S
53 3 24
import_options()
S
54 2 20
setup_rest()
S
73 3 5
delete_location_by_id()
S
59 2 14
get_location_by_id()
S
65 2 9
initialize()
S
77 2 4
validate_apikey()
S
68 2 7
get_all_options()
S
61 1 13
get_rest_path()
S
78 1 3
geocode_address()
S
71 1 6
getSchedule()
S
80 1 3
get_smart_option_filtered()
S
79 1 3
getEnvironment()
S
80 1 3
setup_rest_endpoints()
S
74 1 5
set_rest_hooks()
S
79 1 3
user_can_manage_slp()
S
80 1 3