WCGW_Wrapping D

Total Complexity 151
Dependencies 2
Dependents 1
Total lines 760
Lines of code 407
Logical lines of code 267
Comment lines 218
Methods 30
Properties 2

Methods 30

Method Rating Maintainability Complexity Lines of code
add_giftwrap_to_order()
D
38 38 58
wp()
B
44 19 38
add_giftwrap()
A
50 9 27
wrap_in_cart()
S
54 7 21
gift_wrap_action()
S
48 5 34
checkout_footer_js()
S
61 6 11
cart_footer_js()
S
61 6 11
get_wcgw_products()
S
48 4 35
cart_excluded_from_wrap()
S
55 5 19
cart_virtual_products_only()
S
56 5 18
check_item_for_giftwrap_cat()
S
58 5 14
remove_from_cart()
S
64 5 10
available_payment_gateways()
S
64 4 10
extra_class()
S
66 4 7
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
68 3 7
show_thumbs()
S
71 2 6
checkout_create_order_line_item()
S
70 2 6
order_item_display_meta_key()
S
70 2 6
get_cart_item_from_session()
S
71 2 6
check_cart_for_wrap()
S
71 2 6
__construct()
S
59 1 13
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_giftwrapped_products()
S
80 1 3