Google XML Sitemaps 4.1.2

Does Google XML Sitemaps work with WordPress 6.0 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP warnings
12PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 13.77 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.0
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=f9c9db06f7
Aspect after-activation
HTTP status 200
Load time 0.338 s
Memory usage 3.71 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.534 s
Memory usage 5.93 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.269 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.390 s0.288 s-0.102 s3.72 MiB3.74 MiB+ 24.41 KiB
/wp-admin/edit.php0.198 s0.207 s+0.009 s3.75 MiB3.77 MiB+ 19.41 KiB
/wp-admin/post-new.php0.998 s1.270 s+0.272 s5.53 MiB5.56 MiB+ 27.45 KiB
/wp-admin/upload.php0.464 s0.418 s-0.046 s3.68 MiB3.7 MiB+ 17.95 KiB
/wp-admin/options-writing.php0.285 s0.152 s-0.133 s3.61 MiB3.61 MiB- 1.73 KiB
/wp-admin/media-new.php0.426 s0.210 s-0.216 s3.66 MiB3.68 MiB+ 18.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.190 s-0.009 s3.68 MiB3.7 MiB+ 19.03 KiB
/wp-admin/post-new.php?post_type=page0.935 s0.959 s+0.024 s5.53 MiB5.55 MiB+ 19.03 KiB
/wp-admin/options-discussion.php0.245 s0.335 s+0.090 s3.59 MiB3.61 MiB+ 18.44 KiB
/wp-admin/edit-comments.php0.221 s0.232 s+0.011 s3.69 MiB3.71 MiB+ 17.94 KiB
/0.284 s0.222 s-0.062 s3.6 MiB3.57 MiB- 28.57 KiB
Average 0.422 s0.408 s-0.015 s4 MiB4.02 MiB+ 13.77 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 File64.0%10,1276,89229
PHP34.5%5,4552,22911
XSLT0.9%14701
JavaScript0.6%9231
Total 15,821 9,124 42

PHP Code Analysis | More results »

Lines of code 5,598
Total complexity 1,174
Median class complexity 21.0
Median method complexity 2.0
Most complex class GoogleSitemapGenerator
Most complex function GoogleSitemapGeneratorUI::html_show_options_page()
Classes 15
Methods 248
Functions 4

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 2

PHP Error Log 14 lines

[25-May-2022 04:56:43 UTC] PHP Notice:  Trying to get property 'cap' of non-object in /wp-admin/includes/template.php on line 118
[25-May-2022 04:56:43 UTC] PHP Notice:  Trying to get property 'assign_terms' of non-object in /wp-admin/includes/template.php on line 118
[25-May-2022 04:56:43 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-admin/includes/template.php on line 174
[25-May-2022 04:56:43 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-admin/includes/template.php on line 174
[25-May-2022 04:56:43 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-admin/includes/template.php on line 174
[25-May-2022 04:56:43 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-includes/class-wp-walker.php on line 138
[25-May-2022 04:56:43 UTC] PHP Warning:  array_map(): Expected parameter 2 to be an array, object given in /wp-admin/includes/class-walker-category-checklist.php on line 89
[25-May-2022 04:56:43 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-admin/includes/class-walker-category-checklist.php on line 91
[25-May-2022 04:56:43 UTC] PHP Warning:  in_array() expects parameter 2 to be array, null given in /wp-admin/includes/class-walker-category-checklist.php on line 91
[25-May-2022 04:56:43 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-admin/includes/class-walker-category-checklist.php on line 110
[25-May-2022 04:56:43 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-admin/includes/class-walker-category-checklist.php on line 113
[25-May-2022 04:56:43 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-admin/includes/class-walker-category-checklist.php on line 114
[25-May-2022 04:56:43 UTC] PHP Notice:  Trying to get property 'term_id' of non-object in /wp-admin/includes/class-walker-category-checklist.php on line 114
[25-May-2022 04:56:43 UTC] PHP Notice:  Trying to get property 'name' of non-object in /wp-admin/includes/class-walker-category-checklist.php on line 118
See also: All tests for this plugin, How to Hide the "XML-Sitemap" Admin Menu