Code Analysis: Ganohrs Toggle Shortcode 0.2.4

Function Rating Maintainability Complexity Lines of code
ganohrs_toggle_shortcode_Options::style_callback()
D
37 47 53
ganohrs_toggle_shortcode_Options::admin_manage_page()
B
28
7 239
ganohrs_toggle_shortcode_func()
A
42 15 52
ganohrs_toggle_shortcode_load_css()
A
47 8 35
ganohrs_is_amp()
A
58 9 15
ganohrs_toggle_shortcode_fixautofm_tail()
S
50 7 29
ganohrs_toggle_shortcode_Options::sanitize_and_check()
S
61 8 11
ganohrs_tail_pattern_matched()
S
57 6 17
ganohrs_toggle_shortcode_fixautofm_head()
S
54 5 22
ganohrs_is_amp_pattern()
S
60 5 15
ganohrs_toggle_shortcode_Options::replace_number_suffix_callback()
S
62 6 10
ganohrs_toggle_shortcode_Options::fix_autoformat_callback()
S
62 6 10
ganohrs_toggle_shortcode_Options::replace_none_number_suffix_callback()
S
62 6 10
ganohrs_toggle_shortcode_Options::enqueue_type_callback()
S
62 6 10
ganohrs_toggle_shortcode_Options::output_css_when_amp_callback()
S
62 6 10
ganohrs_toggle_shortcode_Options::output_css_when_none_amp_callback()
S
62 6 10
ganohrs_toggle_shortcode_Options::page_init()
S
44 1 62
ganohrs_toggle_shortcode_get_fixautofm()
S
63 4 11
ganohrs_toggle_shortcode_get_replace_number_suffix()
S
62 4 11
ganohrs_toggle_shortcode_get_output_css_when_none_amp()
S
62 4 11
ganohrs_toggle_shortcode_get_css_style()
S
63 4 11
ganohrs_toggle_shortcode_get_replace_none_number_suffix()
S
62 4 11
ganohrs_toggle_shortcode_get_output_css_when_amp()
S
62 4 11
ganohrs_toggle_shortcode_css_enqueue_or_head()
S
63 4 11
ganohrs_remove_amp_uri_part()
S
61 3 13
ganohrs_get_uri_full()
S
69 3 6
ganohrs_toggle_shortcode_Options::__construct()
S
72 1 5
ganohrs_toggle_shortcode_Options::add_plugin_page()
S
67 1 9
ganohrs_toggle_shortcode_Options::add_plugin_action_links()
S
71 1 5