AMP_Template_Customizer B

Total Complexity 82
Dependencies 13
Dependents 4
Total lines 776
Lines of code 471
Logical lines of code 184
Comment lines 221
Methods 21
Properties 2

Methods 21

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
48 7 32
remove_cover_template_section()
S
54 7 22
remove_homepage_settings_section()
S
55 5 20
set_refresh_setting_transport()
S
59 5 15
set_reader_preview_url()
S
67 4 8
enqueue_legacy_preview_scripts()
S
51 2 29
init_legacy_preview()
S
59 3 13
add_legacy_customizer_scripts()
S
47 1 39
print_legacy_controls_templates()
S
59 1 28
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