WP_REST_Font_Families_Controller S

Total Complexity 50
Dependencies 6
Dependents 0
Total lines 506
Lines of code 282
Logical lines of code 108
Comment lines 164
Methods 15
Properties 1

Methods 15

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
42 2 61
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
sanitize_font_family_settings()
S
64 3 10
get_items_permissions_check()
S
63 2 11
prepare_font_face_links()
S
62 2 11
get_font_face_ids()
S
59 1 15
get_collection_params()
S
60 1 13
prepare_links()
S
67 1 8