Code Analysis: Gift Wrapper 5.2.1

Function Rating Maintainability Complexity Lines of code
Gift_Wrapper_Settings_Page::get_settings()
D
13
7 639
The_Gift_Wrapper_Wrapping::add_giftwrap_to_order()
C
39 26 63
The_Gift_Wrapper_Wrapping::wp()
A
47 16 32
The_Gift_Wrapper_Wrapping::add_giftwrap()
A
46 14 38
The_Gift_Wrapper_Admin_Notices::check_template_outdated()
A
50 11 27
The_Gift_Wrapper_Wrapping::is_wrap()
A
51 10 26
The_Gift_Wrapper_Admin_Notices::help_a_girl_out_notice()
A
50 9 30
The_Gift_Wrapper::update_db()
A
45 8 42
The_Gift_Wrapper::wp_enqueue_scripts()
A
45 8 40
The_Gift_Wrapper_Wrapping::wrap_in_cart()
S
54 7 21
The_Gift_Wrapper::admin_enqueue_scripts()
S
57 7 14
The_Gift_Wrapper_Settings::get_animations()
S
37 1 93
The_Gift_Wrapper_Wrapping::redirect()
S
61 6 12
The_Gift_Wrapper_Wrapping::get_products()
S
51 5 25
The_Gift_Wrapper_Settings::product_cats()
S
52 5 24
The_Gift_Wrapper_Wrapping::cart_excluded_from_wrap()
S
54 5 21
Gift_Uninstaller::uninstall()
S
45 3 49
The_Gift_Wrapper_Wrapping::cart_virtual_products_only()
S
56 5 18
The_Gift_Wrapper_Admin_Notices::setup_error_notice()
S
58 5 14
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
54 4 23
gift_wrapper_outdated_template_notice()
S
56 4 19
The_Gift_Wrapper_Wrapping::remove_from_cart()
S
64 5 9
The_Gift_Wrapper_Admin_Notices::template_file_check_notice()
S
62 4 11
The_Gift_Wrapper_Wrapping::available_payment_gateways()
S
63 4 11
The_Gift_Wrapper::define_constants()
S
65 4 11
The_Gift_Wrapper::wp_login()
S
63 4 11
The_Gift_Wrapper::plugins_loaded()
S
56 3 18
The_Gift_Wrapper_Wrapping::gift_wrap_action()
S
56 3 17
The_Gift_Wrapper_Wrapping::extra_class()
S
67 4 7
Gift_Uninstaller::__construct()
S
61 3 13
The_Gift_Wrapper_Settings_Product::category_args()
S
54 2 21
The_Gift_Wrapper::activation_hook()
S
67 3 8
The_Gift_Wrapper_Wrapping::check_nonce()
S
68 3 7
The_Gift_Wrapper_Wrapping::remove_link_in_cart()
S
64 3 10
The_Gift_Wrapper::instance()
S
70 3 6
Gift_Wrapper_Settings_Page::output()
S
66 3 8
The_Gift_Wrapper_Wrapping::remove_link_in_order()
S
65 3 9
The_Gift_Wrapper_Settings::get_placements()
S
58 2 14
The_Gift_Wrapper_Settings_Product::__construct()
S
66 2 8
The_Gift_Wrapper_Wrapping::checkout_create_order_line_item()
S
70 2 6
The_Gift_Wrapper_Wrapping::get_cart_item_from_session()
S
71 2 6
The_Gift_Wrapper_Wrapping::__construct()
S
57 1 15
The_Gift_Wrapper_Wrapping::cart_item_class()
S
71 2 6
The_Gift_Wrapper_Wrapping::check_cart_for_wrap()
S
71 2 6
The_Gift_Wrapper_Wrapping::show_thumbs()
S
71 2 6
The_Gift_Wrapper_Settings_Product::dropdown_cats()
S
70 2 6
The_Gift_Wrapper_Wrapping::get_item_data()
S
64 2 10
The_Gift_Wrapper_Wrapping::order_item_display_meta_key()
S
70 2 6
The_Gift_Wrapper_Wrapping::before_cart()
S
81 1 3
WC_Gift_Wrap()
S
82 1 3
The_Gift_Wrapper_Wrapping::before_checkout_form()
S
81 1 3
The_Gift_Wrapper::hooks()
S
69 1 6
Gift_Wrapper_Settings_Page::__construct()
S
73 1 5
The_Gift_Wrapper_Admin_Notices::__construct()
S
70 1 6
The_Gift_Wrapper_Wrapping::before_cart_collaterals()
S
81 1 3
The_Gift_Wrapper_Settings::get_settings_pages()
S
76 1 4
The_Gift_Wrapper::includes()
S
71 1 6
The_Gift_Wrapper_Wrapping::after_cart()
S
81 1 3
Gift_Wrapper_Settings_Page::get_own_sections()
S
66 1 8
The_Gift_Wrapper_Settings::plugin_action_links()
S
67 1 7
The_Gift_Wrapper::__wakeup()
S
78 1 3
The_Gift_Wrapper::__clone()
S
78 1 3
The_Gift_Wrapper::__construct()
S
71 1 6
The_Gift_Wrapper_Wrapping::after_checkout_form()
S
81 1 3
The_Gift_Wrapper_Admin_Notices::dismiss_notice()
S
64 1 10
The_Gift_Wrapper_Wrapping::count_wrap_products()
S
80 1 3
The_Gift_Wrapper_Settings::__construct()
S
74 1 4