BP_REST_Notifications_Endpoint A

Total Complexity 69
Dependencies 5
Dependents 0
Total lines 882
Lines of code 477
Logical lines of code 157
Comment lines 302
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
B
42 24 46
get_item_permissions_check()
S
50 6 32
update_item()
S
47 4 39
get_items()
S
50 4 31
get_collection_params()
S
42 1 64
get_endpoint_args_for_item_schema()
S
58 4 14
get_items_permissions_check()
S
60 4 13
register_routes()
S
44 1 57
create_item()
S
52 3 26
get_item_schema()
S
44 1 54
can_see()
S
65 4 9
delete_item()
S
53 2 23
prepare_item_for_response()
S
55 2 18
get_notification_object()
S
66 3 8
prepare_links()
S
58 1 16
get_item()
S
63 1 11
delete_item_permissions_check()
S
75 1 4
update_item_permissions_check()
S
75 1 4
create_item_permissions_check()
S
75 1 4
__construct()
S
75 1 4