MNP_Cart D

Total Complexity 142
Dependencies 12
Dependents 4
Total lines 786
Lines of code 637
Logical lines of code 373
Comment lines 16
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
generate_cart()
D
30 30 111
checkout_cart()
B
38 17 62
generate_product_info()
B
35 14 83
woocommerce_after_add_to_cart_form()
A
38 14 62
create_order()
A
37 9 75
cart_contains_npay_items()
A
53 12 19
search_cart_item()
A
50 10 29
woocommerce_after_cart_table()
A
43 7 45
add_to_wishlist()
S
44 5 42
get_options()
S
53 5 20
backup_cart()
S
54 4 22
wc_validate()
S
60 4 13
save_cart_contents()
S
54 3 19
recover_cart()
S
59 3 13
maybe_update_cart_item_price()
S
70 2 6
get_back_url()
S
65 2 8
get_order_key()
S
66 1 8