Manage_Fonts_Admin A

Total Complexity 66
Dependencies 1
Dependents 1
Total lines 494
Lines of code 390
Logical lines of code 183
Comment lines 28
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
save_local_fonts_to_theme()
A
46 11 36
save_google_fonts_to_theme()
A
47 8 35
prepare_font_families_for_database()
S
55 7 21
save_manage_fonts_changes()
S
57 6 16
can_read_and_write_font_assets_directory()
S
58 6 15
local_fonts_admin_page()
S
41 1 71
manage_fonts_admin_page()
S
49 3 33
add_or_update_theme_font_faces()
S
49 3 33
admin_notice_embed_font_success()
S
56 3 19
admin_notice_embed_font_permission_error()
S
58 3 16
delete_font_asset()
S
59 3 13
create_admin_menu()
S
58 2 14
load_fonts_react_app()
S
64 2 9
__construct()
S
70 1 6
has_font_mime_type()
S
75 1 4
google_fonts_admin_page()
S
72 1 7
replace_all_theme_font_families()
S
63 1 10
admin_notice_embed_font_file_error()
S
67 1 8
admin_notice_font_asset_removal_error()
S
68 1 8
admin_notice_manage_fonts_permission_error()
S
68 1 8
admin_notice_delete_font_success()
S
68 1 8