WPGraphQL 2.1.1

Does WPGraphQL work with WordPress 6.8 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 217.65 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 30,000+
WordPress.org page https://wordpress.org/plugins/wp-graphql/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=wp-graphql%2Fwp-graphql.php&plugin_status=all&paged=1&s&_wpnonce=46105d0ff1
Aspect after-activation
HTTP status 200
Load time 0.303 s
Memory usage 3.77 MiB
JS errors None
Resource errors None

GraphQL

Page screenshot: GraphQL
URL /wp-admin/admin.php?page=graphiql-ide
Aspect menu-item
HTTP status 200
Load time 0.932 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

GraphQL → Settings

Page screenshot: GraphQL → Settings
URL /wp-admin/admin.php?page=graphql-settings
Aspect menu-item
HTTP status 200
Load time 0.343 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

GraphQL → Extensions

Page screenshot: GraphQL → Extensions
URL /wp-admin/admin.php?page=wpgraphql-extensions
Aspect menu-item
HTTP status 200
Load time 0.517 s
Memory usage 3.72 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.232 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.318 s-0.026 s3.51 MiB3.72 MiB+ 222.66 KiB
/wp-admin/edit.php0.181 s0.329 s+0.148 s3.57 MiB3.81 MiB+ 248.94 KiB
/wp-admin/post-new.php0.707 s0.769 s+0.062 s6.06 MiB6.35 MiB+ 292.26 KiB
/wp-admin/upload.php0.543 s0.334 s-0.209 s3.52 MiB3.72 MiB+ 205.37 KiB
/wp-admin/options-writing.php0.201 s0.176 s-0.025 s3.5 MiB3.7 MiB+ 208.73 KiB
/wp-admin/media-new.php0.246 s0.233 s-0.013 s3.49 MiB3.7 MiB+ 216.94 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.249 s+0.059 s3.5 MiB3.72 MiB+ 222.84 KiB
/wp-admin/post-new.php?post_type=page0.555 s0.674 s+0.119 s6.05 MiB6.27 MiB+ 223.05 KiB
/wp-admin/options-discussion.php0.464 s0.288 s-0.176 s3.5 MiB3.7 MiB+ 205.23 KiB
/wp-admin/edit-comments.php0.230 s0.218 s-0.012 s3.52 MiB3.72 MiB+ 204.73 KiB
/0.274 s0.201 s-0.073 s3.43 MiB3.57 MiB+ 143.4 KiB
Average 0.358 s0.344 s-0.013 s3.97 MiB4.18 MiB+ 217.65 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.

PHP
Language % Lines of code Comment lines Files
PHP99.2%22,05613,849232
JavaScript0.4%85031
Markdown0.2%5505
CSS0.1%12010
SVG0.0%801
XML0.0%721
Total 22,223 13,851 280

PHP Code Analysis | More results »

Lines of code 22,097
Total complexity 4,077
Median class complexity 8.0
Median method complexity 2.0
Most complex class WPGraphQL\Model\Post
Most complex function WPGraphQL\Model\Post::init()
Classes 219
Methods 928
Functions 53

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

The log file is empty.

See also: All tests for this plugin, How to Hide WPGraphQL Admin Menus