WP_REST_Widget_Types_Controller S

Total Complexity 31
Dependencies 4
Dependents 1
Total lines 442
Lines of code 266
Logical lines of code 85
Comment lines 132
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
S
48 6 32
get_item_schema()
S
43 2 62
get_widgets()
S
55 4 19
register_routes()
S
43 1 60
get_item_permissions_check()
S
62 3 12
get_widget_form()
S
54 2 21
get_widget()
S
65 3 8
check_read_permission()
S
62 2 12
get_items()
S
66 2 8
get_item()
S
65 2 9
prepare_links()
S
63 1 11
__construct()
S
77 1 4
get_items_permissions_check()
S
81 1 3
get_collection_params()
S
73 1 5