WP_REST_Widget_Types_Controller S

Total Complexity 39
Dependencies 4
Dependents 1
Total lines 494
Lines of code 305
Logical lines of code 106
Comment lines 134
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
encode_form_data()
A
40 9 66
prepare_item_for_response()
S
47 6 35
get_widgets()
S
53 5 22
register_routes()
S
42 1 65
get_item_schema()
S
46 2 46
get_item_permissions_check()
S
62 3 12
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
__construct()
S
77 1 4
get_items_permissions_check()
S
81 1 3
prepare_links()
S
64 1 10
get_collection_params()
S
73 1 5