-
Home
-
Mailchimp for WooCommerce
-
5.6 (latest)
-
Code
-
Classes
- MailChimp_WooCommerce_PromoCode
| Total Complexity |
17 |
| Dependencies |
2 |
| Dependents |
2 |
| Total lines |
217 |
| Lines of code |
80 |
| Logical lines of code |
25 |
| Comment lines |
98 |
| Methods |
15 |
| Properties |
8 |
Methods 15
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| fromArray() |
S |
58 |
3 |
17 |
| toArray() |
S |
63 |
1 |
11 |
| getValidation() |
S |
65 |
1 |
10 |
| attachPromoRule() |
S |
77 |
1 |
4 |
| getAttachedPromoRule() |
S |
82 |
1 |
3 |
| getId() |
S |
82 |
1 |
3 |
| setId() |
S |
77 |
1 |
4 |
| getCode() |
S |
82 |
1 |
3 |
| setCode() |
S |
77 |
1 |
4 |
| getRedemptionURL() |
S |
82 |
1 |
3 |
| setRedemptionURL() |
S |
77 |
1 |
4 |
| getUsageCount() |
S |
82 |
1 |
3 |
| setUsageCount() |
S |
77 |
1 |
4 |
| setEnabled() |
S |
76 |
1 |
4 |
| isEnabled() |
S |
81 |
1 |
3 |