Total Complexity | 23 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 137 |
Lines of code | 87 |
Logical lines of code | 45 |
Comment lines | 24 |
Methods | 5 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_latest_promo() | 40 | 14 | 59 | |
dismiss_promo() | 62 | 3 | 10 | |
sort_by_priority() | 68 | 3 | 7 | |
show_promotions() | 68 | 2 | 7 | |
__construct() | 75 | 1 | 4 |