-
Home
-
Discount Rules and Dynamic Pricing for WooCommerce
-
6.4.0
-
Code
-
Classes
- WCCS_Cart_Discount
Total Complexity |
80 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
302 |
Lines of code |
218 |
Logical lines of code |
148 |
Comment lines |
15 |
Methods |
8 |
Properties |
7 |
Methods 8
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_possible_discounts() |
D |
30 |
38 |
109 |
get_discount_amount() |
A |
46 |
14 |
40 |
get_valid_discounts() |
A |
52 |
10 |
24 |
get_coupon_codes() |
S |
60 |
5 |
15 |
is_cart_discount_coupon() |
S |
62 |
5 |
10 |
get_combine_coupon_code() |
S |
65 |
4 |
8 |
__construct() |
S |
64 |
3 |
9 |
get_discounts() |
S |
82 |
1 |
3 |