The_Gift_Wrapper_Wrapping D

Total Complexity 147
Dependencies 1
Dependents 1
Total lines 786
Lines of code 383
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
43 26 43
add_giftwrap()
A
45 15 38
wp()
A
48 14 30
is_wrap()
A
53 9 22
wrap_in_cart()
A
55 8 19
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
66 5 8
remove_from_cart()
S
64 5 9
gift_wrap_action()
S
56 3 17
extra_class()
S
67 4 7
available_payment_gateways()
S
64 4 10
remove_link_in_cart()
S
64 3 10
check_nonce()
S
68 3 7
get_item_data()
S
64 3 9
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