CartHelper B

Total Complexity 95
Dependencies 2
Dependents 1
Total lines 465
Lines of code 286
Logical lines of code 193
Comment lines 86
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
get_strikeout_price_html()
B
41 16 53
calculate_discounted_price()
A
44 14 42
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
get_mc_bundle_price()
S
68 3 7
product_image_on_cart()
S
69 3 6
init()
S
62 2 10
update_cart_prices_after_quantity_update()
S
74 2 5
update_cart_prices_after_remove()
S
74 2 5
add_order_item_meta()
S
64 2 9
get_product_price()
S
73 1 5
cutNum()
S
76 1 3