Does WP GraphQL work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .
8 | PHP deprecation warnings |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 138.3 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.
WordPress version | 6.1.1 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 30,000+ |
WordPress.org page | https://wordpress.org/plugins/wp-graphql/ |
Badges |
|
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=20fd248a40 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.258 s |
Memory usage | 3.16 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=graphiql-ide |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.673 s |
Memory usage | 3.1 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=graphql-settings |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.380 s |
Memory usage | 3.11 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.215 s |
Memory usage | 3.1 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.280 s | 0.248 s | -0.032 s | 3.05 MiB | 3.19 MiB | + 143.61 KiB |
/wp-admin/edit.php | 0.184 s | 0.172 s | -0.012 s | 3.07 MiB | 3.22 MiB | + 146.16 KiB |
/wp-admin/post-new.php | 0.759 s | 0.821 s | +0.062 s | 4.97 MiB | 5.11 MiB | + 151.8 KiB |
/wp-admin/upload.php | 0.523 s | 0.247 s | -0.276 s | 2.99 MiB | 3.11 MiB | + 126.17 KiB |
/wp-admin/options-writing.php | 0.137 s | 0.142 s | +0.005 s | 2.99 MiB | 3.1 MiB | + 113.49 KiB |
/wp-admin/media-new.php | 0.258 s | 0.210 s | -0.048 s | 2.97 MiB | 3.1 MiB | + 138.36 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.174 s | 0.173 s | -0.001 s | 2.98 MiB | 3.12 MiB | + 142.13 KiB |
/wp-admin/post-new.php?post_type=page | 0.620 s | 0.621 s | +0.001 s | 4.96 MiB | 5.1 MiB | + 142.66 KiB |
/wp-admin/options-discussion.php | 0.205 s | 0.188 s | -0.017 s | 2.97 MiB | 3.1 MiB | + 126.6 KiB |
/wp-admin/edit-comments.php | 0.179 s | 0.178 s | -0.001 s | 3 MiB | 3.12 MiB | + 124.07 KiB |
/ | 0.275 s | 0.170 s | -0.105 s | 2.94 MiB | 3.11 MiB | + 166.24 KiB |
Average | 0.327 s | 0.288 s | -0.039 s | 3.35 MiB | 3.49 MiB | + 138.3 KiB |
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.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
PHP | 92.1% | 18,853 | 12,155 | 217 | |
CSS | 7.2% | 1,474 | 40 | 4 | |
JavaScript | 0.5% | 96 | 0 | 7 | |
XML | 0.3% | 52 | 25 | 1 | |
YAML | 0.0% | 5 | 0 | 1 | |
JSON | 0.0% | 1 | 0 | 1 | |
Total | 20,481 | 12,220 | 231 |
Lines of code | 18,865 |
---|---|
Total complexity | 3,514 |
Median class complexity | 8.0 |
Median method complexity | 2.0 |
Most complex class | WPGraphQL\Model\Post |
Most complex function | WPGraphQL\Model\Post::init() |
Classes | 207 |
---|---|
Methods | 800 |
Functions | 42 |
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.
wp_options
2[09-Dec-2022 17:14:57 UTC] PHP Deprecated: Return type of GraphQL\Type\Definition\Type::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Type/Definition/Type.php on line 311
[09-Dec-2022 17:14:57 UTC] PHP Deprecated: Return type of GraphQL\Language\SourceLocation::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Language/SourceLocation.php on line 49
[09-Dec-2022 17:14:57 UTC] PHP Deprecated: Return type of GraphQL\Language\AST\NodeList::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Language/AST/NodeList.php on line 72
[09-Dec-2022 17:14:57 UTC] PHP Deprecated: Return type of GraphQL\Utils\MixedStore::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Utils/MixedStore.php on line 93
[09-Dec-2022 17:14:57 UTC] PHP Deprecated: Return type of GraphQL\Utils\MixedStore::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Utils/MixedStore.php on line 138
[09-Dec-2022 17:14:57 UTC] PHP Deprecated: Return type of GraphQL\Utils\MixedStore::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Utils/MixedStore.php on line 187
[09-Dec-2022 17:14:57 UTC] PHP Deprecated: Return type of GraphQL\Utils\MixedStore::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Utils/MixedStore.php on line 223
[09-Dec-2022 17:14:58 UTC] PHP Deprecated: Return type of GraphQL\Executor\ExecutionResult::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-graphql/vendor/webonyx/graphql-php/src/Executor/ExecutionResult.php on line 118