Total Complexity | 19 |
Dependencies | 1 |
Dependents | 0 |
Total lines | 141 |
Lines of code | 73 |
Logical lines of code | 39 |
Comment lines | 44 |
Methods | 6 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
sanitize_fields() | 60 | 5 | 13 | |
create_new_personalised_coupons() | 54 | 4 | 20 | |
save_new_coupon() | 57 | 4 | 16 | |
personalised_coupon_is_empty() | 57 | 3 | 16 | |
validate_fields() | 72 | 2 | 5 | |
__construct() | 79 | 1 | 3 |