-
Home
-
Gutenberg
-
15.1.0
-
Code
-
Classes
- WP_Webfonts
Total Complexity |
36 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
270 |
Lines of code |
121 |
Logical lines of code |
69 |
Comment lines |
109 |
Methods |
13 |
Properties |
0 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
_get_enqueued_webfonts() |
S |
55 |
6 |
21 |
_get_registered_webfonts() |
S |
55 |
6 |
20 |
register_webfont() |
S |
57 |
6 |
17 |
migrate_deprecated_structure() |
S |
57 |
4 |
17 |
_get_font_slug() |
S |
70 |
3 |
6 |
get_font_slug() |
S |
68 |
2 |
7 |
is_deprecated_structure() |
S |
73 |
2 |
5 |
extract_font_family_from_deprecated_webfonts_structure() |
S |
66 |
2 |
8 |
init() |
S |
79 |
1 |
3 |
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 |