Code Analysis: OMGF 5.6.7

Function Rating Maintainability Complexity Lines of code
OMGF\Admin\Settings\Optimize::do_optimized_fonts_manager()
C
30 25 118
OMGF\Optimize::process()
B
36 21 70
OMGF\Optimize::parse_variants()
B
41 18 47
OMGF\TaskManager::get_warnings()
B
43 18 44
OMGF\TaskManager::render_warnings()
B
36 15 84
OMGF\Admin\Settings\Optimize::task_manager_status()
A
37 13 76
OMGF\Frontend\Process::parse()
A
46 14 34
OMGF\Admin\Actions::update_settings()
A
48 13 30
OMGF\Frontend\Process::build_fonts_set()
A
47 12 33
OMGF\Optimize\Run::optimization_succeeded()
A
42 10 57
OMGF\Frontend\Process::build_search_replace()
A
45 11 40
OMGF\Frontend\Process::init()
A
51 12 24
OMGF\Admin::settings_changed()
A
47 11 36
OMGF\Frontend\Process::maybe_buffer_output()
A
51 11 26
OMGF\Admin\Settings::footer_text_right()
A
45 10 39
OMGF\Optimize::unload_css2()
A
45 10 39
OMGF\Helper::debug_array()
A
53 10 19
OMGF\Frontend\Process::add_preloads()
A
46 8 38
OMGF\Optimize::unload_css()
A
47 8 34
OMGF\DB\Migrate\V534::init()
A
53 8 25
OMGF\Helper::available_used_subsets()
A
52 8 24
OMGF\Frontend\Process::remove_resource_hints()
A
54 8 19
OMGF\Admin\Updates::maybe_add_to_update_list()
S
50 7 29
OMGF\Admin\Settings\Builder::do_select()
S
50 7 29
OMGF\Admin\Notice::print_notices()
S
55 7 21
OMGF\Admin\Updates::maybe_add_update_count()
S
53 7 20
OMGF\Optimize::rewrite_variants()
S
56 7 17
OMGF\Helper::get_option()
S
58 7 14
OMGF\StylesheetGenerator::generate()
S
50 6 27
OMGF\Admin\Actions::clean_stale_cache()
S
53 6 23
OMGF\Optimize::grab_fonts_object()
S
47 5 33
OMGF\Admin\Settings::register_settings()
S
58 6 16
OMGF\Admin\Settings\Detection::promo_advanced_processing()
S
50 5 30
OMGF\Admin\Ajax::maybe_unset()
S
58 6 15
OMGF\Helper::optimized_fonts()
S
60 6 13
OMGF\Admin\Settings::get_settings()
S
51 5 28
OMGF\Frontend\Process::add_success_message()
S
59 6 12
OMGF\Admin\Settings::__construct()
S
51 5 23
OMGF\Download::download()
S
52 5 22
OMGF\Admin\Updates::get_latest_version()
S
55 5 20
OMGF\Plugin::__construct()
S
56 5 18
OMGF\Admin\Updates::maybe_display_premium_update_notice()
S
55 5 18
OMGF\Admin\Ajax::empty_cache()
S
50 4 32
OMGF\Admin\Settings\Builder::do_checkbox()
S
57 5 16
OMGF\Admin::clean_up_cache()
S
58 5 16
OMGF\StylesheetGenerator::build_source_string()
S
59 5 13
OMGF\Frontend\Process::remove_mesmerize_filter()
S
62 5 11
OMGF\Admin\Settings\Advanced::do_download_log()
S
53 4 24
OMGF\Admin\Settings::do_settings_content()
S
52 4 23
OMGF\Admin\Actions::render_update_notice()
S
54 4 19
OMGF\Admin\Settings\Builder::do_radio()
S
55 4 19
OMGF\Helper::debug()
S
63 5 9
OMGF\Admin\Optimize::init()
S
61 4 13
OMGF\DB\Migrate::__construct()
S
62 4 12
OMGF\Admin\Ajax::download_log()
S
54 3 22
OMGF\Admin\Ajax::empty_directory()
S
56 3 18
OMGF\Admin\Ajax::hide_notice()
S
57 3 16
OMGF\Admin\Notice::unset_notice()
S
63 4 10
OMGF\Frontend\Process::is_amp()
S
74 4 4
OMGF\Filters::force_ssl()
S
64 4 9
OMGF\Helper::delete_option()
S
63 4 10
OMGF\Optimize\Run::frontend_fetch_failed()
S
62 4 9
OMGF\Optimize::unload_variants()
S
60 3 13
OMGF\Admin::maybe_do_after_update_notice()
S
61 3 13
OMGF\Helper::delete()
S
62 3 12
OMGF\Admin\Ajax::delete_log()
S
61 3 12
OMGF\DB\Migrate\V560::init()
S
61 3 12
OMGF\Helper::cache_keys()
S
62 3 12
OMGF\Admin\Settings\Help::do_content()
S
47 1 41
OMGF\Helper::update_option()
S
62 3 11
OMGF\Optimize::parse_subsets()
S
61 3 11
OMGF\Uninstall::remove_db_entries()
S
55 2 22
OMGF\Admin\Settings::create_settings_page()
S
56 2 21
OMGF\Admin\Ajax::refresh_cache()
S
56 2 20
OMGF\Helper::get_settings()
S
57 2 18
OMGF\Admin\Ajax::remove_stylesheet_from_db()
S
56 2 17
OMGF\Admin\Settings\Optimize::do_optimize_fonts_contents()
S
60 2 15
OMGF\Filters::base64_decode_optimized_fonts()
S
71 3 6
OMGF\Admin::force_optimized_fonts_from_db()
S
66 3 9
OMGF\Frontend\Process::strip_css_tag()
S
64 3 10
OMGF\Optimize\Run::run()
S
65 3 9
OMGF\Admin\Updates::update_already_displayed()
S
66 3 8
OMGF\Helper::get_cache_key()
S
64 3 9
OMGF\Admin\Actions::clean()
S
69 3 6
OMGF\Admin\Settings\Builder::do_number()
S
60 2 13
OMGF\Admin\Settings\Builder::do_text()
S
60 2 13
OMGF\Admin\Settings\Advanced::do_cache_dir()
S
62 2 12
OMGF\Admin\Settings\Optimize::__construct()
S
53 1 22
OMGF\Admin\Updates::display_premium_update_notice()
S
55 1 21
OMGF\Admin\Settings\Detection::advanced_processing_pro_options()
S
56 1 20
OMGF\Admin::__construct()
S
56 1 19
OMGF\Admin::maybe_handle_failed_premium_plugin_updates()
S
58 1 18
OMGF\Admin\Settings\Advanced::do_used_subsets()
S
63 2 10
OMGF\Admin\Notice::set_notice()
S
66 2 8
OMGF\Optimize\Run::get_error_message()
S
72 2 6
OMGF\Admin\Settings\Builder::do_promo()
S
71 2 5
OMGF\Frontend\Process::return_buffer()
S
71 2 6
OMGF\Admin\Updates::get_available_updates()
S
69 2 7
OMGF\Frontend\Process::__construct()
S
65 2 9
OMGF\Helper::unloaded_fonts()
S
68 2 7
OMGF\Helper::unloaded_stylesheets()
S
68 2 7
OMGF\Helper::log_file()
S
69 2 7
OMGF\Optimize\Run::get_error_code()
S
72 2 6
OMGF\Admin\Actions::dir_is_empty()
S
68 2 7
OMGF\Admin::enqueue_admin_scripts()
S
68 2 6
OMGF\DB\Migrate\V533::init()
S
68 2 7
OMGF\Frontend\Process::ends_with()
S
68 2 7
OMGF\Admin\Settings::generate_tab()
S
69 2 7
OMGF\Helper::preloaded_fonts()
S
68 2 7
OMGF\TaskManager::get_active_plugins()
S
64 2 9
OMGF\Admin\Settings\Advanced::__construct()
S
57 1 15
OMGF\Optimize\Run::fluent_implode()
S
65 2 8
OMGF\DB\Migrate\V560::__construct()
S
61 1 14
OMGF\Optimize\Run::no_cache_optimize_url()
S
60 1 14
OMGF\Admin\Settings\Advanced::do_promo_fonts_source_url()
S
61 1 13
OMGF\Admin\Settings\Detection::google_fonts_processing()
S
64 1 12
OMGF\Admin\Settings\Optimize::do_optimize_fonts_section()
S
64 1 12
OMGF\Admin\Settings\Advanced::do_compatibility()
S
67 1 8
OMGF\Plugin::do_migrate_db()
S
79 1 3
OMGF\Admin::do_help()
S
80 1 3
OMGF\Admin::do_detection_settings()
S
80 1 3
OMGF\Filters::parse_vc_grid_data()
S
73 1 5
OMGF\Admin\Ajax::__construct()
S
66 1 8
OMGF\StylesheetGenerator::__construct()
S
77 1 4
OMGF\Admin\Settings\Optimize::close_optimize_fonts_container()
S
83 1 5
OMGF\Helper::download()
S
74 1 4
OMGF\Admin\Actions::do_optimize()
S
79 1 3
OMGF\Optimize::__construct()
S
66 1 8
OMGF\Admin\Settings::footer_text_left()
S
74 1 4
OMGF\Admin::do_optimize_settings()
S
80 1 3
OMGF\Admin\Settings\Advanced::do_uninstall()
S
67 1 8
OMGF\Optimize\Run::get_front_html()
S
66 1 9
OMGF\Admin\Optimize::run()
S
82 1 3
OMGF\Admin\Settings::advanced_settings_content()
S
81 1 3
OMGF\Admin\Optimize::__construct()
S
69 1 6
OMGF\Admin\Settings::detection_settings_tab()
S
78 1 3
OMGF\Frontend\Filters::__construct()
S
79 1 3
OMGF\Admin\Settings\Optimize::open_task_manager()
S
68 1 9
OMGF\Admin\Settings\Advanced::do_debug_mode()
S
67 1 8
OMGF\Admin\Settings::help_tab()
S
78 1 3
OMGF\Admin\Settings\Builder::__construct()
S
68 1 7
OMGF\Admin\Settings\Optimize::close_task_manager()
S
83 1 5
OMGF\Admin\Settings\Advanced::do_description()
S
73 1 6
OMGF\Admin::do_advanced_settings()
S
80 1 3
OMGF\Admin\Settings\Optimize::do_display_option()
S
67 1 9
OMGF\Admin\Settings\Builder::do_after()
S
83 1 5
OMGF\Admin\Settings::help_content()
S
81 1 3
OMGF\Admin\Settings\Optimize::do_optimize_fonts_container()
S
83 1 5
OMGF\Filters::__construct()
S
69 1 6
OMGF\Admin\Settings\Detection::do_description()
S
73 1 6
OMGF\Admin\Settings\Builder::do_before()
S
85 1 4
OMGF\Download::__construct()
S
71 1 6
OMGF\Helper::generate_stylesheet()
S
75 1 4
OMGF\Admin\Settings::create_settings_link()
S
69 1 6
OMGF\Admin::print_notices()
S
82 1 3
OMGF\Admin\Settings\Optimize::do_promo_apply_font_display_globally()
S
65 1 9
OMGF\Frontend\Filters::decode_url()
S
79 1 3
OMGF\DB\Migrate\V533::__construct()
S
82 1 3
OMGF\Admin\Settings::create_menu()
S
65 1 10
OMGF\Admin\Updates::init()
S
71 1 5
OMGF\Uninstall::__construct()
S
72 1 6
OMGF\Admin\Settings\Detection::__construct()
S
62 1 10
OMGF\Admin\Settings\Optimize::do_description()
S
67 1 9
OMGF\Frontend\Actions::__construct()
S
78 1 3
OMGF\Plugin::do_uninstall()
S
80 1 3
OMGF\Admin\Actions::__construct()
S
67 1 7
OMGF\Optimize\Run::__construct()
S
82 1 3
OMGF\Uninstall::delete_dir()
S
81 1 3
OMGF\Uninstall::delete_files()
S
78 1 3
OMGF\Admin\Settings\Optimize::do_promo_remove_async_google_fonts()
S
65 1 9
OMGF\Admin\Actions::delete_files()
S
78 1 3
OMGF\Admin\Optimize::verify_ssl()
S
74 1 4
OMGF\Admin\Settings::detection_settings_content()
S
81 1 3
OMGF\DB\Migrate\V534::__construct()
S
82 1 3
OMGF\Frontend\Actions::init_frontend()
S
79 1 3
OMGF\Admin\Settings::optimize_fonts_tab()
S
78 1 3
OMGF\Admin\Settings\Help::__construct()
S
71 1 5
OMGF\Admin\Settings::advanced_settings_tab()
S
78 1 3
OMGF\Admin\Settings::generate_tab_link()
S
78 1 3
OMGF\Admin\Updates::__construct()
S
71 1 6
OMGF\Admin\Actions::init_admin()
S
82 1 3
OMGF\Admin\Settings::optimize_fonts_content()
S
81 1 3
OMGF\Admin\Settings\Builder::do_title()
S
76 1 5
OMGF\DB\Migrate::should_run_migration()
S
78 1 3
OMGF\Plugin::define_constants()
S
73 1 8
OMGF\Admin\Settings\Optimize::do_test_mode()
S
67 1 8