Better_AMP D

Total Complexity 243
Dependencies 10
Dependents 9
Total lines 1,720
Lines of code 703
Logical lines of code 418
Comment lines 584
Methods 64
Properties 2

Methods 64

Method Rating Maintainability Complexity Lines of code
template_loader()
D
44 42 27
amp_version_exists()
B
41 20 56
plugins_compatibility()
B
38 19 62
auto_redirect_to_amp()
A
48 13 31
call_components_method()
S
56 5 18
is_amp_excluded_by_url()
S
56 5 18
autoload_amp_classes()
S
57 5 16
yoast_seo_homepage_title()
S
61 5 12
_fix_woocommerce_shop_page_query()
S
58 4 15
compatible_plugins_themes()
S
58 4 15
isolate_pre_get_posts_end()
S
65 5 9
transform_post_link_to_amp()
S
63 5 10
include_template_file()
S
60 4 13
yoast_seo_homepage_json_ld()
S
60 4 13
print_mobile_redirect_script()
S
62 4 11
enqueue_components_scripts()
S
62 4 11
buffer_better_amp_end()
S
55 3 19
_fix_prevent_extra_redirect_single_pagination()
S
70 4 6
isolate_pre_get_posts_start()
S
70 4 6
have_cache_plugin()
S
64 4 9
admin_hooks()
S
62 3 11
fix_admin_sub_menu()
S
66 3 8
admin_init()
S
66 3 9
save_metaboxes()
S
64 3 10
fix_search_page_queries()
S
69 3 6
_can_call_component_method()
S
65 3 9
include_template_functions_php()
S
67 3 8
override_comments_template()
S
68 3 8
_return_zero_in_amp()
S
70 3 6
get_requested_page_url()
S
65 3 9
init_json_ld()
S
65 3 9
_fix_show_on_front()
S
70 3 6
replace_internal_links_with_amp_version()
S
59 2 13
apply_hooks()
S
51 1 25
admin_styles()
S
68 1 22
_return_false_in_amp()
S
72 2 6
metaboxes()
S
70 2 6
config_json_ld()
S
68 2 7
get_instance()
S
69 2 7
buffer_better_amp_start()
S
72 2 6
register_components_shortcodes()
S
70 2 7
convert_content_to_amp()
S
72 2 6
render_content()
S
69 2 7
include_wc_template_file()
S
68 2 7
add_rewrite()
S
72 2 5
get_option()
S
67 2 7
metabox_output()
S
63 1 14
append_metaboxes()
S
62 1 13
fix_front_page_display_options()
S
75 1 4
__wakeup()
S
78 1 3
init()
S
66 1 10
initial_constants()
S
72 1 7
load_text_domain()
S
78 1 3
include_files()
S
80 1 3
append_index_rewrite_rule()
S
78 1 3
install()
S
76 1 4
set_page_query()
S
78 1 3
disable_bf_mega_menu()
S
73 1 5
component_actions_finished()
S
77 1 4
include_components()
S
69 1 7
register_autoload()
S
80 1 3
__clone()
S
78 1 3
trigger_component_head()
S
81 1 3
yoast_seo_metatags_compatibility()
S
75 1 4