Total Complexity | 21 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 152 |
Lines of code | 67 |
Logical lines of code | 40 |
Comment lines | 59 |
Methods | 10 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
is_active() | 59 | 4 | 15 | |
__construct() | 62 | 4 | 12 | |
exists() | 79 | 2 | 3 | |
get_type() | 71 | 2 | 5 | |
get_amount() | 65 | 2 | 9 | |
expiration_date() | 72 | 2 | 5 | |
is_enabled() | 71 | 2 | 5 | |
__get() | 74 | 1 | 4 | |
get_code() | 71 | 1 | 5 | |
get_description() | 75 | 1 | 4 |