Revenue_Buy_X_Get_Y B

Total Complexity 82
Dependencies 0
Dependents 1
Total lines 598
Lines of code 286
Logical lines of code 185
Comment lines 206
Methods 12
Properties 3

Methods 12

Method Rating Maintainability Complexity Lines of code
render_views()
A
41 13 64
set_price_on_cart()
A
45 13 40
get_y_item_price()
A
45 13 39
add_to_cart()
A
44 11 45
after_trigger_product_added_to_cart()
A
46 8 37
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