Code Analysis: OMGF 5.3.0

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