WCJ_Wholesale_Price A

Total Complexity 64
Dependencies 0
Dependents 0
Total lines 317
Lines of code 215
Logical lines of code 129
Comment lines 77
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
calculate_totals()
A
44 16 42
get_discount_by_quantity()
A
44 13 44
add_discount_info_to_cart_page()
A
44 10 41
get_wholesale_price()
S
58 6 14
__construct()
S
51 5 24
get_quantity()
S
57 5 16
get_price_for_cart()
S
54 3 23
cart_loaded_from_session()
S
68 3 7
wholesale_price()
S
74 3 4