Total Complexity | 66 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 520 |
Lines of code | 210 |
Logical lines of code | 93 |
Comment lines | 221 |
Methods | 16 |
Properties | 10 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
__construct() | 43 | 16 | 45 | |
_admin_notices_hook() | 51 | 9 | 27 | |
add() | 48 | 7 | 31 | |
instance() | 52 | 7 | 26 | |
is_gutenberg_page() | 61 | 5 | 14 | |
remove_sticky() | 63 | 4 | 11 | |
show_admin_notices() | 66 | 3 | 10 | |
dismiss_notice_ajax_callback() | 69 | 2 | 7 | |
has_sticky_messages() | 72 | 2 | 5 | |
add_sticky() | 66 | 2 | 7 | |
get_sticky() | 74 | 2 | 5 | |
clear_all_sticky() | 71 | 2 | 7 | |
get_notices_type() | 75 | 2 | 5 | |
_add_sticky_dismiss_javascript() | 76 | 1 | 4 | |
_enqueue_styles() | 80 | 1 | 3 | |
has_sticky() | 80 | 1 | 3 |