CMB2_REST_Controller_Fields A

Total Complexity 57
Dependencies 3
Dependents 1
Total lines 518
Lines of code 246
Logical lines of code 108
Comment lines 201
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
prepare_field_data()
B
44 17 40
modify_field_value()
A
50 8 26
get_items()
S
55 6 19
register_routes()
S
45 1 50
get_supporting_data()
S
61 3 12
maybe_hook_registered_callback()
S
64 3 10
prepare_links()
S
57 1 17
prepare_read_field()
S
64 2 9
maybe_unhook_registered_callback()
S
71 2 6
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
get_items_permissions_check()
S
72 1 5
prepare_field_response()
S
71 1 6
get_item_permissions_check_filter()
S
79 1 3
delete_item()
S
75 1 4