Gutenberg_REST_Attachments_Controller S

Total Complexity 39
Dependencies 4
Dependents 1
Total lines 357
Lines of code 198
Logical lines of code 106
Comment lines 91
Methods 7
Properties 0

Methods 7

Method Rating Maintainability Complexity Lines of code
sideload_item()
B
36 16 75
prepare_item_for_response()
A
45 8 40
filter_wp_unique_filename()
A
54 8 19
create_item()
S
60 3 14
register_routes()
S
50 1 31
get_endpoint_args_for_item_schema()
S
58 2 16
sideload_item_permissions_check()
S
80 1 3