Manage_Fonts_Admin A

Total Complexity 65
Dependencies 1
Dependents 1
Total lines 507
Lines of code 403
Logical lines of code 183
Comment lines 28
Methods 20
Properties 0

Methods 20

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
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
manage_fonts_admin_page()
S
46 4 39
local_fonts_admin_page()
S
41 1 71
add_or_update_theme_font_faces()
S
49 3 33
delete_font_asset()
S
59 3 13
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
replace_all_theme_font_families()
S
63 1 10
admin_notice_embed_font_permission_error()
S
67 1 8
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