Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.09ms] Passed 4 tests
An overview of server-side resources used by WPGraphQL Yoast SEO Addon
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.20 ▼6.49 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.40 ▼0.40 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.89 ▼4.09 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 79.65 ▼25.39 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 33.23 ▲0.02 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WPGraphQL Yoast SEO Addon
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲109 | 13.14 ▼1.07 | 1.98 ▼0.47 | 47.43 ▼1.58 |
Dashboard /wp-admin | 2,228 ▲49 | 5.90 ▲0.95 | 107.08 ▲3.01 | 41.59 ▲0.32 |
Posts /wp-admin/edit.php | 2,108 ▲16 | 2.02 ▼0.00 | 39.41 ▲0.30 | 35.84 ▲0.05 |
Add New Post /wp-admin/post-new.php | 1,549 ▲16 | 23.13 ▼0.45 | 629.70 ▼122.98 | 60.40 ▲8.95 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.23 ▲0.06 | 94.46 ▼7.17 | 41.24 ▼3.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: yoast, graphql, decoupled wordpress, seo, wpgraphql...
add-wpgraphql-seo/wp-graphql-yoast-seo.php 77% from 13 tests
This is the main PHP file of "WPGraphQL Yoast SEO Addon" version 4.22.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("add-wpgraphql-seo.php" instead of "wp-graphql-yoast-seo.php")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,631 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 99 | 37 | 935 |
Markdown | 2 | 222 | 0 | 594 |
JSON | 3 | 0 | 0 | 54 |
SVG | 1 | 0 | 0 | 24 |
XML | 1 | 5 | 3 | 21 |
Bourne Shell | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 10 | 40.00% |
▷ Anonymous functions | 15 | 60.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.27MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
.wordpress-org/banner-1544x500.png | 134.71KB | 39.93KB | ▼ 70.36% |
.wordpress-org/icon-128x128.png | 15.24KB | 5.72KB | ▼ 62.46% |
.wordpress-org/banner-772x250.png | 63.66KB | 19.20KB | ▼ 69.84% |
banner.png | 33.33KB | 35.95KB | 0.00% |
.wordpress-org/icon-256x256.png | 28.82KB | 9.51KB | ▼ 67.00% |