-
Home
-
Gutenberg
-
17.1.3
-
Code
-
Classes
- WP_REST_Font_Library_Controller
Total Complexity |
54 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
466 |
Lines of code |
305 |
Logical lines of code |
119 |
Comment lines |
118 |
Methods |
13 |
Properties |
0 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_validation_errors() |
B |
39 |
18 |
68 |
install_fonts() |
A |
41 |
10 |
60 |
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 |
has_upload_directory() |
S |
76 |
1 |
4 |