Total Complexity | 15 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 1 |
Lines of code | 11 |
Logical lines of code | 21 |
Comment lines | 0 |
Methods | 11 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
instance() | 88 | 2 | 1 | |
__construct() | 85 | 2 | 1 | |
should_show_opt_in_notice() | 88 | 2 | 1 | |
last_time_notice_was_shown() | 88 | 2 | 1 | |
update_option() | 88 | 1 | 1 | |
store_is_required() | 90 | 1 | 1 | |
is_opt_in_notice_shown() | 89 | 1 | 1 | |
remove_opt_in_notice() | 88 | 1 | 1 | |
disable_opt_in_notice() | 90 | 1 | 1 | |
notice_was_just_shown() | 90 | 1 | 1 | |
add_opt_in_sticky_notice() | 87 | 1 | 1 |