BP_REST_Sitewide_Notices_Endpoint A

Total Complexity 66
Dependencies 4
Dependents 0
Total lines 964
Lines of code 498
Logical lines of code 179
Comment lines 368
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
A
49 13 29
get_items()
A
46 9 39
get_item_permissions_check()
S
49 6 32
get_item_schema()
S
39 2 84
update_item()
S
50 4 31
get_endpoint_args_for_item_schema()
S
50 4 27
register_routes()
S
43 1 64
get_items_permissions_check()
S
56 4 18
delete_item()
S
50 3 32
create_item()
S
53 3 24
dismiss_notice()
S
54 2 23
prepare_item_for_response()
S
53 2 22
dismiss_notice_permissions_check()
S
61 2 13
manage_item_permissions_check()
S
61 2 13
get_notice_object()
S
69 2 7
prepare_links()
S
62 1 12
delete_item_permissions_check()
S
75 1 4
update_item_permissions_check()
S
75 1 4
create_item_permissions_check()
S
75 1 4
get_item()
S
68 1 7
get_collection_params()
S
72 1 5
__construct()
S
75 1 4