SLP_REST_Handler S

Total Complexity 47
Dependencies 8
Dependents 2
Total lines 680
Lines of code 309
Logical lines of code 148
Comment lines 282
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
update_location()
S
48 6 35
get_smart_option()
S
51 5 26
update_smart_option()
S
50 4 29
setup_rest_cross_version_endpoints()
S
41 1 69
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
initialize()
S
77 2 4
get_location_by_id()
S
65 2 9
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
get_smart_option_filtered()
S
79 1 3
setup_rest_endpoints()
S
74 1 5
set_rest_hooks()
S
79 1 3
user_can_manage_slp()
S
80 1 3