CartHelper B

Total Complexity 94
Dependencies 1
Dependents 1
Total lines 461
Lines of code 286
Logical lines of code 193
Comment lines 85
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
get_strikeout_price_html()
B
41 16 53
calculate_discounted_price()
A
43 15 45
update_custom_price_in_cart()
A
44 13 45
get_custom_item_data()
S
54 7 20
add_custom_item_price()
S
61 7 12
get_discounted_total()
S
54 6 21
get_products_in_cart()
S
61 6 11
add_cart_item_data()
S
54 5 19
cart_item_price_html()
S
61 5 13
product_image_on_cart()
S
69 3 6
add_order_item_meta()
S
64 2 9
update_cart_prices_after_quantity_update()
S
74 2 5
get_mc_bundle_price()
S
69 2 7
update_cart_prices_after_remove()
S
74 2 5
get_product_price()
S
73 1 5
cutNum()
S
76 1 3
init()
S
67 1 7