-
Home
-
Gutenberg
-
12.8.0
-
Code
-
Classes
- WP_Webfonts
Total Complexity |
38 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
284 |
Lines of code |
142 |
Logical lines of code |
74 |
Comment lines |
100 |
Methods |
10 |
Properties |
3 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validate_font() |
B |
40 |
16 |
60 |
generate_styles() |
A |
49 |
8 |
31 |
register_provider() |
S |
68 |
3 |
7 |
init() |
S |
61 |
2 |
12 |
register_font() |
S |
69 |
2 |
7 |
generate_and_enqueue_styles() |
S |
66 |
2 |
9 |
generate_and_enqueue_editor_styles() |
S |
69 |
2 |
7 |
get_fonts() |
S |
81 |
1 |
3 |
get_providers() |
S |
81 |
1 |
3 |
get_font_id() |
S |
77 |
1 |
3 |