-
Home
-
Top Bar Notification & Sticky Banners
-
1.0.1 (latest)
-
Code
-
Classes
- TopBarNSB
| Total Complexity |
189 |
| Dependencies |
0 |
| Dependents |
0 |
| Total lines |
1,150 |
| Lines of code |
633 |
| Logical lines of code |
389 |
| Comment lines |
290 |
| Methods |
29 |
| Properties |
11 |
Methods 29
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| print_banners() |
D |
33 |
34 |
75 |
| admin_enqueue_scripts() |
B |
34 |
18 |
85 |
| we_are_in_page() |
B |
49 |
19 |
28 |
| admin_notices() |
A |
40 |
10 |
64 |
| there_is_banners_to_print() |
A |
52 |
12 |
22 |
| init() |
A |
45 |
9 |
40 |
| load_settings() |
A |
47 |
7 |
40 |
| cookie_write() |
A |
49 |
7 |
32 |
| is_bar_dismissed() |
S |
59 |
8 |
13 |
| wp_enqueue_scripts() |
S |
50 |
7 |
26 |
| get_all_banners_front() |
S |
51 |
7 |
25 |
| admin_body_class() |
S |
63 |
6 |
11 |
| dismiss_ajax_call() |
S |
58 |
5 |
15 |
| dismiss_call() |
S |
58 |
5 |
15 |
| decode_cookie() |
S |
58 |
5 |
15 |
| enqueue_compiled_css() |
S |
61 |
4 |
11 |
| get_all_banners_admin() |
S |
55 |
3 |
19 |
| doing_font_sniffer() |
S |
68 |
4 |
7 |
| wp_footer() |
S |
60 |
3 |
14 |
| get_icon() |
S |
60 |
3 |
13 |
| __construct() |
S |
55 |
1 |
20 |
| get_setting() |
S |
73 |
2 |
5 |
| set_setting() |
S |
65 |
2 |
9 |
| body_class() |
S |
65 |
2 |
9 |
| add_link_config() |
S |
69 |
2 |
6 |
| plugin_activation() |
S |
80 |
1 |
3 |
| install_plugin() |
S |
73 |
1 |
5 |
| show_desktop_content() |
S |
79 |
1 |
3 |
| show_mobile_content() |
S |
79 |
1 |
3 |