The_Gift_Wrapper_Wrapping D

Total Complexity 149
Dependencies 1
Dependents 1
Total lines 818
Lines of code 415
Logical lines of code 251
Comment lines 251
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
add_giftwrap_to_order()
C
39 26 63
wp()
A
47 16 32
add_giftwrap()
A
45 15 38
is_wrap()
A
53 9 22
wrap_in_cart()
A
54 8 21
get_products()
S
51 6 25
cart_excluded_from_wrap()
S
53 6 21
redirect()
S
61 6 12
cart_virtual_products_only()
S
56 5 18
template_redirect()
S
62 5 12
remove_from_cart()
S
64 5 9
available_payment_gateways()
S
62 4 12
gift_wrap_action()
S
56 3 17
extra_class()
S
67 4 7
get_item_data()
S
62 3 11
remove_link_in_cart()
S
64 3 10
check_nonce()
S
68 3 7
remove_link_in_order()
S
65 3 9
__construct()
S
57 1 15
show_thumbs()
S
71 2 6
cart_item_class()
S
71 2 6
order_item_display_meta_key()
S
70 2 6
checkout_create_order_line_item()
S
70 2 6
check_cart_for_wrap()
S
71 2 6
get_cart_item_from_session()
S
71 2 6
after_checkout_form()
S
81 1 3
before_checkout_form()
S
81 1 3
after_cart()
S
81 1 3
before_cart_collaterals()
S
81 1 3
before_cart()
S
81 1 3
count_wrap_products()
S
80 1 3