Code Analysis: Google XML Sitemaps Generator 1.5.5

Function Rating Maintainability Complexity Lines of code
GRIM_SG\Dashboard::save_settings()
D
27
51 106
GRIM_SG\MediaSitemap::collect_urls()
B
41 18 53
GRIM_SG\Sitemap::add_categories()
A
42 11 55
GRIM_SG\GoogleNews::add_categories()
A
42 10 54
GRIM_SG\Sitemap::add_posts()
A
45 11 38
GRIM_SG\VideoSitemap::add_urls()
A
46 11 36
GRIM_SG\GoogleNews::add_posts()
A
47 9 33
GRIM_SG\Frontend::template_redirect()
A
53 9 22
GRIM_SG\Tools::run_tools_actions()
S
54 7 19
GRIM_SG\Frontend::add_rewrite_rules()
S
52 6 24
GRIM_SG\Sitemap::add_authors()
S
50 5 30
GRIM_SG\Tools::transition_post_status()
S
61 6 11
GRIM_SG\Sitemap::add_archives()
S
54 5 22
GRIM_SG\VideoSitemap::is_youtube_url()
S
63 6 10
sgg_parse_language()
S
61 6 10
GRIM_SG\Sitemap::generate_sitemap()
S
53 4 23
GRIM_SG\Tools::ping_sitemap()
S
59 4 15
GRIM_SG\Sitemap::add_home()
S
60 4 13
GRIM_SG\Dashboard::render_settings_page()
S
53 2 24
GRIM_SG\Dashboard::plugin_action_links()
S
53 2 24
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\Sitemap::add_additional_pages()
S
63 2 11
GRIM_SG\GoogleNews::add_url()
S
64 2 10
GRIM_SG\GoogleNews::get_blog_language()
S
71 2 6
sgg_show_pro_badge()
S
73 2 5
GRIM_SG\Dashboard::plugin_meta_links()
S
67 2 7
GRIM_SG\Cache::get_time_formatted()
S
69 2 6
GRIM_SG\Cache::clear()
S
73 2 5
GRIM_SG\Sitemap::show_sitemap()
S
67 2 8
GRIM_SG\Frontend::do_robots_link()
S
68 2 7
GRIM_SG\Sitemap::get_comments_count()
S
63 2 10
sgg_xsl_template_path()
S
77 2 3
sgg_show_pro_overlay()
S
73 2 5
sgg_polylang_post_language()
S
71 2 6
sgg_exclude_yoast_noindex_posts()
S
70 2 6
sgg_xsl_template_url()
S
73 2 4
sgg_pro_class()
S
80 2 3
GRIM_SG\Sitemap::get_posts_priority_provider()
S
73 2 4
GRIM_SG\Sitemap::get_posts_count()
S
63 2 10
GRIM_SG\GoogleNews::collect_urls()
S
73 2 6
GRIM_SG\Tools::ping_google_news()
S
68 2 7
GRIM_SG\Dashboard::render_content_field()
S
64 1 11
GRIM_SG\Sitemap::urlsCallback()
S
82 1 3
GRIM_SG\MediaSitemap::add_urls()
S
100 1 0
GRIM_SG\MediaSitemap::filter_value()
S
100 1 0
GRIM_SG\Tools::add_admin_notice()
S
79 1 3
GRIM_SG\Sitemap::extraSitemapHeader()
S
82 1 3
GRIM_SG\Dashboard::__construct()
S
69 1 6
grim_sg_activation()
S
81 1 3
GRIM_SG\Cache::__construct()
S
81 1 3
GRIM_SG\ImageSitemap::get_post_media()
S
78 1 3
GRIM_SG\Cache::get_time()
S
78 1 3
GRIM_SG\GoogleNews::is_older_than_48h()
S
70 1 6
grim_sg_deactivation()
S
81 1 3
GRIM_SG\VideoSitemap::extraSitemapHeader()
S
82 1 3
GRIM_SG\Dashboard::register_settings()
S
80 1 3
sgg_pro_enabled()
S
81 1 3
GRIM_SG\Tools::__construct()
S
72 1 5
GRIM_SG\Cache::get()
S
79 1 3
GRIM_SG\Frontend::register_query_vars()
S
68 1 8
GRIM_SG\ImageSitemap::extraSitemapHeader()
S
82 1 3
GRIM_SG\Frontend::activate_rewrite_rules()
S
73 1 5
GRIM_SG\Dashboard::render_priority_field()
S
67 1 9
GRIM_SG\Sitemap::collect_urls()
S
69 1 8
GRIM_SG\Frontend::__construct()
S
71 1 5
GRIM_SG\GoogleNews::extraSitemapHeader()
S
82 1 3
GRIM_SG\Cache::set()
S
71 1 5
GRIM_SG\Frontend::deactivate_plugin()
S
89 1 2
GRIM_SG\ImageSitemap::add_urls()
S
72 1 6
GRIM_SG\Cache::delete()
S
75 1 4
GRIM_SG\MediaSitemap::urlsCallback()
S
82 1 3
GRIM_SG\MediaSitemap::get_post_media()
S
78 1 3
GRIM_SG\Sitemap::add_url()
S
66 1 8
GRIM_SG\Dashboard::render()
S
77 1 3
GRIM_SG\Cache::get_expiration()
S
77 1 3
GRIM_SG\Dashboard::admin_menu_pages()
S
66 1 9
sgg_get_pro_url()
S
83 1 3
GRIM_SG\GoogleNews::urlsCallback()
S
82 1 3
GRIM_SG\Dashboard::render_frequency_field()
S
67 1 9
GRIM_SG\Dashboard::render_post_row()
S
65 1 10
GRIM_SG\Frontend::set_rewrite_hooks()
S
78 1 3
GRIM_SG\ImageSitemap::filter_value()
S
71 1 5
GRIM_SG\Frontend::activate_plugin()
S
74 1 5