WP_REST_Sidebars_Controller S

Total Complexity 43
Dependencies 3
Dependents 1
Total lines 427
Lines of code 265
Logical lines of code 86
Comment lines 118
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
B
42 16 47
update_item()
A
54 8 20
get_item_schema()
S
39 2 82
get_sidebar()
S
59 4 15
get_items()
S
60 3 14
register_routes()
S
47 1 42
get_item()
S
65 2 8
do_permissions_check()
S
64 2 10
prepare_links()
S
60 1 14
__construct()
S
77 1 4
get_items_permissions_check()
S
81 1 3
get_item_permissions_check()
S
81 1 3
update_item_permissions_check()
S
81 1 3