GeoDir_REST_Setting_Options_Controller S

Total Complexity 45
Dependencies 5
Dependents 0
Total lines 521
Lines of code 334
Logical lines of code 113
Comment lines 139
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
get_group_settings()
A
48 9 31
update_item()
S
51 5 28
get_item_schema()
S
39 1 82
get_setting()
S
56 5 18
get_items()
S
59 4 15
register_routes()
S
45 1 55
filter_setting()
S
60 3 13
batch_items()
S
61 3 12
cast_image_width()
S
63 3 10
get_item()
S
66 2 8
prepare_item_for_response()
S
64 2 9
get_items_permissions_check()
S
69 2 6
update_items_permissions_check()
S
69 2 6
is_setting_type_valid()
S
60 1 15
allowed_setting_keys()
S
61 1 14
prepare_links()
S
61 1 12