Code Analysis: Gift Wrapper 6.0.6

Function Rating Maintainability Complexity Lines of code
The_Gift_Wrapper_Wrapping::add_giftwrap_to_order()
C
40 26 59
The_Gift_Wrapper::update_db()
A
43 15 50
Gift_Wrapper_Settings_Page::get_settings_for_product_wrapping_section()
A
25
1 252
The_Gift_Wrapper_Wrapping::ajax_wrap()
A
41 13 53
The_Gift_Wrapper::wp_enqueue_scripts()
A
38 11 69
The_Gift_Wrapper_Wrapping::gift_wrap_action()
A
41 11 57
Gift_Wrapper_Settings_Page::get_settings_for_language_section()
A
29 1 197
Gift_Wrapper_Settings_Page::get_settings_for_default_section()
A
30 2 160
The_Gift_Wrapper_Wrapping::wp()
A
51 11 25
The_Gift_Wrapper_Wrapping::add_giftwrap()
A
51 10 25
The_Gift_Wrapper_Admin_Notices::check_template_outdated()
A
51 10 25
The_Gift_Wrapper_Admin_Notices::help_a_girl_out_notice()
A
53 9 24
wcgwp_is_wrap()
S
56 7 19
Gift_Wrapper_Settings_Page::get_settings_for_order_wrapping_section()
S
35 1 108
The_Gift_Wrapper::admin_enqueue_scripts()
S
57 7 14
The_Gift_Wrapper_Wrapping::clean_up_cart()
S
59 7 13
wcgwp_cart_contains_virtual_products_only()
S
53 6 24
The_Gift_Wrapper_Settings::get_animations()
S
37 1 93
wcgwp_get_products()
S
50 5 28
The_Gift_Wrapper_Admin_Notices::setup_error_notice()
S
59 6 13
WCGWP_Unwrap::uninstall()
S
43 3 57
The_Gift_Wrapper_Wrapping::redirect()
S
61 6 12
wcgwp_count_wrap_products()
S
59 5 16
The_Gift_Wrapper_Wrapping::ajax_update_cart()
S
60 5 13
The_Gift_Wrapper_Wrapping::template_redirect()
S
62 5 12
The_Gift_Wrapper_Settings_Product::product_data_panel()
S
43 2 56
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
The_Gift_Wrapper_Wrapping::ajax_remove_wrap()
S
58 4 16
The_Gift_Wrapper_Wrapping::woocommerce_cart_item_quantity()
S
59 4 14
wcgwp_count_wrap_in_cart()
S
62 4 12
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
The_Gift_Wrapper_Wrapping::__construct()
S
51 3 26
wcgwp_wrap_in_cart()
S
64 4 11
The_Gift_Wrapper_Wrapping::extra_class()
S
67 4 7
WCGWP_Unwrap::__construct()
S
61 3 13
The_Gift_Wrapper_Settings_Product::category_args()
S
54 2 21
The_Gift_Wrapper::__construct()
S
57 2 16
The_Gift_Wrapper::instance()
S
70 3 6
wcgwp_get_wrap_category_id()
S
66 3 8
The_Gift_Wrapper::activation_hook()
S
67 3 8
The_Gift_Wrapper_Wrapping::check_nonce()
S
68 3 7
The_Gift_Wrapper_Wrapping::woocommerce_get_cart_item_from_session()
S
66 3 9
WC_Dependencies::woocommerce_active_check()
S
74 3 4
The_Gift_Wrapper_Wrapping::woocommerce_item_permalink()
S
64 3 9
The_Gift_Wrapper::define_constants()
S
69 3 8
WCGWP_Strings::get_default_strings()
S
50 1 30
The_Gift_Wrapper_Settings::get_placements()
S
58 2 14
The_Gift_Wrapper::plugins_loaded()
S
61 2 11
The_Gift_Wrapper_Wrapping::woocommerce_get_item_data()
S
63 2 11
WCGWP()
S
74 2 5
The_Gift_Wrapper_Settings_Product::dropdown_cats()
S
70 2 6
The_Gift_Wrapper_Wrapping::duplicate_message()
S
66 2 8
wcgwp_show_thumbs()
S
71 2 6
The_Gift_Wrapper::init()
S
71 2 6
The_Gift_Wrapper_Settings_Product::__construct()
S
66 2 8
The_Gift_Wrapper_Wrapping::limit_message()
S
64 2 9
WC_Dependencies::init()
S
71 2 5
Gift_Wrapper_Settings_Page::output()
S
67 2 8
WCGWP_Strings::get_string()
S
62 2 10
The_Gift_Wrapper_Admin_Notices::ajax_dismiss_notice()
S
59 1 15
The_Gift_Wrapper_Wrapping::woocommerce_order_item_display_meta_key()
S
70 2 6
WC_Gift_Wrap()
S
74 2 5
The_Gift_Wrapper_Wrapping::woocommerce_cart_item_class()
S
71 2 6
The_Gift_Wrapper_Wrapping::woocommerce_checkout_create_order_line_item()
S
71 2 6
wcgwp_cart_excluded_from_wrap()
S
72 2 6
The_Gift_Wrapper_Wrapping::cart_excluded_from_wrap()
S
81 1 3
Gift_Wrapper_Settings_Page::__construct()
S
73 1 5
The_Gift_Wrapper_Settings::plugin_action_links()
S
67 1 7
The_Gift_Wrapper::includes()
S
68 1 8
The_Gift_Wrapper_Settings::get_settings_pages()
S
76 1 4
wcgw_woocommerce_inactive_notice()
S
70 1 8
WCGWP_Strings::__construct()
S
91 1 2
The_Gift_Wrapper::__wakeup()
S
78 1 3
The_Gift_Wrapper_Wrapping::wrap_added_message()
S
71 1 5
The_Gift_Wrapper_Wrapping::is_wrap()
S
80 1 3
The_Gift_Wrapper::__clone()
S
78 1 3
The_Gift_Wrapper_Settings::__construct()
S
73 1 4
The_Gift_Wrapper_Wrapping::before_cart_collaterals()
S
81 1 3
The_Gift_Wrapper_Wrapping::before_checkout_form()
S
81 1 3
The_Gift_Wrapper_Wrapping::custom_wrap_location()
S
81 1 3
The_Gift_Wrapper_Wrapping::get_products()
S
81 1 3
The_Gift_Wrapper_Wrapping::before_cart()
S
81 1 3
The_Gift_Wrapper_Admin_Notices::__construct()
S
70 1 6
The_Gift_Wrapper_Wrapping::after_cart()
S
81 1 3
The_Gift_Wrapper_Wrapping::after_checkout_form()
S
81 1 3
is_woocommerce_active()
S
82 1 3
The_Gift_Wrapper_Wrapping::check_cart_for_wrap()
S
80 1 3
The_Gift_Wrapper_Wrapping::show_thumbs()
S
81 1 3
The_Gift_Wrapper_Wrapping::cart_virtual_products_only()
S
81 1 3
Gift_Wrapper_Settings_Page::get_own_sections()
S
66 1 8
WCGWP_Strings::save_default_strings()
S
79 1 3