-
Home
-
Discount Rules and Dynamic Pricing for WooCommerce
-
4.11.1
-
Code
-
Classes
- WCCS_Public_Cart_Item_Pricing
Total Complexity |
36 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
205 |
Lines of code |
113 |
Logical lines of code |
73 |
Comment lines |
37 |
Methods |
7 |
Properties |
10 |
Methods 7
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
apply_discounts() |
A |
48 |
9 |
35 |
set_applied_prices() |
S |
56 |
7 |
18 |
calculate_discount_amount() |
S |
57 |
6 |
16 |
get_price() |
S |
56 |
5 |
17 |
get_base_price() |
S |
58 |
4 |
14 |
__construct() |
S |
61 |
4 |
10 |
get_prices() |
S |
82 |
1 |
3 |