Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲4.39MB] [CPU: ▲28.91ms] 75% from 4 tests
Server-side resources used by SEOPress - On-site SEO
Please take the time to fix the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 1,139.96ms on /wp-admin/admin.php?page=seopress-option)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.42 ▲3.95 | 76.00 ▲37.14 |
Dashboard /wp-admin | 7.80 ▲4.45 | 84.16 ▲22.28 |
Posts /wp-admin/edit.php | 8.25 ▲4.90 | 88.52 ▲42.81 |
Add New Post /wp-admin/post-new.php | 10.63 ▲4.74 | 119.00 ▲21.33 |
Media Library /wp-admin/upload.php | 7.64 ▲4.41 | 65.31 ▲34.87 |
Analytics /wp-admin/admin.php?page=seopress-google-analytics | 7.63 | 62.26 |
Social Networks /wp-admin/admin.php?page=seopress-social | 7.65 | 63.85 |
Advanced /wp-admin/admin.php?page=seopress-advanced | 7.63 | 64.42 |
Tools /wp-admin/admin.php?page=seopress-import-export | 7.65 | 61.06 |
XML - HTML Sitemap /wp-admin/admin.php?page=seopress-xml-sitemap | 7.63 | 61.94 |
Instant Indexing /wp-admin/admin.php?page=seopress-instant-indexing | 8.27 | 65.82 |
Titles & Metas /wp-admin/admin.php?page=seopress-titles | 7.63 | 65.25 |
Dashboard /wp-admin/admin.php?page=seopress-option | 8.80 | 1,139.96 |
Server storage [IO: ▲7.41MB] [DB: ▲0.08MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 1,196 new files
Database: no new tables, 13 new options
New WordPress options |
---|
seopress_activated |
widget_recent-comments |
seopress_toggle |
theysaidso_admin_options |
db_upgraded |
seopress_titles_option_name |
widget_theysaidso_widget |
seopress_instant_indexing_option_name |
seopress_xml_sitemap_option_name |
seopress_advanced_option_name |
... |
Browser metrics Passed 4 tests
Checking browser requirements for SEOPress - On-site SEO
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,982 ▲235 | 14.38 ▲0.02 | 1.86 ▲0.18 | 43.92 ▲0.19 |
Dashboard /wp-admin | 2,313 ▲133 | 5.66 ▼0.02 | 95.63 ▲3.85 | 43.49 ▼6.17 |
Posts /wp-admin/edit.php | 2,469 ▲372 | 2.05 ▲0.09 | 38.77 ▲1.22 | 39.60 ▲6.44 |
Add New Post /wp-admin/post-new.php | 3,442 ▲1,912 | 19.74 ▼3.39 | 706.52 ▲67.96 | 132.01 ▲76.01 |
Media Library /wp-admin/upload.php | 1,515 ▲115 | 4.21 ▲0.03 | 101.74 ▲3.52 | 40.91 ▲0.42 |
Analytics /wp-admin/admin.php?page=seopress-google-analytics | 4,657 | 4.55 | 141.72 | 55.85 |
Social Networks /wp-admin/admin.php?page=seopress-social | 2,391 | 3.48 | 54.28 | 95.37 |
Advanced /wp-admin/admin.php?page=seopress-advanced | 2,969 | 2.05 | 41.87 | 49.22 |
Tools /wp-admin/admin.php?page=seopress-import-export | 2,541 | 1.95 | 29.83 | 42.44 |
XML - HTML Sitemap /wp-admin/admin.php?page=seopress-xml-sitemap | 2,050 | 1.86 | 29.55 | 47.96 |
Instant Indexing /wp-admin/admin.php?page=seopress-instant-indexing | 1,846 | 1.91 | 33.41 | 48.93 |
Titles & Metas /wp-admin/admin.php?page=seopress-titles | 5,109 | 2.29 | 36.07 | 58.85 |
Dashboard /wp-admin/admin.php?page=seopress-option | 2,457 | 2.34 | 29.96 | 63.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 12 options in the database
- seopress_titles_option_name
- widget_recent-comments
- can_compress_scripts
- seopress_xml_sitemap_option_name
- theysaidso_admin_options
- seopress_advanced_option_name
- seopress_instant_indexing_option_name
- widget_recent-posts
- seopress_toggle
- seopress_social_option_name
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 141× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/wp-seopress/inc/admin/sections/InstantIndexing.php
- > /wp-content/plugins/wp-seopress/inc/functions/sitemap/template-html-sitemap.php
- > /wp-content/plugins/wp-seopress/src/Services/ContentAnalysis/GetContent/LinkNoFollow.php
- > /wp-content/plugins/wp-seopress/inc/admin/metaboxes/admin-metaboxes-content-analysis-form.php
- > /wp-content/plugins/wp-seopress/inc/functions/sitemap/template-xml-sitemaps-xsl.php
- > /wp-content/plugins/wp-seopress/src/Services/ContentAnalysis/GetContent/Schema.php
- > /wp-content/plugins/wp-seopress/src/Services/Options/DashboardOption.php
- > /wp-content/plugins/wp-seopress/seopress.php
- > /wp-content/plugins/wp-seopress/src/Services/Options/ToggleOption.php
- > /wp-content/plugins/wp-seopress/inc/functions/options-sitemap.php
- 367× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/wp-seopress/vendor/guzzlehttp/psr7/src/LimitStream.php:12
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Math\\Common\\FiniteField' not found in wp-content/plugins/wp-seopress/vendor/phpseclib/phpseclib/phpseclib/Math/BinaryField.php:26
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Handler\\HandlerInterface' not found in wp-content/plugins/wp-seopress/vendor/monolog/monolog/src/Monolog/Handler/HandlerWrapper.php:34
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\Common\\Formats\\Keys\\PKCS8' not found in wp-content/plugins/wp-seopress/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/PKCS8.php:32
- > PHP Warning
Class 'Google\\AuthHandler\\Guzzle6AuthHandler' not found in wp-content/plugins/wp-seopress/vendor/google/apiclient/src/aliases.php on line 33
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/wp-seopress/vendor/matthiasmullie/path-converter/src/Converter.php:19
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\EC\\BaseCurves\\Binary' not found in wp-content/plugins/wp-seopress/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect409k1.php:19
- > PHP Warning
Class 'Google\\Http\\MediaFileUpload' not found in wp-content/plugins/wp-seopress/vendor/google/apiclient/src/aliases.php on line 33
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\Common\\Formats\\Keys\\PKCS1' not found in wp-content/plugins/wp-seopress/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/PKCS1.php:36
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\EC\\BaseCurves\\TwistedEdwards' not found in wp-content/plugins/wp-seopress/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/Ed448.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Requires at least: Invalid plugin version format
- Tags: You are using too many tags: 12 tag instead of maximum 10
wp-seopress/seopress.php 92% from 13 tests
The main PHP file in "SEOPress - On-site SEO" ver. 7.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-seopress.php" instead of "seopress.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin109,457 lines of code in 1,148 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 992 | 19,304 | 43,946 | 92,059 |
Markdown | 35 | 2,136 | 0 | 5,827 |
CSS | 16 | 910 | 37 | 5,537 |
JavaScript | 43 | 416 | 134 | 3,369 |
JSON | 27 | 0 | 0 | 2,483 |
XML | 3 | 2 | 0 | 135 |
SVG | 31 | 0 | 0 | 44 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 104)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 12.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 679.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 104.00 |
Code structure | ||
---|---|---|
Namespaces | 133 | |
Interfaces | 60 | |
Traits | 17 | |
Classes | 814 | |
▷ Abstract classes | 233 | 28.62% |
▷ Concrete classes | 581 | 71.38% |
▷ Final classes | 66 | 11.36% |
Methods | 4,202 | |
▷ Static methods | 795 | 18.92% |
▷ Public methods | 3,214 | 76.49% |
▷ Protected methods | 486 | 11.57% |
▷ Private methods | 502 | 11.95% |
Functions | 745 | |
▷ Named functions | 544 | 73.02% |
▷ Anonymous functions | 201 | 26.98% |
Constants | 634 | |
▷ Global constants | 22 | 3.47% |
▷ Class constants | 612 | 96.53% |
▷ Public constants | 574 | 93.79% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin