CMB2_REST_Controller S

Total Complexity 38
Dependencies 6
Dependents 0
Total lines 427
Lines of code 141
Logical lines of code 58
Comment lines 223
Methods 16
Properties 10

Methods 16

Method Rating Maintainability Complexity Lines of code
get_query_string()
S
56 5 18
initiate_request()
S
62 5 12
initiate_rest_box()
S
57 4 16
maybe_hook_registered_callback()
S
64 4 10
get_item_schema()
S
51 1 31
maybe_hook_callback_and_apply_filters()
S
65 3 9
maybe_unhook_registered_callback()
S
70 3 6
initiate_rest_read_box()
S
65 3 8
initiate_rest_edit_box()
S
65 3 8
__construct()
S
81 1 3
prepare_item()
S
79 1 3
get_cb_results()
S
69 1 7
prepare_item_for_response()
S
74 1 4
get_intial_request_type()
S
80 1 3
get_intial_route()
S
80 1 3
prepare_links()
S
100 1 0