WP_REST_GCF_Gutenberg_Templates_Controller S

Total Complexity 35
Dependencies 3
Dependents 1
Total lines 264
Lines of code 221
Logical lines of code 76
Comment lines 5
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
A
46 9 39
update_item()
S
61 3 13
create_item()
S
62 3 12
get_item_schema()
S
48 1 39
register_routes()
S
50 1 34
get_items()
S
61 2 12
get_items_permissions_check()
S
66 2 8
get_item_permissions_check()
S
66 2 8
get_item()
S
63 2 10
create_item_permissions_check()
S
66 2 8
remove_item_permissions_check_request()
S
66 2 8
update_item_permissions_check()
S
66 2 8
__construct()
S
77 1 4
remove_item()
S
72 1 5
prepare_item_for_response()
S
63 1 10
prepare_response_for_collection()
S
80 1 3