Manage_Fonts_Admin A

Total Complexity 69
Dependencies 1
Dependents 1
Total lines 518
Lines of code 410
Logical lines of code 186
Comment lines 30
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
save_local_fonts_to_theme()
A
47 10 33
save_google_fonts_to_theme()
A
48 7 32
prepare_font_families_for_database()
S
55 7 21
save_manage_fonts_changes()
S
60 5 13
can_read_and_write_font_assets_directory()
S
61 5 12
local_fonts_admin_page()
S
41 1 71
add_or_update_theme_font_faces()
S
49 3 33
user_can_edit_themes()
S
62 4 11
admin_notice_embed_font_success()
S
56 3 19
manage_fonts_admin_page()
S
49 2 32
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
60 2 12
has_file_and_user_permissions()
S
73 2 5
__construct()
S
69 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
admin_notice_file_edit_error()
S
72 1 7
admin_notice_user_cant_edit_theme()
S
72 1 7