-
Home
-
Gutenberg
-
16.5.0
-
Code
-
Classes
- WP_Webfonts
Total Complexity |
27 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
215 |
Lines of code |
90 |
Logical lines of code |
52 |
Comment lines |
92 |
Methods |
10 |
Properties |
1 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
register_webfont() |
A |
52 |
8 |
26 |
_get_registered_webfonts() |
S |
55 |
6 |
20 |
get_font_slug() |
S |
57 |
5 |
17 |
__construct() |
S |
78 |
2 |
3 |
init() |
S |
79 |
1 |
3 |
get_registered_font_families() |
S |
75 |
1 |
4 |
get_registered_webfonts() |
S |
75 |
1 |
4 |
get_enqueued_webfonts() |
S |
75 |
1 |
4 |
get_all_webfonts() |
S |
75 |
1 |
4 |
enqueue_webfont() |
S |
72 |
1 |
5 |