Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲9.58MB] [CPU: ▲71.51ms] 50% from 4 tests
Server-side resources used by Yoast SEO
Please take the time to fix the following items
- RAM: The total memory usage must be kept under 10MB (currently 12.69MB on /wp-admin/admin.php?page=wpseo_installation_successful_free)
- Extra RAM: Try to keep extra memory usage under 5MB (currently 9.58MB on /wp-admin/admin.php?page=wpseo_installation_successful_free)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 12.61 ▲9.14 | 107.90 ▲63.40 |
Dashboard /wp-admin | 12.69 ▲9.38 | 116.38 ▲60.15 |
Posts /wp-admin/edit.php | 13.75 ▲10.38 | 146.99 ▲90.94 |
Add New Post /wp-admin/post-new.php | 17.78 ▲11.88 | 197.32 ▲97.44 |
Media Library /wp-admin/upload.php | 12.64 ▲9.40 | 107.13 ▲71.55 |
Redirects /wp-admin/admin.php?page=wpseo_redirects | 12.70 | 99.85 |
/wp-admin/admin.php?page=wpseo_configurator | 12.08 | 81.13 |
Support /wp-admin/admin.php?page=wpseo_page_support | 12.68 | 114.66 |
Integrations /wp-admin/admin.php?page=wpseo_integrations | 12.70 | 102.98 |
Settings /wp-admin/admin.php?page=wpseo_page_settings | 12.79 | 108.17 |
Premium /wp-admin/admin.php?page=wpseo_licenses | 12.81 | 97.05 |
General /wp-admin/admin.php?page=wpseo_dashboard | 13.10 | 115.41 |
Workouts /wp-admin/admin.php?page=wpseo_workouts | 12.72 | 102.67 |
Academy /wp-admin/admin.php?page=wpseo_page_academy | 12.70 | 100.06 |
/wp-admin/admin.php?page=wpseo_installation_successful_free | 12.69 | 110.05 |
Server storage [IO: ▲12.93MB] [DB: ▲0.03MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 1,286 new files
Database: 5 new tables, 10 new options
New tables |
---|
wp_yoast_indexable_hierarchy |
wp_yoast_seo_links |
wp_yoast_migrations |
wp_yoast_primary_term |
wp_yoast_indexable |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
wpseo |
theysaidso_admin_options |
can_compress_scripts |
wpseo_social |
wpseo_titles |
yoast_migrations_free |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Yoast SEO
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,688 ▲926 | 18.45 ▲3.69 | 1.80 ▲0.06 | 27.64 ▼13.18 |
Dashboard /wp-admin | 2,975 ▲795 | 9.32 ▲3.66 | 174.21 ▲81.01 | 110.66 ▲67.55 |
Posts /wp-admin/edit.php | 2,606 ▲506 | 2.38 ▲0.38 | 43.98 ▲2.73 | 61.26 ▲24.30 |
Add New Post /wp-admin/post-new.php | 2,422 ▲896 | 26.92 ▲3.84 | 1,015.40 ▲365.58 | 91.43 ▲39.65 |
Media Library /wp-admin/upload.php | 1,690 ▲290 | 4.17 ▲0.03 | 95.34 ▼1.46 | 42.02 ▼0.74 |
Redirects /wp-admin/admin.php?page=wpseo_redirects | 1,526 | 11.34 | 226.51 | 109.88 |
/wp-admin/admin.php?page=wpseo_configurator | 2,232 | 16.13 | 255.88 | 105.06 |
Support /wp-admin/admin.php?page=wpseo_page_support | 1,383 | 8.45 | 96.31 | 61.14 |
Integrations /wp-admin/admin.php?page=wpseo_integrations | 1,899 | 13.59 | 183.26 | 135.59 |
Settings /wp-admin/admin.php?page=wpseo_page_settings | 1,698 | 12.11 | 259.06 | 51.28 |
Premium /wp-admin/admin.php?page=wpseo_licenses | 1,854 | 11.65 | 113.56 | 77.60 |
General /wp-admin/admin.php?page=wpseo_dashboard | 2,230 | 16.02 | 198.38 | 79.60 |
Workouts /wp-admin/admin.php?page=wpseo_workouts | 1,584 | 13.88 | 166.10 | 97.98 |
Academy /wp-admin/admin.php?page=wpseo_page_academy | 1,502 | 10.04 | 110.77 | 36.31 |
/wp-admin/admin.php?page=wpseo_installation_successful_free | 1,270 | 11.80 | 125.71 | 36.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie tables detected upon uninstall: 5 tables
- wp_yoast_seo_links
- wp_yoast_migrations
- wp_yoast_indexable_hierarchy
- wp_yoast_primary_term
- wp_yoast_indexable
- The uninstall procedure has failed, leaving 10 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- wpseo_titles
- wpseo
- wpseo_social
- yoast_migrations_free
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 600× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Yoast\\WP\\SEO\\Conditionals\\Conditional' not found in wp-content/plugins/wordpress-seo/src/conditionals/semrush-enabled-conditional.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Yoast\\WP\\SEO\\Integrations\\Integration_Interface' not found in wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-permalink-watcher.php:18
- > PHP Fatal error
Uncaught Error: Class 'Yoast\\WP\\SEO\\Presentations\\Indexable_Presentation' not found in wp-content/plugins/wordpress-seo/src/presentations/indexable-post-type-archive-presentation.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Yoast\\WP\\SEO\\Integrations\\Integration_Interface' not found in wp-content/plugins/wordpress-seo/src/integrations/front-end/robots-txt-integration.php:15
- > PHP Fatal error
Uncaught Error: Interface 'YoastSEO_Vendor\\Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/wordpress-seo/vendor_prefixed/psr/http-message/src/ServerRequestInterface.php:43
- > PHP Fatal error
Uncaught Error: Class 'Yoast\\WP\\SEO\\Actions\\Importing\\Abstract_Aioseo_Importing_Action' not found in wp-content/plugins/wordpress-seo/src/actions/importing/deactivate-conflicting-plugins-action.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Yoast\\WP\\SEO\\Conditionals\\Conditional' not found in wp-content/plugins/wordpress-seo/src/conditionals/admin/licenses-page-conditional.php:10
- > PHP Fatal error
Uncaught Error: Interface 'WPSEO_Metabox_Tab' not found in wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-form-tab.php:11
- > PHP Fatal error
Uncaught Error: Interface 'WPSEO_Admin_Asset_Location' not found in wp-content/plugins/wordpress-seo/admin/class-admin-asset-dev-server-location.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Yoast\\WP\\SEO\\Integrations\\Integration_Interface' not found in wp-content/plugins/wordpress-seo/src/integrations/front-end/crawl-cleanup-rss.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add a description for screenshot #9 in wordpress-seo/assets to your readme.txt
wordpress-seo/wp-seo.php 85% from 13 tests
"Yoast SEO" version 21.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wordpress-seo.php" instead of "wp-seo.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin76,590 lines of code in 1,236 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,034 | 16,655 | 57,945 | 71,830 |
JavaScript | 89 | 204 | 544 | 4,240 |
SVG | 51 | 0 | 1 | 246 |
XSLT | 1 | 0 | 0 | 145 |
CSS | 59 | 0 | 0 | 61 |
XML | 1 | 0 | 0 | 44 |
Markdown | 1 | 3 | 0 | 24 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 2,655)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 11.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,655.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 117 | |
Interfaces | 73 | |
Traits | 20 | |
Classes | 891 | |
▷ Abstract classes | 33 | 3.70% |
▷ Concrete classes | 858 | 96.30% |
▷ Final classes | 46 | 5.36% |
Methods | 6,131 | |
▷ Static methods | 663 | 10.81% |
▷ Public methods | 4,139 | 67.51% |
▷ Protected methods | 1,322 | 21.56% |
▷ Private methods | 670 | 10.93% |
Functions | 223 | |
▷ Named functions | 63 | 28.25% |
▷ Anonymous functions | 160 | 71.75% |
Constants | 397 | |
▷ Global constants | 15 | 3.78% |
▷ Class constants | 382 | 96.22% |
▷ Public constants | 371 | 97.12% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
38 compressed PNG files occupy 0.46MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/twitter_card.png | 15.76KB | 17.79KB | 0.00% |
images/academy/wp_for_beginners.png | 10.37KB | 11.41KB | 0.00% |
images/indexnow.png | 13.29KB | 15.23KB | 0.00% |
images/support/support_forums.png | 16.22KB | 18.36KB | 0.00% |
images/academy/understanding_structured_data.png | 4.13KB | 4.63KB | 0.00% |