Manage_Fonts_Admin A

Total Complexity 57
Dependencies 3
Dependents 1
Total lines 492
Lines of code 396
Logical lines of code 176
Comment lines 27
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
save_google_fonts_to_theme()
A
44 12 40
save_local_fonts_to_theme()
A
46 11 36
add_or_update_theme_font_faces()
S
43 4 51
can_read_and_write_font_assets_directory()
S
58 6 15
save_manage_fonts_changes()
S
58 6 15
manage_fonts_admin_page()
S
46 4 38
local_fonts_admin_page()
S
41 1 71
replace_all_theme_font_families()
S
50 3 29
google_fonts_admin_page()
S
50 1 34
create_admin_menu()
S
58 2 14
admin_notice_embed_font_success()
S
63 1 11
__construct()
S
70 1 6
has_font_mime_type()
S
75 1 4
admin_notice_embed_font_permission_error()
S
67 1 8
admin_notice_embed_font_file_error()
S
67 1 8
admin_notice_manage_fonts_permission_error()
S
68 1 8
admin_notice_delete_font_success()
S
68 1 8