XML Sitemap Generator for Google 4.1.21

Does "XML Sitemap Generator for Google" work with WordPress 6.8.1 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: 34.92 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.1
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=9f895f45c7
Aspect after-activation
HTTP status 200
Load time 0.372 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.558 s
Memory usage 6.25 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.198 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.333 s0.363 s+0.030 s3.51 MiB3.56 MiB+ 53.48 KiB
/wp-admin/edit.php0.202 s0.195 s-0.007 s3.57 MiB3.61 MiB+ 41.14 KiB
/wp-admin/post-new.php0.781 s0.649 s-0.132 s6.06 MiB6.1 MiB+ 43.5 KiB
/wp-admin/upload.php0.598 s0.551 s-0.047 s3.52 MiB3.55 MiB+ 21.7 KiB
/wp-admin/options-writing.php0.219 s0.207 s-0.012 s3.5 MiB3.53 MiB+ 25.7 KiB
/wp-admin/media-new.php0.270 s0.243 s-0.027 s3.49 MiB3.53 MiB+ 33.89 KiB
/wp-admin/edit-tags.php?taxonomy=category0.257 s0.229 s-0.028 s3.5 MiB3.55 MiB+ 44.56 KiB
/wp-admin/post-new.php?post_type=page0.607 s0.570 s-0.037 s6.05 MiB6.09 MiB+ 39.02 KiB
/wp-admin/options-discussion.php0.269 s0.300 s+0.031 s3.5 MiB3.53 MiB+ 22.2 KiB
/wp-admin/edit-comments.php0.429 s0.205 s-0.224 s3.52 MiB3.54 MiB+ 21.7 KiB
/0.305 s0.396 s+0.091 s3.43 MiB3.47 MiB+ 37.21 KiB
Average 0.388 s0.355 s-0.033 s3.97 MiB4 MiB+ 34.92 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

[30-Apr-2025 17:58:13 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