CMB2_REST_Controller_Fields A

Total Complexity 53
Dependencies 3
Dependents 1
Total lines 487
Lines of code 231
Logical lines of code 99
Comment lines 191
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
prepare_field_data()
A
45 16 37
modify_field_value()
A
50 8 26
get_items()
S
55 6 19
register_routes()
S
45 1 50
maybe_hook_registered_callback()
S
64 3 10
prepare_links()
S
57 1 17
prepare_read_field()
S
64 2 9
delete_item_permissions_check()
S
65 2 8
update_item()
S
64 2 9
update_item_permissions_check()
S
65 2 8
get_item()
S
68 2 7
get_item_permissions_check()
S
67 2 7
maybe_unhook_registered_callback()
S
71 2 6
get_items_permissions_check()
S
72 1 5
delete_item()
S
75 1 4
prepare_field_response()
S
71 1 6
get_item_permissions_check_filter()
S
79 1 3