-
Home
-
Booster for WooCommerce
-
7.1.3
-
Code
-
Classes
- WCJ_Wholesale_Price
Total Complexity |
67 |
Dependencies |
0 |
Dependents |
0 |
Total lines |
319 |
Lines of code |
217 |
Logical lines of code |
131 |
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 |
43 |
14 |
45 |
add_discount_info_to_cart_page() |
A |
44 |
11 |
41 |
get_wholesale_price() |
S |
57 |
7 |
15 |
__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 |