Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- Install procedure had errors
- > Parse error in wp-content/plugins/flexy-seo/vendors/wps-framework/Query.class.php+214
syntax error, unexpected '=>' (T_DOUBLE_ARROW)
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.59ms] Passed 4 tests
An overview of server-side resources used by Flexy SEO
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 33.28 ▼6.69 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.73 ▼18.88 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.03 ▼0.57 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.74 ▼8.22 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.06 ▲2.43 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 107 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Flexy SEO
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.29 ▼0.03 | 1.74 ▼0.05 | 38.98 ▼4.10 |
Dashboard /wp-admin | 2,195 ▲18 | 5.60 ▼0.05 | 93.88 ▼5.31 | 41.38 ▲0.50 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 2.01 ▲0.05 | 39.49 ▲0.79 | 34.33 ▲0.97 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.78 ▲0.65 | 623.47 ▼63.19 | 57.95 ▼3.70 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.23 ▼0.05 | 95.44 ▼10.96 | 41.53 ▼1.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 items
- 40× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'FlexySEO\\Engine\\Generators\\Schema\\Graphs\\Article' not found in wp-content/plugins/flexy-seo/modules/seo/seo_engine/generators/schema/graph/NewsArticle.php:16
- > PHP Fatal error
Uncaught Error: Class 'FlexySEO\\Engine\\Generators\\Schema\\Graphs\\Graph' not found in wp-content/plugins/flexy-seo/modules/seo/seo_engine/generators/schema/graph/WebSite.php:16
- > PHP Warning
Use of undefined constant WPFS_SEO_ENGINE - assumed 'WPFS_SEO_ENGINE' (this will throw an Error in a future version of PHP) in wp-content/plugins/flexy-seo/modules/seo/seo_engine/loader.php on line 13
- > PHP Fatal error
Uncaught Error: Class 'FlexySEO\\Engine\\Default_Generator' not found in wp-content/plugins/flexy-seo/modules/seo/seo_engine/generators/template/E404-generator.php:13
- > PHP Parse error
syntax error, unexpected '=>' (T_DOUBLE_ARROW) in wp-content/plugins/flexy-seo/vendors/wps-framework/Query.class.php on line 214
- > PHP Warning
Use of undefined constant WPS_FRAMEWORK - assumed 'WPS_FRAMEWORK' (this will throw an Error in a future version of PHP) in wp-content/plugins/flexy-seo/vendors/wps-framework/functions/autoload.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'FlexySEO\\Engine\\Generators\\Schema\\Graphs\\WebPage' not found in wp-content/plugins/flexy-seo/modules/seo/seo_engine/generators/schema/graph/CollectionPage.php:17
- > PHP Fatal error
Uncaught Error: Class 'FlexySEO\\Engine\\Default_Generator' not found in wp-content/plugins/flexy-seo/modules/seo/seo_engine/generators/template/home-generator.php:13
- > PHP Fatal error
Uncaught Error: Class 'WPS\\core\\UtilEnv' not found in wp-content/plugins/flexy-seo/admin/upgrades/1.4.0.php:10
- > PHP Fatal error
Uncaught Error: Class 'FlexySEO\\Engine\\Default_Generator' not found in wp-content/plugins/flexy-seo/modules/seo/seo_engine/generators/template/date-archive-generator.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: serp, seo, ranking, content analysis, schema...
flexy-seo/flexy-seo.php 92% from 13 tests
The principal PHP file in "Flexy SEO" v. 1.9.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin13,298 lines of code in 101 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 93 | 3,351 | 2,306 | 11,364 |
CSS | 5 | 161 | 18 | 975 |
JavaScript | 2 | 276 | 57 | 946 |
XML | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 24.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 152.00 |
Average method complexity | 3.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 72 | |
▷ Abstract classes | 1 | 1.39% |
▷ Concrete classes | 71 | 98.61% |
▷ Final classes | 0 | 0.00% |
Methods | 712 | |
▷ Static methods | 156 | 21.91% |
▷ Public methods | 569 | 79.92% |
▷ Protected methods | 22 | 3.09% |
▷ Private methods | 121 | 16.99% |
Functions | 83 | |
▷ Named functions | 66 | 79.52% |
▷ Anonymous functions | 17 | 20.48% |
Constants | 23 | |
▷ Global constants | 3 | 13.04% |
▷ Class constants | 20 | 86.96% |
▷ Public constants | 20 | 100.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
PNG images were not found in this plugin