-
Home
-
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance
-
4.2.4
-
Code
-
Classes
- WP_Optimize_Minify_Fonts
| Total Complexity |
81 |
| Dependencies |
0 |
| Dependents |
1 |
| Total lines |
302 |
| Lines of code |
215 |
| Logical lines of code |
146 |
| Comment lines |
61 |
| Methods |
9 |
| Properties |
2 |
Methods 9
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| specs_to_string() |
B |
43 |
22 |
44 |
| parse_font_api2_url() |
B |
40 |
21 |
55 |
| convert_v1_font_specs_to_v2() |
B |
41 |
16 |
51 |
| parse_font_api1_url() |
A |
52 |
8 |
21 |
| concatenate_google_fonts() |
S |
59 |
4 |
13 |
| build() |
S |
60 |
4 |
12 |
| get_google_fonts() |
S |
67 |
3 |
7 |
| parse_font_url() |
S |
69 |
2 |
7 |
| concatenate_google_fonts_allowed() |
S |
71 |
1 |
5 |