-
Home
-
StorePilot
-
1.2.9 (latest)
-
Code
-
Classes
- SP_REST_Attachments_Controller
Total Complexity |
94 |
Dependencies |
4 |
Dependents |
0 |
Total lines |
846 |
Lines of code |
497 |
Logical lines of code |
231 |
Comment lines |
211 |
Methods |
15 |
Properties |
3 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
create_item() |
C |
33 |
27 |
90 |
prepare_item_for_response() |
A |
42 |
10 |
51 |
upload_from_data() |
A |
43 |
9 |
47 |
get_filename_from_disposition() |
A |
51 |
8 |
27 |
prepare_item_for_database() |
A |
55 |
8 |
21 |
prepare_items_query() |
A |
54 |
8 |
20 |
upload_from_file() |
S |
51 |
7 |
25 |
update_item() |
S |
51 |
6 |
24 |
get_item_schema() |
S |
39 |
1 |
86 |
register_routes() |
S |
42 |
1 |
61 |
get_media_types() |
S |
63 |
3 |
11 |
get_collection_params() |
S |
56 |
1 |
18 |
create_item_permissions_check() |
S |
67 |
2 |
7 |
validate_user_can_query_private_statuses() |
S |
70 |
2 |
6 |
__construct() |
S |
77 |
1 |
3 |