AMPforWP_theme_mode D

Total Complexity 147
Dependencies 5
Dependents 1
Total lines 675
Lines of code 617
Logical lines of code 424
Comment lines 42
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
custom_template_file_name()
D
18
74 204
amp_form_sanitization()
A
44 12 41
init()
A
44 7 41
amp_theme_ajaxcomments()
A
43 6 47
amp_head_css()
S
48 5 30
amp_comment_mustache_script()
S
59 5 15
ampforwp_template_mode_reg_callback_widgets()
S
52 4 24
comment_form_conversion()
S
53 4 24
ampforwp_get_remote_content()
S
59 4 14
dynamic_sidebar_callback_bkp()
S
62 3 11
ampforwp_template_mode_cnt_sanitizer()
S
48 1 38
removeUnusedAction()
S
57 1 17
rm_wp_core()
S
59 1 15
amp_the_content()
S
68 2 7
get_avatar()
S
80 1 3
allow_search_form_widget()
S
67 1 8
author_meta_desctiption_amp()
S
80 1 3
content_sanitize()
S
73 1 5
init_admin_bar()
S
76 1 4
__construct()
S
91 1 2
amp_head_content()
S
68 1 7
amp_footer_content()
S
69 1 7
get_custom_logo()
S
77 1 4
search_form()
S
77 1 4
css_sanitizer()
S
64 1 7
add_amp_html_attr()
S
77 1 4
featured_image_html()
S
77 1 4
template_mode_new_dir()
S
73 1 5
ampforwp_plugin_settings_link()
S
70 1 6
ampforwp_theme_mode_enable()
S
83 1 3
removeUnusedMenuWidgets()
S
65 1 10
remove_adminbar_search()
S
81 1 3