Total Complexity | 42 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 354 |
Lines of code | 291 |
Logical lines of code | 121 |
Comment lines | 16 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
save_google_fonts_to_theme() | 44 | 12 | 40 | |
save_local_fonts_to_theme() | 46 | 11 | 36 | |
add_or_update_theme_font_faces() | 43 | 4 | 51 | |
can_read_and_write_font_assets_directory() | 58 | 6 | 15 | |
local_fonts_admin_page() | 41 | 1 | 71 | |
google_fonts_admin_page() | 50 | 1 | 34 | |
create_admin_menu() | 62 | 2 | 11 | |
__construct() | 72 | 1 | 5 | |
has_font_mime_type() | 75 | 1 | 4 | |
admin_notice_embed_font_success() | 67 | 1 | 8 | |
admin_notice_embed_font_permission_error() | 67 | 1 | 8 | |
admin_notice_embed_font_file_error() | 67 | 1 | 8 |