Total Complexity | 51 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 277 |
Lines of code | 209 |
Logical lines of code | 109 |
Comment lines | 19 |
Methods | 13 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
save_local_fonts_to_theme() | 47 | 10 | 33 | |
save_google_fonts_to_theme() | 48 | 7 | 32 | |
prepare_font_families_for_database() | 55 | 7 | 21 | |
save_manage_fonts_changes() | 60 | 5 | 13 | |
can_read_and_write_font_assets_directory() | 61 | 5 | 12 | |
add_or_update_theme_font_faces() | 48 | 3 | 35 | |
user_can_edit_themes() | 62 | 4 | 11 | |
delete_font_asset() | 59 | 3 | 13 | |
create_admin_menu() | 58 | 2 | 14 | |
has_file_and_user_permissions() | 73 | 2 | 5 | |
__construct() | 70 | 1 | 6 | |
has_font_mime_type() | 74 | 1 | 4 | |
replace_all_theme_font_families() | 63 | 1 | 10 |