Code Analysis: md4AI 1.1.0

Function Rating Maintainability Complexity Lines of code
Md4Ai\Md4Ai_Admin_Views::prepare_dashboard_stats()
B
34 17 98
Md4Ai\Md4Ai_Admin_Views::render_tab_dashboard()
A
31 6 168
Md4Ai\Md4Ai_Markdown::generate_website_links()
A
46 13 39
Md4Ai\Md4Ai_Admin_Views::render_tabs()
A
45 10 44
Md4Ai\Md4Ai_Markdown::generate_default_llmstxt()
A
40 9 58
Md4Ai\Md4Ai_Geo_Analyzer::get_analysis_results()
A
42 9 51
Md4Ai\Md4Ai_Admin_Views::render_tab_llms_txt()
A
36 5 109
Md4Ai\Md4Ai_Markdown::parse_navigation_html()
A
49 8 29
Md4Ai\Md4Ai_Core::serve_markdown_to_bots()
A
51 8 25
Md4Ai\Md4Ai_Metabox::save_markdown_metabox()
A
53 8 23
Md4Ai\Md4Ai_Metabox::render_markdown_metabox()
S
39 3 86
Md4Ai\Md4Ai_Admin_Views::render_admin_page()
S
54 6 20
Md4Ai\Md4Ai_Admin_Views::render_geo_insights_page()
S
48 2 70
Md4Ai\Md4Ai_Admin::enqueue_admin_scripts()
S
47 4 35
Md4Ai\Md4Ai_Core::handle_requests()
S
63 5 12
Md4Ai\Md4Ai_Geo_Analyzer::fetch_ground_truth()
S
52 4 23
Md4Ai\Md4Ai_Utils::log_request()
S
55 4 20
Md4Ai\Md4Ai_Cache::get_statistics()
S
57 4 16
Md4Ai\Md4Ai_Cache::ensure_cache_directory()
S
60 4 14
Md4Ai\Md4Ai_Cache::get_header_footer_data()
S
60 4 13
Md4Ai\Md4Ai_Core::is_ai_bot()
S
62 4 12
Md4Ai\Md4Ai_Cache::clear_all_cache()
S
63 4 11
Md4Ai\Md4Ai_Core::serve_llmstxt()
S
60 3 14
Md4Ai\Md4Ai_RestAPI::rest_generate_markdown()
S
59 3 14
Md4Ai\Md4Ai_Markdown::convert_post_to_markdown()
S
52 2 24
Md4Ai\Md4Ai_RestAPI::register_rest_routes()
S
49 1 37
Md4Ai\Md4Ai_Geo_Analyzer::parse_ai_response()
S
56 2 17
Md4Ai\Md4Ai_Markdown::format_navigation_markdown()
S
63 3 10
Md4Ai\Md4Ai_Markdown::html_to_markdown()
S
49 1 29
Md4Ai\Md4Ai_Metabox::add_markdown_metabox()
S
61 2 13
Md4Ai\Md4Ai_RestAPI::rest_get_stats()
S
61 2 13
Md4Ai\Md4Ai_RestAPI::geo_insights()
S
61 2 12
Md4Ai\Md4Ai_Admin_Views::render_tab_cache()
S
54 1 24
Md4Ai\Md4Ai_Admin_Views::__construct()
S
64 1 16
Md4Ai\Md4Ai_Cache::clear_post_cache()
S
71 2 6
Md4Ai\Md4Ai_Cache::is_cache_valid()
S
65 2 9
Md4Ai\Md4Ai_Cache::read_from_cache()
S
69 2 7
Md4Ai\Md4Ai_Cache::clear_navigation_cache()
S
69 2 7
Md4Ai\Md4Ai_Utils::get_user_agent()
S
70 2 6
Md4Ai\Md4Ai_Utils::display_llmstxt_buttons()
S
64 2 9
Md4Ai\Md4Ai_Markdown::extract_header_footer_links()
S
62 1 12
md4ai_init()
S
81 1 3
Md4Ai\Md4Ai_Admin::add_admin_menu()
S
65 1 10
Md4Ai\Md4Ai_RestAPI::rest_generate_llmstxt()
S
71 1 6
Md4Ai\Md4Ai_Utils::is_woocommerce_active()
S
80 1 3
Md4Ai\Md4Ai_Admin::plugin_settings_link()
S
66 1 9
Md4Ai\Md4Ai_Cache::write_to_cache()
S
74 1 4
Md4Ai\Md4Ai_Core::add_llmstxt_query_var()
S
74 1 5
Md4Ai\Md4Ai_Core::add_llmstxt_rewrite()
S
79 1 3
Md4Ai\Md4Ai_RestAPI::rest_permission_check()
S
75 1 4
Md4Ai\Md4Ai_RestAPI::get_namespace()
S
82 1 3
Md4Ai\Md4Ai_Cache::get_cache_file_path()
S
79 1 3
Md4Ai\Md4Ai_Utils::get_llms_txt_content()
S
74 1 4
Md4Ai\Md4Ai_RestAPI::__construct()
S
75 1 4
Md4Ai\Md4Ai_Geo_Analyzer::__construct()
S
71 1 6
Md4Ai\Md4Ai_Utils::is_ai_service_enabled()
S
80 1 3
Md4Ai\Md4Ai_Core::setup_ai_useragents()
S
79 1 3
md4ai_uninstall()
S
64 1 10
Md4Ai\Md4Ai_Markdown::get_post_markdown()
S
63 1 10
Md4Ai\Md4Ai_Cache::__construct()
S
66 1 8
Md4Ai\Md4Ai_Admin::__construct()
S
66 1 8
Md4Ai\Md4Ai_Markdown::get_meta_key()
S
82 1 3
Md4Ai\Md4Ai_Admin_Views::get_tab_url()
S
78 1 3
Md4Ai\Md4Ai_Metabox::__construct()
S
69 1 6
Md4Ai\Md4Ai_Markdown::__construct()
S
81 1 3
Md4Ai\Md4Ai_RestAPI::admin_permission_check()
S
80 1 3
Md4Ai\Md4Ai_Core::__construct()
S
63 1 10