APPMAKER_WP_WC_REST_BACKEND_MEDIA_Controller S

Total Complexity 48
Dependencies 3
Dependents 0
Total lines 401
Lines of code 244
Logical lines of code 129
Comment lines 105
Methods 11
Properties 2

Methods 11

Method Rating Maintainability Complexity Lines of code
upload_from_data()
A
43 9 47
create_item()
A
44 8 45
get_filename_from_disposition()
A
51 8 27
upload_from_file()
A
50 8 26
prepare_item_for_response()
S
54 7 18
search_media()
S
55 3 19
register_routes()
S
56 1 20
get_item_schema()
S
56 1 20
prepare_links()
S
63 1 11
__construct()
S
76 1 4
get_collection_params()
S
69 1 7