CartHelper A

Total Complexity 75
Dependencies 1
Dependents 1
Total lines 393
Lines of code 226
Logical lines of code 155
Comment lines 79
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
getStrikeoutPriceHtml()
B
41 16 53
update_custom_price_in_cart()
A
44 13 45
get_item_data()
S
54 7 20
add_custom_item_price()
S
61 7 12
get_products_in_cart()
S
61 6 11
add_cart_item_data()
S
54 5 19
calculate_discounted_total()
S
57 5 16
replace_cart_item_price()
S
61 5 13
product_image_on_cart()
S
69 3 6
update_cart_prices_after_remove()
S
74 2 5
update_cart_prices_after_quantity_update()
S
74 2 5
add_order_item_meta()
S
64 2 9
init()
S
64 1 9
cutNum()
S
76 1 3