Code Analysis: Google XML Sitemaps Generator 2.0.5

Function Rating Maintainability Complexity Lines of code
GRIM_SG\Dashboard::save_settings()
D
25
31 153
GRIM_SG\MediaSitemap::collect_urls()
B
36 22 74
GRIM_SG\Sitemap::add_posts()
B
35 17 82
GRIM_SG\GoogleNews::add_posts()
B
36 17 78
GRIM_SG\Frontend::add_rewrite_rules()
B
39 17 60
GRIM_SG\Frontend::template_redirect()
A
46 15 33
GRIM_SG\VideoSitemap::add_urls()
A
45 14 39
GRIM_SG\Sitemap::add_categories()
A
39 11 66
GRIM_SG\Sitemap::multilingual_sql()
A
44 12 40
GRIM_SG\Sitemap::collect_urls()
A
45 11 43
GRIM_SG\IndexNow::handle_response()
A
47 9 37
sgg_add_foogallery_image_urls()
A
52 9 24
sgg_get_home_url()
A
53 9 19
GRIM_SG\PostSettings::save_meta_box()
A
57 9 15
GRIM_SG\Sitemap::add_authors()
A
45 7 45
GRIM_SG\Sitemap::add_archives()
S
50 7 27
GRIM_SG\Sitemap::get_sitemap_title()
S
53 7 24
GRIM_SG\Notices::init_notices()
S
56 7 16
GRIM_SG\Sitemap::add_additional_pages()
S
51 6 30
sgg_exclude_noindex_terms()
S
58 7 15
GRIM_SG\Sitemap::add_not_translatable_posts()
S
58 7 14
sgg_exclude_noindex_posts()
S
60 7 12
GRIM_SG\Sitemap::get_sitemap_table()
S
54 6 23
GRIM_SG\Tools::run_tools_actions()
S
54 6 20
GRIM_SG\Frontend::do_robots_link()
S
56 6 18
GRIM_SG\MultilingualSitemap::collect_urls()
S
56 6 18
GRIM_SG\Sitemap::add_post_urls()
S
55 6 17
GRIM_SG\Wizard::maybe_redirect_to_wizard()
S
62 6 11
GRIM_SG\ImportExport::import_settings()
S
54 5 21
GRIM_SG\Sitemap::add_category_urls()
S
54 5 19
GRIM_SG\Cache::get_multilingual_sitemap_name()
S
57 5 17
sgg_parse_language()
S
61 6 10
GRIM_SG\VideoSitemap::is_youtube_url()
S
63 6 10
GRIM_SG\Sitemap::add_author_urls()
S
52 4 26
GRIM_SG\Sitemap::generate_sitemap()
S
53 4 23
sgg_get_languages()
S
56 4 17
GRIM_SG\PostSettings::allow_edit_post_meta()
S
66 5 7
GRIM_SG\Sitemap::show_sitemap()
S
61 4 11
GRIM_SG\Wizard::save_wizard_settings()
S
52 3 23
GRIM_SG\ImportExport::export_settings()
S
57 3 16
GRIM_SG\Notices::disable_notice()
S
61 4 10
GRIM_SG\IndexNow::get_api_key()
S
63 4 10
GRIM_SG\VideoSitemap::filter_value()
S
70 4 5
GRIM_SG\MultilingualSitemap::show_sitemap()
S
59 3 15
GRIM_SG\Sitemap::add_home()
S
60 3 14
GRIM_SG\Cache::set()
S
60 3 13
GRIM_SG\IndexNow::set_api_key()
S
61 3 13
GRIM_SG\Cache::get()
S
62 3 12
sgg_serve_indexnow_api_key()
S
61 3 12
GRIM_SG\Dashboard::render_settings_page()
S
53 2 24
GRIM_SG\Wizard::render_wizard_page()
S
53 2 23
GRIM_SG\PostSettings::register_plugin_sidebar_block()
S
56 2 20
GRIM_SG\Dashboard::plugin_action_links()
S
57 2 17
GRIM_SG\Sitemap::generate_sitemap_xsl()
S
58 2 16
sgg_is_multilingual()
S
73 3 5
GRIM_SG\PostSettings::add_meta_box()
S
60 2 15
GRIM_SG\Cache::maybe_clear()
S
68 3 7
sgg_init()
S
59 2 15
GRIM_SG\Sitemap::get_post_settings()
S
68 3 6
GRIM_SG\Sitemap::get_taxonomy_settings()
S
68 3 6
GRIM_SG\Tools::transition_post_status()
S
70 3 6
sgg_is_sitemap_index()
S
68 3 6
sgg_get_sitemap_url()
S
68 3 7
GRIM_SG\PostSettings::register_post_meta()
S
54 1 29
sgg_wpml_post_language()
S
61 2 14
GRIM_SG\Sitemap::add_url()
S
60 2 13
GRIM_SG\Notices::rate_notice()
S
57 1 21
GRIM_SG\Notices::pro_notice()
S
56 1 21
GRIM_SG\IndexNow::request()
S
57 1 19
GRIM_SG\Sitemap::get_posts_priority_provider()
S
73 2 4
GRIM_SG\VideoSitemap::is_vimeo_url()
S
71 2 6
GRIM_SG\GoogleNews::get_blog_language()
S
71 2 6
sgg_pro_class()
S
80 2 3
sgg_polylang_post_language()
S
71 2 6
GRIM_SG\Frontend::reset_rewrite_rules()
S
71 2 6
GRIM_SG\IndexNow::delete_api_key()
S
70 2 7
GRIM_SG\Sitemap::get_comments_count()
S
63 2 10
GRIM_SG\Sitemap::get_posts_count()
S
63 2 10
GRIM_SG\Cache::clear()
S
73 2 5
GRIM_SG\Cache::get_time_formatted()
S
69 2 6
GRIM_SG\GoogleNews::add_url()
S
64 2 10
GRIM_SG\Dashboard::render()
S
67 2 7
GRIM_SG\Dashboard::plugin_meta_links()
S
66 2 7
sgg_show_pro_badge()
S
73 2 5
sgg_is_nginx()
S
76 2 3
sgg_show_pro_overlay()
S
72 2 5
GRIM_SG\Frontend::register_query_vars()
S
63 1 12
GRIM_SG\Dashboard::render_content_field()
S
64 1 11
GRIM_SG\Notices::enqueue_scripts()
S
63 1 11
GRIM_SG\IndexNow::ping_url()
S
76 1 4
GRIM_SG\GoogleNews::urlsCallback()
S
82 1 3
GRIM_SG\Dashboard::register_settings()
S
80 1 3
GRIM_SG\Frontend::activate_rewrite_rules()
S
73 1 5
GRIM_SG\Notices::__construct()
S
75 1 4
GRIM_SG\IndexNow::__construct()
S
78 1 4
GRIM_SG\Sitemap::urlsCallback()
S
82 1 3
sgg_is_using_mod_rewrite()
S
77 1 4
sgg_get_pro_url()
S
80 1 3
GRIM_SG\Dashboard::render_frequency_field()
S
67 1 9
GRIM_SG\ImageSitemap::filter_value()
S
69 1 6
GRIM_SG\IndexNow::get_api_key_location()
S
79 1 3
GRIM_SG\Sitemap::__construct()
S
80 1 3
GRIM_SG\Dashboard::render_post_row()
S
65 1 10
GRIM_SG\MediaSitemap::filter_value()
S
100 1 0
GRIM_SG\ImageSitemap::get_post_media()
S
78 1 3
GRIM_SG\Cache::__construct()
S
72 1 5
GRIM_SG\ImageSitemap::extraSitemapHeader()
S
80 1 3
GRIM_SG\Frontend::__construct()
S
67 1 7
GRIM_SG\MediaSitemap::urlsCallback()
S
82 1 3
GRIM_SG\IndexNow::set_site_url()
S
80 1 3
GRIM_SG\PostSettings::meta_box_render()
S
70 1 7
GRIM_SG\Dashboard::admin_menu_pages()
S
66 1 9
GRIM_SG\Cache::get_expiration()
S
77 1 3
sgg_deactivation()
S
77 1 4
GRIM_SG\Cache::delete()
S
75 1 4
GRIM_SG\GoogleNews::collect_urls()
S
82 1 3
GRIM_SG\ImageSitemap::add_urls()
S
72 1 6
GRIM_SG\Wizard::add_admin_menu()
S
65 1 10
GRIM_SG\Sitemap::extraSitemapHeader()
S
82 1 3
GRIM_SG\MediaSitemap::add_urls()
S
100 1 0
GRIM_SG\GoogleNews::extraSitemapHeader()
S
80 1 3
GRIM_SG\IndexNow::ping_site_url()
S
80 1 3
GRIM_SG\Frontend::set_rewrite_hooks()
S
78 1 3
GRIM_SG\Wizard::get_wizard_page_slug()
S
80 1 3
GRIM_SG\ImportExport::__construct()
S
79 1 3
sgg_get_support_url()
S
83 1 3
GRIM_SG\MediaSitemap::get_post_media()
S
78 1 3
sgg_activation()
S
68 1 7
GRIM_SG\Tools::__construct()
S
75 1 4
GRIM_SG\GoogleNews::is_older_than_48h()
S
71 1 5
GRIM_SG\Frontend::activate_plugin()
S
74 1 5
GRIM_SG\IndexNow::remove_url_scheme()
S
79 1 3
GRIM_SG\Cache::get_time()
S
78 1 3
GRIM_SG\VideoSitemap::extraSitemapHeader()
S
80 1 3
GRIM_SG\Wizard::__construct()
S
72 1 5
GRIM_SG\Dashboard::__construct()
S
69 1 6
sgg_pro_enabled()
S
81 1 3
GRIM_SG\Dashboard::render_priority_field()
S
67 1 9
sgg_get_review_url()
S
80 1 3
GRIM_SG\Tools::add_admin_notice()
S
79 1 3
GRIM_SG\PostSettings::__construct()
S
67 1 7