AMP_Theme_Support D

Total Complexity 272
Dependencies 44
Dependents 19
Total lines 2,349
Lines of code 1,300
Logical lines of code 614
Comment lines 830
Methods 43
Properties 5

Methods 43

Method Rating Maintainability Complexity Lines of code
prepare_response()
D
22
48 179
ensure_required_markup()
D
24
38 184
get_template_availability()
D
24
37 189
get_supportable_templates()
B
32 14 121
amend_header_image_with_video_header()
A
41 10 56
filter_comment_form_defaults()
A
47 8 34
is_exclusively_dependent()
A
54 8 24
finish_init()
A
49 7 32
get_theme_support_args()
S
54 7 21
get_optimizer()
S
52 6 25
init_admin_bar()
S
46 4 40
filter_customize_partial_render()
S
52 5 24
add_hooks()
S
44 3 46
register_widgets()
S
57 5 16
register_content_embed_handlers()
S
50 4 31
has_dependency()
S
60 5 14
filter_customize_preview_style_loader_tag()
S
61 4 11
filter_cancel_comment_reply_link()
S
52 3 24
filter_comment_reply_link()
S
53 3 23
render_error_page()
S
54 3 21
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
finish_output_buffering()
S
62 3 12
supports_reader_mode()
S
64 3 11
print_emoji_styles()
S
57 2 24
is_paired_available()
S
65 3 10
get_support_mode_added_via_theme()
S
66 3 8
filter_resource_hints_to_remove_emoji_dns_prefetch()
S
63 2 11
start_output_buffering()
S
66 2 8
init()
S
68 2 7
get_current_canonical_url()
S
69 2 7
add_amp_template_filters()
S
69 2 6
is_customize_preview_iframe()
S
75 2 4
get_support_mode_added_via_option()
S
66 2 8
is_support_added_via_option()
S
76 1 4
is_output_buffering()
S
80 1 3
set_comments_walker()
S
70 1 6
read_theme_support()
S
79 1 3
get_support_mode()
S
75 1 4
enqueue_assets()
S
80 1 3
get_comment_form_state_id()
S
75 1 4