-
Home
-
Gutenberg
-
16.5.0
-
Code
-
Classes
- WP_Font_Family
Total Complexity |
58 |
Dependencies |
7 |
Dependents |
1 |
Total lines |
543 |
Lines of code |
261 |
Logical lines of code |
129 |
Comment lines |
211 |
Methods |
20 |
Properties |
1 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
download_or_move_font_faces() |
A |
52 |
8 |
26 |
download_font_face_assets() |
S |
53 |
5 |
24 |
download_asset() |
S |
53 |
5 |
23 |
move_font_face_asset() |
S |
54 |
4 |
21 |
uninstall() |
S |
57 |
4 |
19 |
remove_font_family_assets() |
S |
63 |
4 |
11 |
update_font_post() |
S |
57 |
3 |
17 |
create_font_post() |
S |
57 |
3 |
17 |
install() |
S |
58 |
3 |
16 |
sanitize() |
S |
58 |
2 |
17 |
delete_font_face_assets() |
S |
64 |
3 |
10 |
get_font_post() |
S |
60 |
2 |
13 |
get_data_from_post() |
S |
67 |
2 |
8 |
has_font_faces() |
S |
78 |
2 |
3 |
create_or_update_font_post() |
S |
68 |
2 |
8 |
__construct() |
S |
70 |
2 |
6 |
get_upload_overrides() |
S |
65 |
1 |
10 |
get_data() |
S |
82 |
1 |
3 |
delete_asset() |
S |
70 |
1 |
6 |
get_data_as_json() |
S |
80 |
1 |
3 |