Code Analysis: OMGF 5.5.3

Function Rating Maintainability Complexity Lines of code
OMGF_Optimize::process()
B
36 21 70
OMGF_Optimize::parse_variants()
A
42 16 43
OMGF_Frontend_Process::parse()
A
47 15 31
OMGF::task_manager_warnings()
A
41 10 59
OMGF_Frontend_Process::init()
A
52 12 22
OMGF_Frontend_Process::build_search_replace()
A
46 11 36
OMGF_Admin::settings_changed()
A
47 11 36
OMGF_Frontend_Process::build_fonts_set()
A
48 11 31
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::get_task_manager_warnings()
A
51 10 24
OMGF::debug_array()
A
53 10 19
OMGF::available_used_subsets()
A
52 9 24
OMGF_Frontend_Process::add_preloads()
A
48 8 33
OMGF_DB_Migrate_V534::init()
A
53 8 25
OMGF_Optimize_Run::optimization_succeeded()
A
44 6 49
OMGF_Frontend_Process::remove_resource_hints()
A
54 8 19
OMGF_Admin_Settings_Builder::do_select()
S
50 7 29
OMGF_Admin_Notice::print_notices()
S
54 7 21
OMGF_Optimize::rewrite_variants()
S
56 7 17
OMGF_Admin_Settings_Detection::promo_advanced_processing()
S
50 6 29
OMGF::optimized_fonts()
S
60 7 13
OMGF_StylesheetGenerator::generate()
S
50 6 26
OMGF_Admin_Settings::register_settings()
S
58 6 16
OMGF_AJAX::maybe_unset()
S
58 6 15
OMGF_Optimize::grab_fonts_object()
S
49 5 29
OMGF_Optimize::unload_css()
S
49 5 29
OMGF_Admin_Settings::__construct()
S
51 5 23
OMGF_Download::download()
S
52 5 22
OMGF_AJAX::empty_cache()
S
50 4 32
OMGF_Admin::clean_up_cache()
S
58 5 16
OMGF::esc_array()
S
59 5 16
OMGF_StylesheetGenerator::build_source_string()
S
59 5 13
OMGF_Frontend_Process::remove_mesmerize_filter()
S
62 5 11
OMGF_Admin_Settings::get_settings()
S
54 4 23
OMGF_Admin_Settings_Advanced::do_download_log()
S
54 4 22
OMGF::__construct()
S
53 4 21
OMGF_Admin_Settings_Builder::do_radio()
S
55 4 19
OMGF_Admin_Settings::do_settings_content()
S
55 4 19
OMGF::render_update_notice()
S
55 4 18
OMGF_AJAX::hide_notice()
S
57 4 16
OMGF::debug()
S
63 5 9
OMGF_Admin_Optimize::init()
S
61 4 13
OMGF_Admin_Settings_Builder::do_checkbox()
S
59 4 13
OMGF_AJAX::download_log()
S
54 3 22
OMGF_AJAX::empty_directory()
S
56 3 18
OMGF::define_constants()
S
61 3 17
OMGF_Frontend_Process::is_amp()
S
74 4 4
OMGF_Admin_Notice::unset_notice()
S
63 4 10
OMGF::force_ssl()
S
64 4 9
FFWP_Autoloader::build()
S
65 4 8
FFWP_Autoloader::load()
S
58 3 15
OMGF_Optimize::unload_variants()
S
60 3 13
OMGF_Admin::maybe_do_after_update_notice()
S
61 3 13
OMGF_AJAX::delete_log()
S
61 3 12
OMGF::delete()
S
62 3 12
OMGF_Admin_Settings_Help::do_content()
S
46 1 42
omgf_autoload()
S
62 3 11
OMGF_Optimize::parse_subsets()
S
61 3 11
OMGF_Admin_Settings::create_settings_page()
S
56 2 21
OMGF_AJAX::refresh_cache()
S
58 2 17
OMGF_AJAX::remove_stylesheet_from_db()
S
56 2 17
OMGF_Admin::force_optimized_fonts_from_db()
S
66 3 9
OMGF_Optimize_Run::run()
S
65 3 9
OMGF_Optimize_Run::frontend_fetch_failed()
S
67 3 6
OMGF_DB_Migrate::__construct()
S
66 3 9
OMGF::base64_decode_optimized_fonts()
S
71 3 6
OMGF::preloaded_fonts()
S
68 3 7
OMGF::unloaded_fonts()
S
68 3 7
OMGF::get_cache_key()
S
64 3 9
OMGF_Frontend_Process::strip_css_tag()
S
64 3 10
OMGF_Admin_Settings_Builder::do_number()
S
61 2 13
OMGF_Admin_Settings_Builder::do_text()
S
60 2 13
OMGF_Admin_Settings_Advanced::do_promo_fonts_source_url()
S
61 2 13
OMGF_Uninstall::__construct()
S
61 2 13
OMGF_Admin_Settings_Advanced::do_cache_dir()
S
62 2 12
OMGF_Admin_Settings_Detection::advanced_processing_pro_options()
S
56 1 20
OMGF_DB_Migrate_V533::init()
S
68 2 7
OMGF_Admin::__construct()
S
58 1 15
omgf_init()
S
70 2 7
OMGF_Admin_Settings::generate_tab()
S
69 2 7
OMGF::unloaded_stylesheets()
S
68 2 7
OMGF::cache_keys()
S
68 2 7
OMGF_Admin::enqueue_admin_scripts()
S
68 2 6
OMGF_Frontend_Process::ends_with()
S
68 2 7
OMGF_Admin_Settings_Advanced::do_used_subsets()
S
63 2 10
OMGF_Optimize_Run::get_error_message()
S
72 2 6
OMGF_Admin_Settings_Builder::do_promo()
S
71 2 5
OMGF_Admin_Notice::set_notice()
S
66 2 8
OMGF_Optimize_Run::fluent_implode()
S
67 2 7
OMGF_Admin_Settings_Advanced::__construct()
S
57 1 15
OMGF_Frontend_Process::__construct()
S
65 2 9
OMGF_Uninstall::remove_db_entries()
S
73 2 5
OMGF_Frontend_Process::return_buffer()
S
71 2 6
OMGF_Optimize_Run::get_error_code()
S
72 2 6
OMGF_Admin_Settings_Detection::google_fonts_processing()
S
64 1 12
OMGF_Admin_Settings::generate_tab_link()
S
78 1 3
OMGF_Admin_Settings::help_content()
S
81 1 3
OMGF_Admin_Settings::optimize_fonts_tab()
S
78 1 3
OMGF_Admin_Settings_Builder::__construct()
S
72 1 5
OMGF_Admin::do_advanced_settings()
S
81 1 3
OMGF_Admin_Settings_Detection::__construct()
S
62 1 10
OMGF::parse_vc_grid_data()
S
73 1 5
OMGF_Admin_Settings::advanced_settings_tab()
S
78 1 3
OMGF_Admin_Settings::detection_settings_content()
S
81 1 3
OMGF::init_frontend()
S
81 1 3
OMGF::init_admin()
S
81 1 3
OMGF_Admin_Settings::optimize_fonts_content()
S
81 1 3
OMGF_Admin_Settings::detection_settings_tab()
S
78 1 3
OMGF_Admin_Optimize::__construct()
S
69 1 6
OMGF_Admin_Settings_Builder::do_before()
S
83 1 5
OMGF::do_migrate_db()
S
82 1 3
OMGF_Admin_Optimize::run()
S
82 1 3
OMGF::decode_url()
S
79 1 3
OMGF::add_ajax_hooks()
S
81 1 3
OMGF_Admin_Settings::footer_text_left()
S
74 1 4
OMGF::do_uninstall()
S
80 1 3
OMGF_Admin::do_optimize_settings()
S
81 1 3
OMGF_Download::__construct()
S
71 1 6
OMGF_AJAX::__construct()
S
66 1 8
OMGF_Admin_Settings::create_settings_link()
S
69 1 6
OMGF_Admin_Settings::advanced_settings_content()
S
81 1 3
OMGF_Optimize_Run::get_front_html()
S
66 1 9
OMGF_Admin_Settings_Advanced::do_uninstall()
S
68 1 8
OMGF_Optimize::__construct()
S
66 1 8
OMGF_DB_Migrate_V534::__construct()
S
82 1 3
OMGF_Admin_Settings_Advanced::do_compatibility()
S
68 1 8
OMGF_Uninstall::delete_files()
S
78 1 3
OMGF_Admin::do_help()
S
81 1 3
FFWP_Autoloader::__construct()
S
81 1 3
OMGF_Admin_Settings_Advanced::do_debug_mode()
S
68 1 8
OMGF_Admin::print_notices()
S
82 1 3
OMGF_DB_Migrate::should_run_migration()
S
78 1 3
OMGF_Admin_Settings_Advanced::do_description()
S
71 1 7
OMGF::do_optimize()
S
81 1 3
OMGF_Admin_Settings::help_tab()
S
78 1 3
OMGF_Admin_Settings::create_menu()
S
65 1 10
OMGF_Admin_Settings_Builder::do_title()
S
78 1 5
OMGF_Uninstall::delete_dir()
S
80 1 3
OMGF_Admin_Settings_Help::__construct()
S
71 1 5
OMGF::generate_stylesheet()
S
75 1 4
OMGF_Admin_Settings_Builder::do_after()
S
83 1 5
OMGF_Admin_Optimize::verify_ssl()
S
74 1 4
OMGF_Admin_Settings_Detection::do_description()
S
71 1 7
OMGF_Optimize_Run::no_cache_optimize_url()
S
72 1 4
OMGF_StylesheetGenerator::__construct()
S
77 1 4
OMGF::download()
S
74 1 4
OMGF_DB_Migrate_V533::__construct()
S
82 1 3
OMGF_Optimize_Run::__construct()
S
82 1 3
OMGF_Admin::do_detection_settings()
S
81 1 3