Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼10.45ms] Passed 4 tests
Server-side resources used by WP Smart SEO
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 41.60 ▲1.78 |
Dashboard /wp-admin | 3.39 ▲0.04 | 45.19 ▼13.42 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 43.76 ▼6.32 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 80.64 ▼23.84 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.31 ▲1.90 |
WP Smart SEO /wp-admin/options-general.php?page=QWA_seomae | 3.28 | 30.83 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WP Smart SEO
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲39 | 14.14 ▼0.24 | 1.73 ▼0.18 | 44.39 ▲2.39 |
Dashboard /wp-admin | 2,203 ▲29 | 5.59 ▲0.05 | 81.02 ▼8.71 | 39.16 ▼1.17 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.97 ▼0.02 | 34.05 ▼5.05 | 34.68 ▼3.03 |
Add New Post /wp-admin/post-new.php | 6,435 ▲4,909 | 19.01 ▼4.03 | 878.26 ▲248.43 | 75.53 ▲27.97 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.20 ▼0.03 | 93.72 ▼9.09 | 41.55 ▼2.36 |
WP Smart SEO /wp-admin/options-general.php?page=QWA_seomae | 979 | 1.99 | 21.80 | 26.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- 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
The smoke test was a success, however most plugin functionality was not tested
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
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-smart-seo/meta_box_category.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-smart-seo/meta_box_fields.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-smart-seo/_wpsmartseo_wpseo.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-smart-seo/meta_box.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-smart-seo/error_field.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-smart-seo/_wpsmartseo_text.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function get_category() in wp-content/plugins/wp-smart-seo/_wpsmartseo_category.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-smart-seo/add_to_head.php:5
- > PHP Fatal error
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, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: A description for screenshot #1 is required in wp-smart-seo/assets to your readme.txt
wp-smart-seo/wp-smart-seo.php Passed 13 tests
"WP Smart SEO" version 1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
40 characters long description:
WP Smart SEO WP Smart SEO Administration
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
Good job! No executable or dangerous file extensions detected1,621 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 358 | 168 | 841 |
PO File | 5 | 280 | 291 | 730 |
CSS | 1 | 19 | 14 | 50 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin