WCGW_Wrapping D

Total Complexity 137
Dependencies 2
Dependents 1
Total lines 683
Lines of code 363
Logical lines of code 238
Comment lines 195
Methods 27
Properties 2

Methods 27

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
gift_wrap_action()
S
48 5 33
cart_footer_js()
S
61 6 11
checkout_footer_js()
S
61 6 11
get_wcgw_products()
S
48 4 35
cart_virtual_products_only()
S
56 5 18
check_cart_for_wrap()
S
58 5 15
check_item_for_giftwrap_cat()
S
58 5 14
available_payment_gateways()
S
64 4 10
extra_class()
S
66 4 7
check_nonce()
S
68 3 7
remove_link_in_cart()
S
64 3 10
get_item_data()
S
64 3 9
remove_link_in_order()
S
68 3 7
checkout_create_order_line_item()
S
70 2 6
show_thumbs()
S
71 2 6
order_item_display_meta_key()
S
70 2 6
get_cart_item_from_session()
S
71 2 6
__construct()
S
61 1 11
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
count_giftwrapped_products()
S
80 1 3
before_cart()
S
81 1 3