WP_REST_Font_Library_Controller S

Total Complexity 50
Dependencies 5
Dependents 1
Total lines 437
Lines of code 286
Logical lines of code 111
Comment lines 110
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
get_validation_errors()
B
39 18 68
install_fonts()
A
45 7 45
needs_write_permission()
S
62 6 12
uninstall_fonts()
S
50 4 32
register_routes()
S
45 1 54
get_font_collection()
S
60 3 14
has_write_permission()
S
66 3 8
update_font_library_permissions_check()
S
62 2 12
uninstall_schema()
S
56 1 21
get_font_collections()
S
68 2 7
validate_install_font_families()
S
64 2 9
__construct()
S
77 1 4