Total Complexity | 15 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 178 |
Lines of code | 59 |
Logical lines of code | 21 |
Comment lines | 93 |
Methods | 11 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
instance() | 71 | 2 | 6 | |
__construct() | 63 | 2 | 10 | |
should_show_opt_in_notice() | 71 | 2 | 6 | |
last_time_notice_was_shown() | 73 | 2 | 5 | |
add_opt_in_sticky_notice() | 64 | 1 | 12 | |
update_option() | 75 | 1 | 4 | |
store_is_required() | 80 | 1 | 3 | |
is_opt_in_notice_shown() | 78 | 1 | 3 | |
remove_opt_in_notice() | 75 | 1 | 4 | |
disable_opt_in_notice() | 80 | 1 | 3 | |
notice_was_just_shown() | 80 | 1 | 3 |