Code Analysis: WP Githuber MD 1.15.2

Function Rating Maintainability Complexity Lines of code
Githuber\Controller\Setting::get_fields()
D
8
4 942
Githuber\Controller\Markdown::detect_code_languages()
D
34 32 88
Githuber_Settings_API::admin_init()
C
36 30 64
Githuber\Controller\Markdown::init()
B
39 20 61
Githuber\Controller\ImagePaste::admin_githuber_image_paste()
B
37 19 69
Githuber::init()
B
36 18 76
Githuber::get_front_enqueue_styles()
B
32 9 171
Githuber\Controller\Markdown::wp_insert_post_data()
A
44 16 39
Githuber\Controller\Markdown::__construct()
A
48 12 35
Githuber\Controller\Markdown::admin_enqueue_scripts()
A
39 9 64
Githuber\Module\Highlight::front_enqueue_scripts()
A
47 10 35
Githuber\Module\Prism::front_enqueue_styles()
A
48 10 31
Githuber\Controller\Markdown::transform()
A
47 9 35
Githuber\Module\Prism::front_enqueue_scripts()
A
46 8 38
Githuber\Controller\HtmlToMarkdown::admin_githuber_html2markdown()
A
48 8 35
Githuber\Module\Prism::is_component_already_loaded()
A
59 9 16
Githuber_Settings_API::callback_number()
A
55 9 15
Githuber\Controller\KeywordSuggestion::admin_githuber_keyword_suggestion()
A
48 7 33
githuber_get_current_post_type()
A
57 8 16
Githuber_Settings_API::get_sanitize_callback()
S
59 8 14
Githuber\Controller\FetchRemoteImage::save_image()
S
50 7 28
Githuber::__construct()
S
50 7 26
Githuber_Settings_API::callback_wysiwyg()
S
52 7 22
Githuber\Controller\Setting::setting_admin_init()
S
55 6 20
Githuber\Module\Highlight::front_enqueue_styles()
S
55 6 18
Githuber\Module\MarkdownExtraParser::inlineFigure()
S
49 5 31
Githuber\Module\MarkdownParser::inlineFigure()
S
49 5 31
Githuber\Module\Toc::front_print_footer_scripts()
S
48 4 44
Githuber_Settings_API::callback_text()
S
58 6 12
Githuber_Settings_API::callback_multicheck()
S
51 5 24
Githuber_Settings_API::script()
S
52 1 83
Githuber\Controller\Markdown::load_markdown()
S
54 5 21
Githuber\Controller\FetchRemoteImage::covert()
S
54 5 20
Githuber_Settings_API::callback_toggle()
S
54 5 19
Githuber\Controller\Markdown::prime_post_cache()
S
56 5 18
Githuber\Controller\Markdown::maybe_load_actions_and_filters()
S
60 5 15
Githuber\Controller\Markdown::is_md_enabled()
S
60 5 14
Githuber\Controller\Markdown::wp_insert_post()
S
59 5 14
Githuber_Settings_API::callback_select()
S
57 5 14
Githuber\Controller\Markdown::admin_githuber_markdown_this_post()
S
51 4 28
Githuber_Settings_API::callback_file()
S
58 5 13
Githuber\Controller\Markdown::xmlrpc_actions()
S
62 5 12
Githuber_Settings_API::callback_textarea()
S
60 5 11
Githuber\Module\SequenceDiagram::front_enqueue_scripts()
S
51 4 25
Githuber\Module\MathJax::front_print_footer_scripts()
S
48 1 69
Githuber\Module\Prism::auto_loader_config_scripts()
S
54 4 22
Githuber\Module\FlowChart::front_enqueue_scripts()
S
54 4 21
Githuber\Module\Emojify::front_print_footer_scripts()
S
50 3 35
Githuber\Module\Clipboard::front_print_footer_scripts()
S
49 1 65
Githuber\Module\Toc::init()
S
55 4 19
Githuber\Module\KaTeX::front_enqueue_styles()
S
57 4 17
Githuber\Module\KaTeX::front_enqueue_scripts()
S
57 4 17
Githuber\Module\MathJax::front_enqueue_scripts()
S
57 4 17
Githuber\Module\Mermaid::front_enqueue_scripts()
S
57 4 17
Githuber\Controller\KeywordSuggestion::query()
S
55 4 17
Githuber\Controller\Setting::setting_admin_menu()
S
58 4 17
Githuber\Controller\Markdown::edit_post_content_filtered()
S
65 5 9
Githuber\Module\ModuleAbstract::is_module_should_be_loaded()
S
61 4 13
Githuber_Settings_API::sanitize_options()
S
61 4 13
Githuber\Controller\Markdown::check_for_early_methods()
S
60 4 12
githuber_get_current_post_id()
S
62 4 12
Githuber\Controller\Markdown::admin_init()
S
61 4 11
disable_emojis_remove_dns_prefetch()
S
62 4 11
Githuber_Settings_API::show_forms()
S
55 3 24
Githuber\Controller\Markdown::unload_markdown()
S
56 3 18
Githuber\Controller\Monolog::logger()
S
56 3 18
Githuber\Module\Clipboard::front_enqueue_scripts()
S
58 3 15
Githuber\Module\Emojify::front_enqueue_scripts()
S
58 3 15
Githuber\Module\Emojify::front_enqueue_styles()
S
58 3 15
Githuber\Controller\Markdown::edit_post_content()
S
64 4 10
Githuber\Module\MarkdownExtraParser::do_single_line_code_preserve()
S
62 4 10
Githuber_Settings_API::callback_password()
S
61 4 10
Githuber\Module\MarkdownParser::do_single_line_code_preserve()
S
64 4 8
Githuber\Controller\Markdown::the_posts()
S
63 4 10
Githuber\Controller\Markdown::is_convert_remote_image()
S
66 4 8
Githuber_Settings_API::callback_color()
S
61 4 10
Githuber_Settings_API::callback_radio()
S
57 3 15
githuber_load_view()
S
60 3 14
Githuber_Settings_API::show_navigation()
S
61 3 12
Githuber\Module\MarkdownExtraParser::__construct()
S
61 3 12
Githuber\Controller\Markdown::get_parser()
S
62 3 11
Githuber\Module\KaTeX::front_print_footer_scripts()
S
53 1 41
Githuber\Module\MarkdownExtraParser::transform()
S
64 3 11
Githuber\Module\MarkdownParser::__construct()
S
62 3 11
Githuber\Module\MarkdownParser::transform()
S
64 3 11
Githuber\Module\Prism::front_print_footer_scripts()
S
57 2 21
Githuber::front_print_footer_scripts()
S
57 2 21
githuber_activate_plugin()
S
56 2 19
Githuber\Controller\FetchRemoteImage::grab_image()
S
56 2 18
Githuber\Module\Highlight::front_print_footer_scripts()
S
56 1 31
githuber_load_utility()
S
70 3 6
Githuber\Controller\Setting::plugin_extend_links()
S
63 3 10
Githuber\Controller\HtmlToMarkdown::admin_init()
S
62 3 10
Githuber\Controller\Markdown::jetpack_code_snippets()
S
69 3 6
Githuber\Controller\Markdown::maybe_unload_for_bulk_edit()
S
72 3 5
Githuber\Controller\Markdown::has_markdown()
S
66 3 9
Githuber\Controller\Setting::plugin_action_links()
S
64 3 9
Githuber\Controller\ImagePaste::admin_init()
S
65 3 8
Githuber\Controller\FetchRemoteImage::admin_init()
S
67 3 7
Githuber\Controller\Register::init()
S
64 3 9
Githuber\Controller\KeywordSuggestion::admin_init()
S
64 3 9
Githuber\Controller\Markdown::add_meta_box()
S
61 2 13
Githuber\Controller\HtmlToMarkdown::add_meta_box()
S
61 2 13
Githuber_Settings_API::callback_pages()
S
59 2 13
Githuber_Widget_Toc::form()
S
61 2 13
Githuber\Controller\FetchRemoteImage::add_meta_box()
S
61 2 13
Githuber\Controller\KeywordSuggestion::add_meta_box()
S
61 2 13
Githuber_Settings_API::callback_checkbox()
S
59 2 13
Githuber_Widget_Toc::widget()
S
61 2 12
Githuber\Module\KaTeX::katex_inline_markup()
S
59 2 12
Githuber\Controller\Markdown::wp_restore_post_revision()
S
61 2 12
Githuber\Module\MathJax::mathjax_inline_markup()
S
59 2 12
Githuber\Controller\Monolog::get_instance()
S
60 2 12
Githuber_Settings_API::_style_fix()
S
65 2 12
Githuber\Controller\Setting::get_sections()
S
55 1 24
Githuber\Module\SequenceDiagram::front_print_footer_scripts()
S
60 1 20
Githuber\Controller\ImagePaste::upload_to_smms()
S
55 1 19
Githuber\Module\FlowChart::front_print_footer_scripts()
S
61 1 18
Githuber\Module\Mermaid::front_print_footer_scripts()
S
61 1 18
Githuber\Controller\ImagePaste::upload_to_imgur()
S
56 1 17
Githuber\Controller\Setting::setting_plugin_page()
S
57 1 17
Githuber\Controller\ImagePaste::upload_to_smms_v1()
S
57 1 16
Githuber\Controller\Setting::__construct()
S
71 2 6
Githuber\Controller\Setting::admin_enqueue_styles()
S
73 2 5
Githuber\Controller\Markdown::convert_remote_image()
S
72 2 6
Githuber\Controller\Register::admin_init()
S
66 2 8
Githuber\Controller\Register::remove_revisions()
S
73 2 5
Githuber_Settings_API::get_option()
S
69 2 7
Githuber\Module\MarkdownExtraParser::do_restore()
S
63 2 10
Githuber_Settings_API::get_field_description()
S
66 2 8
githuber_get_option()
S
69 2 7
Githuber\Controller\Markdown::uncache_munged_posts()
S
73 2 5
Githuber\Module\MarkdownParser::do_restore()
S
63 2 10
Githuber\Controller\Markdown::admin_githuber_disable_jetpack_markdown()
S
68 2 7
Githuber_Settings_API::callback_html()
S
68 2 7
Githuber\Controller\RichEditing::_rich_editing_true()
S
68 2 7
githuber_get_option()
S
69 2 7
githuber_current_user_can()
S
69 2 7
disable_emojis_tinymce()
S
71 2 6
Githuber\Controller\RichEditing::_rich_editing_false()
S
68 2 7
Githuber\Module\Toc::front_enqueue_scripts()
S
68 2 7
Githuber\Controller\RichEditing::enable_gutenberg()
S
72 2 5
githuber_logger()
S
73 2 5
Githuber\Controller\RichEditing::disable_gutenberg()
S
72 2 5
Githuber_Settings_API::add_field()
S
63 1 11
Githuber\Controller\Markdown::show_meta_box()
S
62 1 11
disable_emojis()
S
62 1 11
Githuber\Model\Markdown::__construct()
S
81 1 3
Githuber\Module\MarkdownExtraParser::do_codeblock_preserve()
S
64 1 9
Githuber\Controller\SpellCheck::__construct()
S
81 1 3
Githuber\Module\MarkdownParser::do_remove_text()
S
79 1 3
Githuber\Module\ModuleAbstract::front_print_footer_scripts()
S
100 1 0
Githuber\Controller\KeywordSuggestion::init()
S
79 1 3
Githuber\Module\MarkdownParser::hash_block()
S
71 1 6
Githuber\Module\MarkdownParser::single_line_code_preserve()
S
78 1 3
Githuber_Settings_API::admin_enqueue_scripts()
S
66 1 8
Githuber\Module\ModuleAbstract::front_enqueue_scripts()
S
100 1 0
Githuber\Controller\Markdown::swap_for_editing()
S
67 1 8
Githuber::front_enqueue_styles()
S
73 1 5
Githuber\Module\MarkdownParser::shortcode_preserve()
S
75 1 4
Githuber\Controller\SpellCheck::admin_init()
S
79 1 3
Githuber\Controller\FetchRemoteImage::admin_enqueue_scripts()
S
91 1 2
Githuber\Controller\SpellCheck::init()
S
79 1 3
Githuber\Controller\Markdown::admin_enqueue_styles()
S
78 1 3
Githuber\Controller\FetchRemoteImage::init()
S
79 1 3
Githuber\Controller\CustomMediaLibrary::__construct()
S
81 1 3
Githuber\Controller\ImagePaste::__construct()
S
81 1 3
Githuber\Module\TaskList::parse_gfm_task_list()
S
68 1 7
Githuber\Controller\CustomMediaLibrary::attachment_fields_to_edit()
S
65 1 9
Githuber\Module\FlowChart::front_enqueue_styles()
S
91 1 2
Githuber\Module\KaTeX::__construct()
S
81 1 3
Githuber\Module\MarkdownExtraParser::do_remove_text()
S
79 1 3
Githuber_Settings_API::add_section()
S
77 1 4
Githuber\Controller\Markdown::comment_hash()
S
78 1 3
Githuber\Module\MarkdownExtraParser::get_shortcode_regex()
S
72 1 5
Githuber\Controller\HtmlToMarkdown::show_meta_box()
S
80 1 3
Githuber\Module\Clipboard::init()
S
75 1 4
Githuber\Module\Toc::__construct()
S
81 1 3
Githuber\Module\ModuleAbstract::front_enqueue_styles()
S
100 1 0
Githuber\Controller\KeywordSuggestion::admin_enqueue_styles()
S
91 1 2
Githuber\Controller\SpellCheck::admin_enqueue_scripts()
S
74 1 4
Githuber_Settings_API::callback_url()
S
82 1 3
Githuber\Module\Emojify::__construct()
S
81 1 3
Githuber\Module\Toc::front_enqueue_styles()
S
91 1 2
Githuber\Module\MathJax::__construct()
S
81 1 3
Githuber\Controller\Markdown::set_as_markdown()
S
78 1 3
Githuber\Module\Clipboard::front_enqueue_styles()
S
91 1 2
Githuber\Controller\HtmlToMarkdown::init()
S
79 1 3
Githuber\Controller\ImagePaste::admin_enqueue_scripts()
S
74 1 4
Githuber\Controller\KeywordSuggestion::admin_enqueue_scripts()
S
68 1 6
Githuber\Controller\HtmlToMarkdown::__construct()
S
81 1 3
Githuber\Module\SequenceDiagram::front_enqueue_styles()
S
91 1 2
Githuber\Module\MarkdownParser::hash_maker()
S
80 1 3
Githuber\Controller\ImagePaste::init()
S
79 1 3
Githuber\Module\SequenceDiagram::init()
S
75 1 4
Githuber\Module\KaTeX::init()
S
72 1 5
Githuber\Controller\Markdown::make_filterable()
S
74 1 4
Githuber\Module\MarkdownExtraParser::shortcode_preserve()
S
75 1 4
Githuber\Controller\CustomMediaLibrary::admin_enqueue_styles()
S
91 1 2
Githuber\Module\ModuleAbstract::__construct()
S
81 1 3
Githuber\Controller\SpellCheck::admin_enqueue_styles()
S
91 1 2
Githuber\Module\MarkdownParser::codeblock_preserve()
S
78 1 3
Githuber_Widget_Toc::flush_widget_cache()
S
80 1 3
Githuber\Module\ModuleAbstract::init()
S
100 1 0
Githuber\Controller\FetchRemoteImage::admin_enqueue_styles()
S
91 1 2
Githuber\Controller\CustomMediaLibrary::admin_enqueue_scripts()
S
91 1 2
Githuber\Module\SequenceDiagram::__construct()
S
81 1 3
Githuber\Module\Mermaid::__construct()
S
81 1 3
Githuber\Controller\Setting::init()
S
67 1 7
Githuber\Controller\Markdown::_wp_post_revision_fields()
S
75 1 4
Githuber\Controller\CustomMediaLibrary::admin_init()
S
78 1 3
Githuber\Controller\ImagePaste::admin_enqueue_styles()
S
91 1 2
Githuber\Controller\Register::admin_enqueue_styles()
S
78 1 3
Githuber\Module\MarkdownExtraParser::codeblock_restore()
S
78 1 3
Githuber\Module\MarkdownParser::do_codeblock_restore()
S
67 1 7
Githuber\Controller\ControllerAbstract::admin_enqueue_scripts()
S
100 1 0
Githuber\Controller\FetchRemoteImage::__construct()
S
81 1 3
Githuber\Controller\ControllerAbstract::__construct()
S
69 1 7
Githuber_Settings_API::set_fields()
S
77 1 4
Githuber\Module\Prism::init()
S
70 1 6
Githuber\Module\Prism::__construct()
S
81 1 3
Githuber\Controller\RichEditing::__construct()
S
91 1 2
Githuber\Module\MarkdownParser::codeblock_restore()
S
78 1 3
Githuber_Settings_API::__construct()
S
79 1 3
Githuber\Module\MarkdownExtraParser::single_line_code_preserve()
S
78 1 3
Githuber\Module\FlowChart::init()
S
75 1 4
Githuber\Controller\Markdown::admin_init_meta_box()
S
91 1 2
Githuber\Controller\Markdown::sanitize_setting()
S
81 1 3
Githuber\Controller\HtmlToMarkdown::admin_enqueue_styles()
S
91 1 2
Githuber\Module\MarkdownExtraParser::do_codeblock_restore()
S
67 1 7
Githuber\Controller\ControllerAbstract::init()
S
100 1 0
Githuber\Module\MathJax::init()
S
75 1 4
Githuber\Module\Highlight::__construct()
S
81 1 3
Githuber\Module\Mermaid::init()
S
75 1 4
Githuber\Controller\Register::admin_enqueue_scripts()
S
91 1 2
Githuber\Controller\KeywordSuggestion::show_meta_box()
S
80 1 3
Githuber\Module\MarkdownExtraParser::hash_maker()
S
80 1 3
Githuber\Module\MarkdownParser::remove_bare_p_tags()
S
79 1 3
Githuber\Module\FlowChart::__construct()
S
81 1 3
Githuber\Controller\CustomMediaLibrary::init()
S
79 1 3
githuber_md_warning_libxml()
S
81 1 3
Githuber\Model\Markdown::get_lastest_revision()
S
68 1 8
Githuber\Controller\FetchRemoteImage::show_meta_box()
S
80 1 3
Githuber\Module\MarkdownParser::get_shortcode_regex()
S
72 1 5
Githuber\Module\MarkdownExtraParser::remove_bare_p_tags()
S
79 1 3
Githuber\Module\Mermaid::front_enqueue_styles()
S
91 1 2
githuber_md_warning()
S
81 1 3
Githuber\Controller\Markdown::restore_code_blocks()
S
80 1 3
githuber_md_warning_mbstring()
S
81 1 3
Githuber_Settings_API::set_sections()
S
77 1 4
githuber_deactivate_plugin()
S
72 1 5
Githuber\Module\MarkdownExtraParser::hash_block()
S
71 1 6
Githuber\Module\MarkdownExtraParser::codeblock_preserve()
S
78 1 3
Githuber\Module\Emojify::init()
S
72 1 5
Githuber\Controller\Register::remove_autosave()
S
82 1 3
Githuber\Controller\HtmlToMarkdown::admin_enqueue_scripts()
S
68 1 6
Githuber\Controller\Register::__construct()
S
81 1 3
Githuber\Controller\Markdown::pre_comment_content()
S
73 1 5
Githuber_Widget_Toc::githuber_toc_inline_js()
S
91 1 2
Githuber\Module\MarkdownParser::do_codeblock_preserve()
S
64 1 9
Githuber\Model\ModelAbstract::__construct()
S
77 1 4
Githuber\Module\Highlight::init()
S
72 1 5
Githuber\Module\MathJax::front_enqueue_styles()
S
91 1 2
Githuber\Controller\RichEditing::disable()
S
79 1 3
Githuber\Controller\KeywordSuggestion::__construct()
S
81 1 3
Githuber\Controller\ControllerAbstract::admin_enqueue_styles()
S
100 1 0
Githuber::load_textdomain()
S
79 1 3
Githuber\Controller\Markdown::preserve_code_blocks()
S
80 1 3
Githuber\Module\Clipboard::__construct()
S
81 1 3
Githuber_Widget_Toc::__construct()
S
65 1 9
Githuber\Controller\HtmlToMarkdown::filter_wordpress_html()
S
73 1 5
Githuber\Controller\RichEditing::enable()
S
79 1 3
Githuber\Controller\Markdown::fix_latest_revision_on_restore()
S
70 1 6
Githuber\Controller\HtmlToMarkdown::remove_autosave()
S
82 1 3
Githuber\Controller\Setting::admin_enqueue_scripts()
S
91 1 2