WP_REST_Font_Families_Controller A

Total Complexity 51
Dependencies 5
Dependents 0
Total lines 550
Lines of code 304
Logical lines of code 106
Comment lines 180
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
validate_font_family_settings()
A
47 8 37
get_settings_from_post()
S
63 9 9
prepare_item_for_response()
S
51 7 25
get_item_schema()
S
40 2 75
prepare_item_for_database()
S
54 3 21
get_endpoint_args_for_item_schema()
S
57 3 16
get_item_permissions_check()
S
59 3 14
delete_item()
S
62 3 11
create_item()
S
55 2 20
get_items_permissions_check()
S
63 2 11
prepare_font_face_links()
S
62 2 11
sanitize_font_family_settings()
S
64 2 9
get_public_item_schema()
S
68 2 7
get_collection_params()
S
59 1 15
get_font_face_ids()
S
59 1 15
prepare_links()
S
67 1 8