-
Home
-
Discount Rules and Dynamic Pricing for WooCommerce
-
7.3.1 (latest)
-
Code
-
Classes
- WCCS_Public_Cart_Item_Pricing
Total Complexity |
49 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
266 |
Lines of code |
161 |
Logical lines of code |
110 |
Comment lines |
45 |
Methods |
7 |
Properties |
11 |
Methods 7
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
apply_discounts() |
B |
39 |
17 |
69 |
calculate_discount_amount() |
A |
49 |
11 |
30 |
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 |