Code Analysis: Google XML Sitemaps Generator 1.8.6

Function Rating Maintainability Complexity Lines of code
GRIM_SG\Dashboard::save_settings()
D
24
57 128
GRIM_SG\MediaSitemap::collect_urls()
B
41 18 53
GRIM_SG\Frontend::add_rewrite_rules()
A
40 11 56
GRIM_SG\Sitemap::add_posts()
A
44 12 40
GRIM_SG\VideoSitemap::add_urls()
A
46 11 36
GRIM_SG\Frontend::template_redirect()
A
50 11 26
GRIM_SG\GoogleNews::add_posts()
A
46 10 37
GRIM_SG\IndexNow::handle_response()
A
47 9 37
GRIM_SG\Sitemap::add_categories()
A
44 8 46
sgg_add_foogallery_image_urls()
A
52 9 24
GRIM_SG\PostSettings::save_meta_box()
A
57 9 15
GRIM_SG\Notices::init_notices()
S
56 7 16
GRIM_SG\Sitemap::get_sitemap_title()
S
55 6 21
GRIM_SG\Tools::run_tools_actions()
S
54 6 20
GRIM_SG\Frontend::do_robots_link()
S
56 6 18
GRIM_SG\Sitemap::add_authors()
S
49 5 31
sgg_exclude_noindex_terms()
S
60 6 13
GRIM_SG\Sitemap::add_archives()
S
53 5 23
GRIM_SG\ImportExport::import_settings()
S
54 5 21
GRIM_SG\Sitemap::get_sitemap_table()
S
55 5 20
GRIM_SG\VideoSitemap::is_youtube_url()
S
63 6 10
sgg_parse_language()
S
61 6 10
sgg_get_home_url()
S
58 5 13
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
sgg_exclude_noindex_posts()
S
63 5 10
GRIM_SG\Sitemap::show_sitemap()
S
62 4 11
GRIM_SG\ImportExport::export_settings()
S
57 3 16
GRIM_SG\Notices::disable_notice()
S
61 4 10
GRIM_SG\Sitemap::add_additional_pages()
S
59 3 15
GRIM_SG\IndexNow::get_api_key()
S
63 4 10
GRIM_SG\Sitemap::add_home()
S
60 3 14
GRIM_SG\IndexNow::set_api_key()
S
61 3 13
sgg_serve_indexnow_api_key()
S
61 3 12
GRIM_SG\Dashboard::plugin_action_links()
S
53 2 24
GRIM_SG\Dashboard::render_settings_page()
S
53 2 24
GRIM_SG\PostSettings::register_plugin_sidebar_block()
S
56 2 20
GRIM_SG\Sitemap::generate_sitemap_xsl()
S
58 2 16
sgg_is_sitemap_index()
S
68 3 6
sgg_get_sitemap_url()
S
66 3 8
GRIM_SG\PostSettings::add_meta_box()
S
60 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
GRIM_SG\VideoSitemap::filter_value()
S
70 3 5
GRIM_SG\Cache::maybe_clear()
S
68 3 7
sgg_wpml_post_language()
S
61 2 14
GRIM_SG\PostSettings::register_post_meta()
S
54 1 29
GRIM_SG\Sitemap::add_url()
S
60 2 13
GRIM_SG\Notices::pro_notice()
S
56 1 21
GRIM_SG\Notices::rate_notice()
S
57 1 21
GRIM_SG\IndexNow::request()
S
57 1 19
sgg_show_pro_badge()
S
73 2 5
GRIM_SG\Sitemap::get_comments_count()
S
63 2 10
sgg_polylang_post_language()
S
71 2 6
sgg_show_pro_overlay()
S
72 2 5
sgg_pro_class()
S
80 2 3
GRIM_SG\Dashboard::render()
S
67 2 7
GRIM_SG\GoogleNews::add_url()
S
64 2 10
GRIM_SG\Frontend::reset_rewrite_rules()
S
71 2 6
GRIM_SG\GoogleNews::get_blog_language()
S
71 2 6
GRIM_SG\Sitemap::get_posts_count()
S
63 2 10
GRIM_SG\Cache::get_time_formatted()
S
69 2 6
GRIM_SG\Dashboard::plugin_meta_links()
S
66 2 7
GRIM_SG\Sitemap::get_posts_priority_provider()
S
73 2 4
GRIM_SG\Cache::clear()
S
73 2 5
GRIM_SG\IndexNow::delete_api_key()
S
70 2 7
GRIM_SG\Dashboard::render_content_field()
S
64 1 11
GRIM_SG\Notices::enqueue_scripts()
S
63 1 11
GRIM_SG\PostSettings::meta_box_render()
S
70 1 7
GRIM_SG\MediaSitemap::urlsCallback()
S
82 1 3
GRIM_SG\ImageSitemap::add_urls()
S
72 1 6
GRIM_SG\IndexNow::ping_url()
S
76 1 4
GRIM_SG\Frontend::__construct()
S
69 1 6
GRIM_SG\ImageSitemap::filter_value()
S
69 1 6
GRIM_SG\Frontend::register_query_vars()
S
65 1 10
GRIM_SG\VideoSitemap::extraSitemapHeader()
S
80 1 3
GRIM_SG\Sitemap::__construct()
S
80 1 3
GRIM_SG\GoogleNews::extraSitemapHeader()
S
80 1 3
GRIM_SG\Cache::get_expiration()
S
77 1 3
GRIM_SG\IndexNow::__construct()
S
78 1 4
GRIM_SG\Frontend::activate_plugin()
S
74 1 5
grim_sg_deactivation()
S
77 1 4
grim_sg_activation()
S
70 1 6
GRIM_SG\Dashboard::__construct()
S
69 1 6
GRIM_SG\Dashboard::admin_menu_pages()
S
66 1 9
GRIM_SG\Cache::set()
S
71 1 5
GRIM_SG\ImageSitemap::get_post_media()
S
78 1 3
GRIM_SG\MediaSitemap::filter_value()
S
100 1 0
GRIM_SG\Cache::get()
S
79 1 3
sgg_get_review_url()
S
80 1 3
GRIM_SG\GoogleNews::urlsCallback()
S
82 1 3
GRIM_SG\Cache::delete()
S
75 1 4
GRIM_SG\Sitemap::extraSitemapHeader()
S
82 1 3
GRIM_SG\GoogleNews::is_older_than_48h()
S
70 1 6
GRIM_SG\Dashboard::register_settings()
S
80 1 3
GRIM_SG\Dashboard::render_frequency_field()
S
67 1 9
GRIM_SG\Dashboard::render_priority_field()
S
67 1 9
GRIM_SG\IndexNow::remove_url_scheme()
S
79 1 3
GRIM_SG\Frontend::set_rewrite_hooks()
S
78 1 3
GRIM_SG\Notices::__construct()
S
75 1 4
sgg_get_pro_url()
S
80 1 3
GRIM_SG\Frontend::activate_rewrite_rules()
S
73 1 5
GRIM_SG\IndexNow::get_api_key_location()
S
79 1 3
GRIM_SG\IndexNow::ping_site_url()
S
80 1 3
GRIM_SG\ImportExport::__construct()
S
79 1 3
GRIM_SG\GoogleNews::collect_urls()
S
82 1 3
sgg_pro_enabled()
S
81 1 3
GRIM_SG\MediaSitemap::add_urls()
S
100 1 0
GRIM_SG\Sitemap::urlsCallback()
S
82 1 3
GRIM_SG\Tools::__construct()
S
75 1 4
GRIM_SG\Tools::add_admin_notice()
S
79 1 3
GRIM_SG\MediaSitemap::get_post_media()
S
78 1 3
GRIM_SG\Cache::get_time()
S
78 1 3
GRIM_SG\Dashboard::render_post_row()
S
65 1 10
GRIM_SG\Cache::__construct()
S
81 1 3
sgg_get_support_url()
S
83 1 3
GRIM_SG\Sitemap::collect_urls()
S
69 1 8
GRIM_SG\ImageSitemap::extraSitemapHeader()
S
80 1 3
GRIM_SG\PostSettings::__construct()
S
67 1 7
GRIM_SG\IndexNow::set_site_url()
S
80 1 3