AMP_Template_Customizer B

Total Complexity 77
Dependencies 12
Dependents 3
Total lines 755
Lines of code 460
Logical lines of code 178
Comment lines 212
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
get_active_theme_import_settings()
B
35 22 86
add_customizer_scripts()
A
41 7 59
store_modified_theme_mod_setting_timestamps()
A
53 8 22
init()
A
49 7 31
remove_cover_template_section()
S
54 7 22
remove_homepage_settings_section()
S
55 5 20
set_refresh_setting_transport()
S
59 5 15
enqueue_legacy_preview_scripts()
S
51 2 29
add_legacy_customizer_scripts()
S
47 1 39
print_legacy_controls_templates()
S
59 1 28
init_legacy_preview()
S
62 2 11
render_setting_import_section_template()
S
57 1 23
add_legacy_customize_preview_styles()
S
69 1 21
add_legacy_preview_scripts()
S
64 2 10
add_dark_mode_toggler_button_notice()
S
64 1 13
register_legacy_ui()
S
63 1 11
__construct()
S
77 1 4
register_legacy_settings()
S
80 1 3
get_amp_panel_description()
S
67 1 9
is_amp_customizer()
S
76 1 4