WP_REST_Font_Faces_Controller A

Total Complexity 67
Dependencies 8
Dependents 0
Total lines 831
Lines of code 513
Logical lines of code 174
Comment lines 227
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
create_item()
A
41 11 54
validate_create_font_face_settings()
A
44 10 46
get_item_schema()
A
34 2 124
prepare_item_for_response()
A
51 8 25
delete_item()
S
51 6 26
get_parent_font_family_post()
S
57 5 17
register_routes()
S
42 1 67
get_item()
S
56 4 18
get_item_permissions_check()
S
59 3 14
get_items_permissions_check()
S
63 2 11
get_settings_from_post()
S
62 2 11
get_items()
S
68 2 7
sanitize_font_face_settings()
S
68 2 7
handle_font_file_upload()
S
58 1 15
handle_font_file_upload_error()
S
64 2 9
relative_fonts_path()
S
65 2 9
get_collection_params()
S
59 1 14
prepare_links()
S
60 1 14
get_create_params()
S
60 1 13
prepare_item_for_database()
S
61 1 12