-
Home
-
Discount Rules and Dynamic Pricing for WooCommerce
-
5.11.0
-
Code
-
Classes
- WCCS_Public_Cart_Item_Pricing
Total Complexity |
49 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
256 |
Lines of code |
158 |
Logical lines of code |
108 |
Comment lines |
40 |
Methods |
7 |
Properties |
10 |
Methods 7
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
apply_discounts() |
B |
39 |
17 |
69 |
calculate_discount_amount() |
A |
51 |
11 |
27 |
set_applied_prices() |
S |
56 |
7 |
18 |
get_price() |
S |
55 |
5 |
17 |
get_base_price() |
S |
58 |
4 |
14 |
__construct() |
S |
61 |
4 |
10 |
get_prices() |
S |
78 |
1 |
3 |