Code Analysis: Gift Wrapper 6.1.8

Function Rating Maintainability Complexity Lines of code
The_Gift_Wrapper_Wrapping::add_giftwrap_to_order()
C
40 26 59
The_Gift_Wrapper::wp_enqueue_scripts()
B
34 19 89
The_Gift_Wrapper::update_db()
A
42 15 51
The_Gift_Wrapper_Wrapping::ajax_wrap()
A
40 14 55
The_Gift_Wrapper_Wrapping::gift_wrap_action()
A
41 11 59
The_Gift_Wrapper_Wrapping::wp()
A
51 11 25
The_Gift_Wrapper_Admin_Notices::check_template_outdated()
A
51 10 25
The_Gift_Wrapper_Wrapping::add_giftwrap()
A
51 10 25
The_Gift_Wrapper_Feedback::print_feedback_dialog()
S
42 4 67
wcgwp_is_wrap()
S
56 7 19
The_Gift_Wrapper::admin_enqueue_scripts()
S
55 7 17
wcgwp_get_products()
S
49 6 30
The_Gift_Wrapper_Admin_Notices::setup_error_notice()
S
57 7 15
Gift_Wrapper_Elementor_Widget::render()
S
46 5 45
The_Gift_Wrapper_Wrapping::clean_up_cart()
S
60 7 12
Gift_Wrapper_Settings_Page::get_settings_for_language_section()
S
37 1 100
wcgwp_cart_contains_virtual_products_only()
S
53 6 24
The_Gift_Wrapper_Settings::get_animations()
S
37 1 93
The_Gift_Wrapper_Wrapping::ajax_update_cart()
S
57 6 17
WCGWP_Unwrap::uninstall()
S
43 3 57
The_Gift_Wrapper_Wrapping::redirect()
S
61 6 12
Gift_Wrapper_Settings_Page::get_settings_for_order_wrapping_section()
S
39 1 84
wcgwp_count_wrap_products()
S
59 5 16
The_Gift_Wrapper_Feedback::ajax_gift_wrapper_deactivate_feedback()
S
58 5 15
The_Gift_Wrapper_Wrapping::template_redirect()
S
62 5 12
The_Gift_Wrapper_Settings_Product::product_write_panel_tab()
S
55 4 22
gift_wrapper_outdated_template_notice()
S
55 4 21
The_Gift_Wrapper_Settings::product_cats()
S
54 4 20
Gift_Wrapper_Settings_Page::get_settings_for_default_section()
S
41 1 64
The_Gift_Wrapper_Wrapping::ajax_remove_wrap()
S
58 4 16
wcgwp_count_wrap_in_cart()
S
62 4 12
The_Gift_Wrapper_Wrapping::__construct()
S
51 3 26
The_Gift_Wrapper_Admin_Notices::template_file_check_notice()
S
62 4 11
The_Gift_Wrapper_Wrapping::woocommerce_available_payment_gateways()
S
63 4 11
wcgwp_wrap_in_cart()
S
64 4 11
The_Gift_Wrapper_Wrapping::extra_class()
S
67 4 7
The_Gift_Wrapper::is_elementor_pro_active()
S
64 4 9
WCGWP_Unwrap::__construct()
S
61 3 13
WCGWP_Strings::get_string()
S
59 3 13
The_Gift_Wrapper::init()
S
62 3 11
The_Gift_Wrapper_Settings_Product::product_data_panel()
S
60 2 20
Gift_Wrapper_Elementor_Widget::register_controls()
S
51 1 31
The_Gift_Wrapper::__construct()
S
57 2 16
wcgwp_get_wrap_category_id()
S
66 3 8
The_Gift_Wrapper::instance()
S
70 3 6
The_Gift_Wrapper::activation_hook()
S
67 3 8
The_Gift_Wrapper::define_constants()
S
69 3 8
The_Gift_Wrapper::elementor_frontend_styles()
S
69 3 5
WC_Dependencies::woocommerce_active_check()
S
74 3 4
The_Gift_Wrapper_Wrapping::woocommerce_get_cart_item_from_session()
S
66 3 9
The_Gift_Wrapper_Wrapping::check_nonce()
S
68 3 7
The_Gift_Wrapper_Wrapping::woocommerce_item_permalink()
S
64 3 9
The_Gift_Wrapper_Wrapping::woocommerce_cart_item_quantity()
S
63 3 10
The_Gift_Wrapper_Feedback::send_feedback()
S
60 2 14
The_Gift_Wrapper_Settings::get_placements()
S
58 2 14
The_Gift_Wrapper_Wrapping::woocommerce_get_item_data()
S
63 2 11
The_Gift_Wrapper::plugins_loaded()
S
61 2 11
WCGWP_Strings::get_default_strings()
S
55 1 20
Gift_Wrapper_Settings_Page::output_more_info_screen()
S
71 1 17
WC_Dependencies::init()
S
71 2 5
wcgwp_cart_excluded_from_wrap()
S
72 2 6
Gift_Wrapper_Settings_Page::output()
S
67 2 8
The_Gift_Wrapper_Settings_Product::__construct()
S
68 2 7
WC_Gift_Wrap()
S
74 2 5
WCGWP()
S
74 2 5
wcgwp_show_thumbs()
S
71 2 6
The_Gift_Wrapper_Wrapping::limit_message()
S
64 2 9
The_Gift_Wrapper_Wrapping::woocommerce_checkout_create_order_line_item()
S
71 2 6
The_Gift_Wrapper_Wrapping::duplicate_message()
S
66 2 8
The_Gift_Wrapper_Wrapping::woocommerce_cart_item_class()
S
71 2 6
The_Gift_Wrapper_Wrapping::woocommerce_order_item_display_meta_key()
S
70 2 6
The_Gift_Wrapper_Wrapping::get_products()
S
81 1 3
wcgw_woocommerce_inactive_notice()
S
70 1 8
The_Gift_Wrapper_Settings::plugin_action_links()
S
67 1 7
Gift_Wrapper_Settings_Page::__construct()
S
73 1 5
The_Gift_Wrapper_Wrapping::after_cart()
S
81 1 3
The_Gift_Wrapper_Wrapping::show_thumbs()
S
81 1 3
The_Gift_Wrapper_Wrapping::custom_wrap_location()
S
81 1 3
Gift_Wrapper_Elementor_Widget::get_title()
S
82 1 3
The_Gift_Wrapper_Wrapping::before_checkout_form()
S
81 1 3
Gift_Wrapper_Elementor_Widget::get_style_depends()
S
80 1 3
The_Gift_Wrapper_Feedback::is_plugins_screen()
S
78 1 3
Gift_Wrapper_Elementor_Widget::get_icon()
S
82 1 3
WCGWP_Strings::__construct()
S
91 1 2
The_Gift_Wrapper_Wrapping::check_cart_for_wrap()
S
80 1 3
WCGWP_Strings::save_default_strings()
S
79 1 3
Gift_Wrapper_Settings_Page::get_own_sections()
S
66 1 8
Gift_Wrapper_Elementor_Widget::get_name()
S
82 1 3
is_woocommerce_active()
S
82 1 3
The_Gift_Wrapper::__wakeup()
S
78 1 3
The_Gift_Wrapper_Settings::get_settings_pages()
S
76 1 4
The_Gift_Wrapper_Wrapping::before_cart()
S
81 1 3
The_Gift_Wrapper_Wrapping::before_cart_collaterals()
S
81 1 3
The_Gift_Wrapper::register_elementor_widget()
S
76 1 4
The_Gift_Wrapper_Wrapping::cart_excluded_from_wrap()
S
81 1 3
WCGWP_Strings::get_default_string()
S
76 1 4
The_Gift_Wrapper::elementor_frontend_scripts()
S
73 1 4
Gift_Wrapper_Elementor_Widget::get_script_depends()
S
79 1 3
The_Gift_Wrapper::admin_init()
S
82 1 3
The_Gift_Wrapper_Admin_Notices::__construct()
S
75 1 4
The_Gift_Wrapper_Wrapping::is_wrap()
S
80 1 3
The_Gift_Wrapper_Wrapping::wrap_added_message()
S
69 1 6
The_Gift_Wrapper::includes()
S
66 1 9
The_Gift_Wrapper_Wrapping::cart_virtual_products_only()
S
81 1 3
The_Gift_Wrapper_Wrapping::after_checkout_form()
S
81 1 3
The_Gift_Wrapper::__clone()
S
78 1 3
The_Gift_Wrapper_Settings::__construct()
S
73 1 4
Gift_Wrapper_Elementor_Widget::get_categories()
S
79 1 3
The_Gift_Wrapper_Feedback::__construct()
S
75 1 4
Gift_Wrapper_Elementor_Widget::get_keywords()
S
78 1 3