-
Home
-
S2 Subscription for WooCommerce
-
1.0.2 (latest)
-
Code
-
Classes
- S2_Subscription_Coupons
Total Complexity |
34 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
217 |
Lines of code |
92 |
Logical lines of code |
59 |
Comment lines |
77 |
Methods |
7 |
Properties |
3 |
Methods 7
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
coupon_get_discount_amount() |
A |
46 |
16 |
34 |
validate_coupon() |
A |
50 |
11 |
25 |
get_instance() |
S |
72 |
2 |
6 |
add_coupon_error() |
S |
71 |
2 |
6 |
__construct() |
S |
67 |
1 |
7 |
add_coupon_discount_types() |
S |
72 |
1 |
5 |
add_coupon_discount_types_list() |
S |
68 |
1 |
9 |