The_Gift_Wrapper_Wrapping D

Total Complexity 145
Dependencies 1
Dependents 1
Total lines 821
Lines of code 417
Logical lines of code 252
Comment lines 252
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
46 14 38
is_wrap()
A
51 10 26
wrap_in_cart()
S
54 7 21
redirect()
S
61 6 12
get_products()
S
51 5 25
cart_excluded_from_wrap()
S
54 5 21
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
63 4 11
gift_wrap_action()
S
56 3 17
extra_class()
S
67 4 7
remove_link_in_cart()
S
64 3 10
check_nonce()
S
68 3 7
remove_link_in_order()
S
65 3 9
show_thumbs()
S
71 2 6
__construct()
S
57 1 15
get_item_data()
S
64 2 10
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