Sticky_Header_2020 D

Total Complexity 140
Dependencies 4
Dependents 0
Total lines 2,016
Lines of code 1,537
Logical lines of code 521
Comment lines 348
Methods 42
Properties 2

Methods 42

Method Rating Maintainability Complexity Lines of code
register()
D
18
10 451
output_custom_styles()
C
27
11 274
css_preview()
B
41 19 52
sh2020_settings()
A
33 9 123
check_hints()
A
47 9 37
admin_notices()
A
38 5 80
output_custom_scripts()
A
42 5 74
maybe_save_settings()
S
51 6 25
get_default_selector()
S
58 5 16
append_only_pro_text()
S
54 4 22
pro_teaser()
S
47 2 48
load_assets()
S
58 4 15
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
append_rgba_color()
S
49 1 35
init()
S
54 2 20
sanitize_checkbox()
S
77 3 3
css_vars()
S
51 1 25
enqueue_custom_styles()
S
58 1 17
sticky_header_2020_customizer_live_preview()
S
58 1 17
admin_notices_cleanup()
S
71 2 6
reset_to_default()
S
66 2 9
deactivate_plugin()
S
68 2 7
get_instance()
S
71 2 6
sticky_header_2020_class()
S
68 2 7
custom_minify()
S
62 2 10
theme_is_tto()
S
71 2 6
theme_is_tt()
S
71 2 6
theme_is_astra()
S
71 2 6
is_pro()
S
70 2 6
activate_plugin()
S
67 1 8
update_custom_scripts()
S
66 1 8
__construct()
S
82 1 3
admin_menu()
S
65 1 10
get_current_theme()
S
73 1 5
sanitize_rgba()
S
81 1 3
validate_rgba()
S
77 1 4
add_admin_notice()
S
66 1 8
load_textdomain()
S
77 1 3
update_custom_styles()
S
66 1 8