Total Complexity | 17 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 190 |
Lines of code | 64 |
Logical lines of code | 22 |
Comment lines | 99 |
Methods | 12 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
instance() | 71 | 2 | 6 | |
__construct() | 63 | 2 | 10 | |
is_required() | 73 | 2 | 5 | |
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 |