Total Complexity | 58 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 460 |
Lines of code | 184 |
Logical lines of code | 83 |
Comment lines | 194 |
Methods | 14 |
Properties | 10 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
__construct() | 44 | 15 | 42 | |
_admin_notices_hook() | 50 | 9 | 28 | |
add() | 49 | 7 | 29 | |
instance() | 52 | 7 | 26 | |
is_gutenberg_page() | 61 | 5 | 14 | |
remove_sticky() | 63 | 4 | 11 | |
has_sticky_messages() | 72 | 2 | 5 | |
add_sticky() | 67 | 2 | 7 | |
get_notices_type() | 75 | 2 | 5 | |
dismiss_notice_ajax_callback() | 77 | 1 | 4 | |
_add_sticky_dismiss_javascript() | 76 | 1 | 4 | |
_enqueue_styles() | 80 | 1 | 3 | |
has_sticky() | 80 | 1 | 3 | |
clear_all_sticky() | 83 | 1 | 3 |