Code Analysis: Google XML Sitemap Generator 1.2.7

Function Rating Maintainability Complexity Lines of code
GRIM_SG\Dashboard::save_settings()
B
41 21 44
GRIM_SG\Sitemap::add_posts()
A
45 11 38
GRIM_SG\Sitemap::add_categories()
A
43 9 49
GRIM_SG\GoogleNews::add_posts()
A
47 9 33
GRIM_SG\GoogleNews::add_categories()
A
44 8 48
GRIM_SG\Sitemap::add_authors()
S
50 5 30
GRIM_SG\Sitemap::add_archives()
S
54 5 22
GRIM_SG\Frontend::template_redirect()
S
56 5 18
ssg_parse_language()
S
61 6 10
GRIM_SG\Frontend::add_rewrite_rules()
S
57 4 16
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
58 2 17
GRIM_SG\Frontend::ping_sitemap()
S
63 3 9
GRIM_SG\Sitemap::generate_sitemap()
S
62 2 12
GRIM_SG\GoogleNews::generate_sitemap()
S
61 2 12
GRIM_SG\Sitemap::add_additional_pages()
S
63 2 11
GRIM_SG\GoogleNews::add_url()
S
62 2 11
GRIM_SG\GoogleNews::collect_urls()
S
73 2 6
GRIM_SG\GoogleNews::get_blog_language()
S
71 2 6
GRIM_SG\Sitemap::show_sitemap()
S
67 2 8
sgg_show_pro_overlay()
S
73 2 5
GRIM_SG\Dashboard::plugin_meta_links()
S
67 2 7
sgg_show_pro_badge()
S
73 2 5
ssg_wpml_post_language()
S
68 2 7
ssg_polylang_post_language()
S
71 2 6
GRIM_SG\Frontend::do_robots_link()
S
70 2 6
GRIM_SG\Sitemap::get_posts_priority_provider()
S
73 2 4
GRIM_SG\Sitemap::get_comments_count()
S
63 2 10
GRIM_SG\Sitemap::get_posts_count()
S
63 2 10
GRIM_SG\Frontend::__construct()
S
71 1 5
GRIM_SG\Frontend::register_query_vars()
S
71 1 6
sgg_pro_enabled()
S
81 1 3
grim_sg_activation()
S
81 1 3
grim_sg_deactivation()
S
81 1 3
GRIM_SG\Sitemap::add_url()
S
65 1 9
GRIM_SG\Frontend::activate_rewrite_rules()
S
73 1 5
GRIM_SG\Dashboard::admin_menu_pages()
S
66 1 9
GRIM_SG\Frontend::deactivate_plugin()
S
89 1 2
GRIM_SG\Dashboard::render_google_news_field()
S
65 1 10
GRIM_SG\Dashboard::render_frequency_field()
S
67 1 9
GRIM_SG\Frontend::activate_plugin()
S
74 1 5
GRIM_SG\Dashboard::render_post_row()
S
65 1 10
GRIM_SG\Dashboard::render_priority_field()
S
67 1 9
GRIM_SG\Dashboard::register_settings()
S
80 1 3
GRIM_SG\Dashboard::render()
S
77 1 3
GRIM_SG\Frontend::set_rewrite_hooks()
S
78 1 3
sgg_get_pro_url()
S
83 1 3
GRIM_SG\Sitemap::collect_urls()
S
69 1 8
GRIM_SG\Dashboard::__construct()
S
69 1 6