AMP_Theme_Support D

Total Complexity 259
Dependencies 36
Dependents 19
Total lines 2,229
Lines of code 1,237
Logical lines of code 590
Comment lines 789
Methods 42
Properties 5

Methods 42

Method Rating Maintainability Complexity Lines of code
prepare_response()
D
23
45 161
get_template_availability()
D
24
37 189
ensure_required_markup()
D
28
29 143
get_supportable_templates()
B
32 14 117
amend_header_image_with_video_header()
A
41 10 56
filter_comment_form_defaults()
A
48 8 33
is_exclusively_dependent()
A
54 8 24
finish_init()
A
49 7 32
get_theme_support_args()
S
54 7 21
add_hooks()
S
40 4 64
init_admin_bar()
S
46 4 40
filter_customize_partial_render()
S
52 5 24
get_optimizer()
S
54 5 22
register_widgets()
S
57 5 16
register_content_embed_handlers()
S
50 4 31
has_dependency()
S
60 5 14
finish_output_buffering()
S
50 4 28
filter_customize_preview_style_loader_tag()
S
61 4 11
filter_cancel_comment_reply_link()
S
53 3 23
filter_comment_reply_link()
S
53 3 22
filter_admin_bar_style_loader_tag()
S
62 4 10
filter_admin_bar_script_loader_tag()
S
62 4 10
dequeue_customize_preview_scripts()
S
63 4 10
filter_amp_template_hierarchy()
S
62 3 12
supports_reader_mode()
S
64 3 11
print_emoji_styles()
S
59 2 23
is_paired_available()
S
65 3 10
include_layout_in_wp_kses_allowed_html()
S
69 3 6
get_support_mode_added_via_theme()
S
66 3 8
start_output_buffering()
S
66 2 8
get_support_mode_added_via_option()
S
66 2 8
add_amp_template_filters()
S
69 2 6
is_customize_preview_iframe()
S
75 2 4
get_current_canonical_url()
S
69 2 7
init()
S
68 2 7
read_theme_support()
S
79 1 3
is_output_buffering()
S
80 1 3
is_support_added_via_option()
S
76 1 4
get_comment_form_state_id()
S
79 1 3
set_comments_walker()
S
70 1 6
enqueue_assets()
S
80 1 3
get_support_mode()
S
75 1 4