Revenue_Buy_X_Get_Y B

Total Complexity 89
Dependencies 0
Dependents 2
Total lines 676
Lines of code 314
Logical lines of code 201
Comment lines 244
Methods 12
Properties 3

Methods 12

Method Rating Maintainability Complexity Lines of code
after_trigger_product_added_to_cart()
B
36 18 79
set_price_on_cart()
A
45 13 40
get_y_item_price()
A
45 13 39
add_to_cart()
A
44 11 45
render_views()
A
44 10 50
is_eligible_for_discount()
A
55 9 18
cart_item_price()
S
62 5 10
set_cart_item_quantity()
S
69 3 6
output_inpage_views()
S
68 2 7
output_popup_views()
S
70 2 6
output_floating_views()
S
70 2 6
init()
S
65 1 8