Code Analysis: WooCommerce Direct Checkout 3.3.1

Function Rating Maintainability Complexity Lines of code
Automattic\Jetpack\Assets::register_script()
B
35 21 80
Automattic\Jetpack\Assets::wp_default_scripts_hook()
B
40 18 53
Automattic\Jetpack\Assets::normalize_path()
B
46 18 34
Automattic\Jetpack\Assets\Semver::compare()
A
44 14 44
QuadLayers\WCDC\Install::import_old_settings()
A
42 11 49
QuadLayers\WP_Notice_Plugin_Promote\Load::admin_notices()
A
42 9 71
QuadLayers\WCDC\Controller\Checkout::get_settings()
A
29 1 186
QuadLayers\WCDC\View\Frontend\General::replace_cart_url()
A
57 11 14
Automattic\Jetpack\Assets\Semver::parse()
A
50 9 26
QuadLayers\WP_Plugin_Table_Links\Load::__construct()
A
48 8 37
QuadLayers\WP_Dashboard_Widget_News\Load::display_dashboard_widget()
A
41 6 66
QuadLayers\WP_Plugin_Suggestions\Table::prepare_items()
A
47 7 34
Automattic\Jetpack\Assets::filter_load_script_translation_file()
A
55 8 17
QuadLayers\WCDC\View\Frontend\Products::validate_add_cart_item()
S
57 8 15
QuadLayers\WCDC\Controller\Products::get_settings()
S
35 1 118
QuadLayers\WCDC\Controller\Products::add_product_fields()
S
37 2 102
QuadLayers\WP_Notice_Plugin_Required\Load::admin_notices()
S
57 7 16
Automattic\Jetpack\Assets::alias_textdomain()
S
51 6 25
QuadLayers\WP_Dashboard_Widget_News\Load::get_feed()
S
52 6 24
QuadLayers\WCDC\Controller\Products::add_setting_field()
S
56 6 19
QuadLayers\WP_Notice_Plugin_Required\Load::add_notice()
S
51 5 31
QuadLayers\WCDC\Controller\General::get_settings()
S
38 1 90
QuadLayers\WP_Notice_Plugin_Promote\Load::__construct()
S
52 5 26
QuadLayers\WP_Plugin_Suggestions\Page::add_menu()
S
50 4 33
QuadLayers\WP_Plugin_Suggestions\Page::network_admin_url()
S
62 6 10
QuadLayers\WCDC\View\Frontend\Checkout::remove_allowed_countries()
S
59 5 14
Automattic\Jetpack\Assets::get_file_url_for_environment()
S
59 5 13
QuadLayers\WP_Notice_Plugin_Promote\Load::ajax_notice_plugin_promote_dismiss()
S
59 5 13
QuadLayers\WCDC\Plugin::get_product_option()
S
62 5 12
Automattic\Jetpack\Assets::staticize_subdomain()
S
54 4 20
QuadLayers\WCDC\Controller\Archives::get_settings()
S
43 1 59
QuadLayers\WCDC\View\Frontend\Checkout::remove_checkout_fields()
S
60 4 13
QuadLayers\WCDC\View\Frontend\General::add_to_cart_redirect()
S
62 4 12
qlwcdc_wcd_udpdate()
S
62 4 11
QuadLayers\WCDC\View\Frontend\General::add_to_cart_params()
S
62 4 11
QuadLayers\WP_Plugin_Suggestions\Table::remove_excluded_plugins()
S
63 4 11
QuadLayers\WP_Plugin_Suggestions\Table::display_rows()
S
54 3 25
Automattic\Jetpack\Assets::init_domain_map_hooks()
S
54 3 20
QuadLayers\WP_Plugin_Suggestions\Table::get_plugins()
S
57 3 17
Automattic\Jetpack\Assets::add_resource_hint()
S
60 3 15
QuadLayers\WP_Plugin_Suggestions\Page::add_redirect()
S
66 4 8
QuadLayers\WCDC\View\Frontend\Checkout::__construct()
S
58 3 14
Automattic\Jetpack\Assets::alias_textdomains_from_file()
S
61 3 12
QuadLayers\WCDC\Controller\Products::add_product_tab_content()
S
58 2 18
QuadLayers\WP_Notice_Plugin_Promote\Load::include_notice_template()
S
58 2 16
QuadLayers\WCDC\View\Frontend\Archives::add_archive_text()
S
66 3 8
QuadLayers\WP_Plugin_Suggestions\Page::__construct()
S
59 2 15
Automattic\Jetpack\Assets::filter_gettext()
S
65 3 9
Automattic\Jetpack\Assets::filter_ngettext()
S
69 3 6
Automattic\Jetpack\Assets::filter_ngettext_with_context()
S
68 3 6
QuadLayers\WCDC\Plugin::is_min()
S
73 3 5
QuadLayers\WP_Notice_Plugin_Promote\Load::is_valid_notice()
S
64 3 10
Automattic\Jetpack\Assets::script_add_async()
S
65 3 9
Automattic\Jetpack\Constants::get_constant()
S
65 3 9
QuadLayers\WP_Notice_Plugin_Promote\PluginBySlugV2::__construct()
S
68 3 7
QuadLayers\WCDC\Plugin::add_premium_css()
S
64 1 28
QuadLayers\WCDC\View\Frontend\Checkout::remove_country_css()
S
64 2 12
QuadLayers\WCDC\Plugin::__construct()
S
58 1 17
QuadLayers\WCDC\Controller\General::save_settings()
S
71 2 6
QuadLayers\WCDC\View\Frontend\General::add_to_cart_message()
S
67 2 7
Automattic\Jetpack\Constants::clear_single_constant()
S
68 2 7
QuadLayers\WCDC\View\Frontend\General::__construct()
S
63 2 10
QuadLayers\WCDC\Install::instance()
S
72 2 6
QuadLayers\WCDC\Controller\General::add_section()
S
68 2 7
QuadLayers\WCDC\Controller\Checkout::add_section()
S
68 2 7
QuadLayers\WCDC\Install::add_settings()
S
70 2 6
QuadLayers\WCDC\View\Frontend\Products::add_product_text()
S
69 2 6
QuadLayers\WCDC\Controller\Premium::instance()
S
72 2 6
QuadLayers\WCDC\Controller\Products::save_settings()
S
71 2 6
Automattic\Jetpack\Constants::is_true()
S
78 2 3
QuadLayers\WP_Notice_Plugin_Promote\Load::is_notice_hidden_for_current_user()
S
71 2 6
Automattic\Jetpack\Constants::is_defined()
S
72 2 5
QuadLayers\WCDC\Controller\Archives::add_header()
S
68 2 6
QuadLayers\WP_Notice_Plugin_Promote\Load::is_display_notices_delayed()
S
72 2 6
QuadLayers\WCDC\Controller\Archives::add_section()
S
68 2 7
QuadLayers\WCDC\Controller\Archives::save_settings()
S
71 2 6
QuadLayers\WP_Notice_Plugin_Promote\Load::remove_all_data()
S
72 2 5
QuadLayers\WCDC\Controller\Archives::instance()
S
71 2 6
QuadLayers\WCDC\Controller\Backend::instance()
S
72 2 6
Automattic\Jetpack\Assets::enqueue_script()
S
71 2 6
QuadLayers\WCDC\View\Frontend\Products::instance()
S
71 2 6
QuadLayers\WCDC\Controller\Checkout::add_header()
S
68 2 6
QuadLayers\WCDC\Controller\Products::add_header()
S
68 2 6
QuadLayers\WCDC\Controller\Products::instance()
S
71 2 6
QuadLayers\WCDC\Controller\Checkout::save_settings()
S
71 2 6
QuadLayers\WCDC\View\Frontend\Checkout::instance()
S
71 2 6
QuadLayers\WCDC\Controller\General::instance()
S
71 2 6
QuadLayers\WCDC\View\Frontend\General::instance()
S
71 2 6
QuadLayers\WP_Dashboard_Widget_News\Load::__construct()
S
70 2 6
QuadLayers\WCDC\Controller\Premium::add_section()
S
71 2 6
QuadLayers\WCDC\Controller\Checkout::instance()
S
71 2 6
QuadLayers\WCDC\View\Frontend\Checkout::remove_checkout_shipping_address()
S
71 2 6
QuadLayers\WP_Notice_Plugin_Required\Plugin::__construct()
S
68 2 7
QuadLayers\WCDC\Plugin::instance()
S
72 2 6
QuadLayers\WCDC\View\Frontend\Archives::instance()
S
71 2 6
QuadLayers\WP_Notice_Plugin_Required\Plugin::get_instance()
S
67 2 8
QuadLayers\WP_Dashboard_Widget_News\Load::instance()
S
71 2 6
QuadLayers\WP_Plugin_Install_Tab\Load::instance()
S
71 2 6
QuadLayers\WCDC\View\Frontend\Checkout::remove_checkout_order_commens()
S
71 2 6
QuadLayers\WCDC\View\Frontend\Archives::add_header()
S
68 2 6
QuadLayers\WCDC\Controller\Products::add_section()
S
68 2 7
QuadLayers\WCDC\Controller\General::add_header()
S
68 2 6
Automattic\Jetpack\Assets::instance()
S
69 2 7
Automattic\Jetpack\Assets::filter_gettext_with_context()
S
69 2 6
QuadLayers\WP_Notice_Plugin_Promote\PluginByFile::__construct()
S
81 1 3
QuadLayers\WCDC\Controller\Archives::__construct()
S
69 1 6
QuadLayers\WCDC\Controller\Premium::__construct()
S
74 1 4
QuadLayers\WP_Notice_Plugin_Promote\Load::get_user_notice_meta_hidden_key()
S
79 1 3
QuadLayers\WP_Notice_Plugin_Promote\PluginBySlug::__construct()
S
81 1 3
Automattic\Jetpack\Assets::add_async_script()
S
75 1 4
QuadLayers\WCDC\Controller\Backend::add_menu()
S
76 1 3
QuadLayers\WP_Notice_Plugin_Required\Plugin::get_plugin_install_link()
S
78 1 3
QuadLayers\WP_Notice_Plugin_Required\Plugin::get_plugin_name()
S
82 1 3
Automattic\Jetpack\Assets::__construct()
S
98 1 1
Automattic\Jetpack\Constants::clear_constants()
S
80 1 3
QuadLayers\WCDC\Controller\Checkout::__construct()
S
69 1 6
QuadLayers\WCDC\Install::activation()
S
80 1 3
QuadLayers\WP_Plugin_Suggestions\Table::__construct()
S
70 1 7
QuadLayers\WP_Notice_Plugin_Promote\Load::set_current_user_notice_meta_hidden()
S
78 1 3
QuadLayers\WCDC\Plugin::register_scripts()
S
76 1 3
QuadLayers\WP_Dashboard_Widget_News\Load::add_dashboard_widget()
S
67 1 10
QuadLayers\WCDC\View\Frontend\Archives::__construct()
S
78 1 3
QuadLayers\WCDC\Controller\Backend::__construct()
S
71 1 5
QuadLayers\WP_Notice_Plugin_Promote\Load::get_current_user_notice_meta_hidden()
S
78 1 3
QuadLayers\WP_Notice_Plugin_Required\Plugin::is_plugin_activated()
S
76 1 4
QuadLayers\WP_Plugin_Suggestions\Load::__construct()
S
70 1 7
QuadLayers\WCDC\Controller\Products::add_product_tabs()
S
68 1 7
QuadLayers\WCDC\Controller\Premium::add_header()
S
72 1 5
QuadLayers\WCDC\Controller\Backend::enqueue_scripts()
S
77 1 4
QuadLayers\WP_Notice_Plugin_Required\Plugin::get_plugin_path()
S
79 1 3
QuadLayers\WP_Notice_Plugin_Required\Plugin::get_plugin_activate_link()
S
74 1 4
Automattic\Jetpack\Assets::enqueue_async_script()
S
71 1 5
QuadLayers\WP_Notice_Plugin_Promote\Load::get_transient_key()
S
79 1 3
QuadLayers\WP_Notice_Plugin_Required\Load::__construct()
S
72 1 5
QuadLayers\WCDC\Controller\Products::__construct()
S
65 1 8
QuadLayers\WP_Notice_Plugin_Promote\Load::get_notices_class()
S
81 1 3
QuadLayers\WP_Notice_Plugin_Promote\Load::delay_display_notices()
S
79 1 3
QuadLayers\WP_Plugin_Suggestions\Page::get_parent_menu_slug()
S
80 1 3
QuadLayers\WP_Plugin_Install_Tab\Load::add_tab_content()
S
68 1 9
QuadLayers\WP_Plugin_Install_Tab\Load::__construct()
S
75 1 4
QuadLayers\WCDC\View\Frontend\Products::__construct()
S
74 1 4
Automattic\Jetpack\Assets::init_hooks()
S
78 1 3
QuadLayers\WP_Plugin_Install_Tab\Load::add_tab()
S
76 1 4
QuadLayers\WCDC\Install::deactivation()
S
89 1 2
QuadLayers\WP_Notice_Plugin_Promote\Load::delete_current_user_notice_meta_hidden()
S
78 1 3
QuadLayers\WP_Notice_Plugin_Promote\Load::get_action_name()
S
79 1 3
QuadLayers\WP_Notice_Plugin_Required\Plugin::is_plugin_installed()
S
73 1 5
QuadLayers\WCDC\Controller\General::__construct()
S
69 1 6
QuadLayers\WP_Plugin_Suggestions\Table::get_transient_key()
S
75 1 4
QuadLayers\WCDC\Install::__construct()
S
72 1 5
QuadLayers\WCDC\Controller\Backend::add_tab()
S
75 1 4
Automattic\Jetpack\Constants::set_constant()
S
79 1 3
QuadLayers\WP_Plugin_Suggestions\Page::get_suggestions_menu_slug()
S
80 1 3