Code Analysis: Woocommerce Gift Wrapper 4.4.5

Function Rating Maintainability Complexity Lines of code
WCGW_Wrapping::add_giftwrap_to_order()
D
40 34 48
WCGW_Wrapping::init()
B
46 17 33
WCGW_Admin_Notices::check_template_outdated()
A
50 11 27
WCGW_Settings::add_settings()
A
30 2 160
WC_Gift_Wrapper::wp_enqueue_scripts()
A
50 10 26
WC_Gift_Wrapper::update_db()
A
45 8 43
WCGW_Wrapping::add_giftwrap()
A
50 9 27
WCGW_Admin_Notices::help_a_girl_out_notice()
A
51 8 30
WCGW_Wrapping::cart_footer_js()
S
61 6 11
WCGW_Wrapping::checkout_footer_js()
S
61 6 11
WCGW_Settings::woocommerce_product_cats()
S
51 5 26
WCGW_Wrapping::get_wcgw_products()
S
48 4 35
WCGW_Wrapping::cart_virtual_products_only()
S
56 5 17
WCGW_Wrapping::gift_wrap_action()
S
49 4 31
WCGW_Wrapping::check_cart_for_wrap()
S
58 5 15
WCGW_Wrapping::check_item_for_giftwrap_cat()
S
58 5 14
WCGW_Admin_Notices::setup_error_notice()
S
60 5 11
wcgwp_outdated_template_notice()
S
55 4 20
Gift_Uninstaller::uninstall()
S
55 3 23
WCGW_Wrapping::extra_class()
S
66 4 7
WCGW_Wrapping::available_payment_gateways()
S
64 4 10
WCGW_Admin_Notices::template_file_check_notice()
S
64 4 9
Gift_Uninstaller::__construct()
S
62 3 13
WCGW_Wrapping::remove_link_in_cart()
S
64 3 10
WCGW_Wrapping::get_item_data()
S
64 3 9
WCGW_Wrapping::remove_link_in_order()
S
68 3 7
WC_Gift_Wrapper::get_instance()
S
70 3 6
WCGW_Autoloader::autoloader()
S
65 3 9
WC_Gift_Wrapper::plugins_loaded()
S
60 2 13
WCGW_Wrapping::get_cart_item_from_session()
S
71 2 6
WCGW_Admin_Notices::__construct()
S
67 2 7
WCGW_Wrapping::show_thumbs()
S
71 2 6
WCGW_Wrapping::order_item_display_meta_key()
S
70 2 6
WCGW_Autoloader::class_belongs_to_plugin()
S
70 2 6
WC_Gift_Wrapper::activation_hook()
S
74 2 5
WCGW_Wrapping::checkout_create_order_line_item()
S
70 2 6
WCGW_Wrapping::__construct()
S
60 1 12
WCGW_Wrapping::after_cart()
S
81 1 3
WCGW_Admin_Notices::dismiss_notice()
S
72 1 5
WCGW_Settings::add_section()
S
75 1 4
WCGW_Settings::__construct()
S
71 1 5
WC_Gift_Wrapper::__wakeup()
S
78 1 3
WC_Gift_Wrap()
S
82 1 3
WCGW_Wrapping::count_giftwrapped_products()
S
80 1 3
WCGW_Wrapping::before_checkout_form()
S
81 1 3
WCGW_Autoloader::get_classes_directory()
S
78 1 3
WCGW_Wrapping::before_cart_collaterals()
S
81 1 3
WCGW_Wrapping::after_checkout_form()
S
81 1 3
WC_Gift_Wrapper::__clone()
S
78 1 3
WC_Gift_Wrapper::__construct()
S
68 1 7
WCGW_Settings::plugin_action_links()
S
67 1 7
WCGW_Autoloader::__construct()
S
80 1 3
WCGW_Autoloader::get_class_path()
S
78 1 3
WCGW_Wrapping::before_cart()
S
81 1 3