Sticky_Header_2020 D

Total Complexity 161
Dependencies 4
Dependents 0
Total lines 2,190
Lines of code 1,700
Logical lines of code 587
Comment lines 337
Methods 48
Properties 3

Methods 48

Method Rating Maintainability Complexity Lines of code
output_custom_styles()
D
22
18 381
register()
D
17
10 460
css_preview()
B
41 20 55
sh2020_settings()
A
33 10 122
admin_notices()
A
37 6 85
check_hints()
A
47 9 37
get_default_selector()
A
51 9 26
output_custom_scripts()
A
43 5 71
maybe_save_settings()
S
51 6 25
append_only_pro_text()
S
54 4 22
pro_teaser()
S
47 2 48
load_assets()
S
57 4 16
sticky_header_2020_customizer_live_preview()
S
52 3 28
delete_mods()
S
60 4 13
append_simple_text()
S
57 3 18
plugin_action_links()
S
55 3 18
show_donate_text()
S
53 2 25
init()
S
53 2 22
css_vars()
S
48 1 34
append_rgba_color()
S
49 1 34
sanitize_checkbox()
S
77 3 3
get_instance()
S
71 2 6
admin_notices_cleanup()
S
71 2 6
sticky_header_2020_class()
S
68 2 7
custom_minify()
S
62 2 10
reset_to_default()
S
66 2 9
theme_is_astra()
S
71 2 6
is_pro()
S
71 2 6
check_theme()
S
68 2 7
deactivate_plugin()
S
68 2 7
enqueue_custom_styles()
S
62 1 11
validate_rgba()
S
77 1 4
admin_menu()
S
65 1 10
add_admin_notice()
S
66 1 8
sanitize_rgba()
S
81 1 3
load_textdomain()
S
78 1 3
theme_is_2024()
S
80 1 3
get_current_theme()
S
73 1 5
theme_is_hello_elementor()
S
80 1 3
on_switch_theme()
S
77 1 4
update_custom_scripts()
S
66 1 8
update_custom_styles()
S
66 1 8
theme_is_2020()
S
80 1 3
__construct()
S
82 1 3
theme_is_2021()
S
80 1 3
theme_is_2022()
S
80 1 3
theme_is_2023()
S
80 1 3
activate_plugin()
S
67 1 8