Code Analysis: Top Bar Notification & Sticky Banners 1.0.1

Function Rating Maintainability Complexity Lines of code
TopBarNSB::print_banners()
D
33 34 75
TopBarNSB::admin_enqueue_scripts()
B
34 18 85
TopBarNSB::we_are_in_page()
B
49 19 28
TopBarNSB::admin_notices()
A
40 10 64
TopBarNSB::there_is_banners_to_print()
A
52 12 22
TopBarNSB::init()
A
45 9 40
TopBarNSB::load_settings()
A
47 7 40
TopBarNSB::cookie_write()
A
49 7 32
TopBarNSB::is_bar_dismissed()
S
59 8 13
TopBarNSB::wp_enqueue_scripts()
S
50 7 26
TopBarNSB::get_all_banners_front()
S
51 7 25
TopBarNSB::admin_body_class()
S
63 6 11
TopBarNSB::decode_cookie()
S
58 5 15
TopBarNSB::dismiss_ajax_call()
S
58 5 15
TopBarNSB::dismiss_call()
S
58 5 15
TopBarNSB::enqueue_compiled_css()
S
61 4 11
TopBarNSB::get_all_banners_admin()
S
55 3 19
TopBarNSB::doing_font_sniffer()
S
68 4 7
TopBarNSB::wp_footer()
S
60 3 14
TopBarNSB::get_icon()
S
60 3 13
TopBarNSB::__construct()
S
55 1 20
TopBarNSB::body_class()
S
65 2 9
TopBarNSB::set_setting()
S
65 2 9
TopBarNSB::get_setting()
S
73 2 5
TopBarNSB::add_link_config()
S
69 2 6
TopBarNSB::show_mobile_content()
S
79 1 3
TopBarNSB::show_desktop_content()
S
79 1 3
TopBarNSB::install_plugin()
S
73 1 5
TopBarNSB::plugin_activation()
S
80 1 3