Total Complexity | 17 |
Dependencies | 4 |
Dependents | 0 |
Total lines | 177 |
Lines of code | 77 |
Logical lines of code | 35 |
Comment lines | 77 |
Methods | 7 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
black_friday_display_notice() | 52 | 7 | 23 | |
black_friday_should_display() | 54 | 5 | 20 | |
black_friday_hook_notice() | 61 | 1 | 13 | |
__construct() | 73 | 1 | 5 | |
hook() | 82 | 1 | 3 | |
get_black_friday_start_time() | 67 | 1 | 7 | |
get_black_friday_end_time() | 69 | 1 | 6 |