XML Sitemap Generator for Google 4.1.21

Does "XML Sitemap Generator for Google" work with WordPress 6.8 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 35.42 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.8
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000,000+
WordPress.org page https://wordpress.org/plugins/google-sitemap-generator/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=google-sitemap-generator%2Fsitemap.php&plugin_status=all&paged=1&s&_wpnonce=fff32033cd
Aspect after-activation
HTTP status 200
Load time 0.326 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Settings → XML-Sitemap

Page screenshot: Settings → XML-Sitemap
URL /wp-admin/options-general.php?page=google-sitemap-generator%2Fsitemap.php
Requested URL /wp-admin/options-general.php?page=google-sitemap-generator/sitemap.php
Aspect menu-item
HTTP status 200
Load time 0.614 s
Memory usage 6.24 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.188 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.473 s0.301 s-0.172 s3.51 MiB3.56 MiB+ 53.98 KiB
/wp-admin/edit.php0.208 s0.194 s-0.014 s3.57 MiB3.61 MiB+ 41.64 KiB
/wp-admin/post-new.php0.828 s0.656 s-0.172 s6.06 MiB6.1 MiB+ 44 KiB
/wp-admin/upload.php0.770 s0.524 s-0.246 s3.52 MiB3.55 MiB+ 22.2 KiB
/wp-admin/options-writing.php0.230 s0.218 s-0.012 s3.5 MiB3.53 MiB+ 26.2 KiB
/wp-admin/media-new.php0.288 s0.255 s-0.033 s3.49 MiB3.53 MiB+ 34.39 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.215 s+0.014 s3.5 MiB3.55 MiB+ 45.06 KiB
/wp-admin/post-new.php?post_type=page0.750 s0.640 s-0.110 s6.05 MiB6.09 MiB+ 39.52 KiB
/wp-admin/options-discussion.php0.449 s0.276 s-0.173 s3.5 MiB3.52 MiB+ 22.7 KiB
/wp-admin/edit-comments.php0.252 s0.210 s-0.042 s3.52 MiB3.54 MiB+ 22.2 KiB
/0.316 s0.412 s+0.096 s3.43 MiB3.47 MiB+ 37.71 KiB
Average 0.433 s0.355 s-0.079 s3.97 MiB4 MiB+ 35.42 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PO File
PHP
Language % Lines of code Comment lines Files
PO File63.6%10,1276,89229
PHP34.9%5,5521,97010
XSLT1.0%15301
JavaScript0.6%9231
Total 15,924 8,865 41

PHP Code Analysis | More results »

Lines of code 5,569
Total complexity 1,162
Median class complexity 21.0
Median method complexity 2.0
Most complex class GoogleSitemapGenerator
Most complex function GoogleSitemapGeneratorUI::html_show_options_page()
Classes 13
Methods 216
Functions 12

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 4

PHP Error Log 1 lines

[15-Apr-2025 16:51:57 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/google-sitemap-generator/sitemap.php on line 443
See also: All tests for this plugin, How to Hide the "XML-Sitemap" Admin Menu