Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- This plugin did not install gracefully
- > User error in wp-content/plugins/shopp-seo/sseo.php+147
Shopp is not installed or active. Shopp SEO will not function until Shopp is installed and activated.WordPress SEO by Yoast is not installed or active. Shopp SEO will not function until WordPress SEO by Yoast is installed and activated.
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.04ms] Passed 4 tests
An overview of server-side resources used by Shopp SEO
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.93 ▼4.14 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.77 ▼5.94 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 46.46 ▼4.77 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 97.00 ▲6.70 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.26 ▲7.31 |
Shopp SEO /wp-admin/options-general.php?page=shopp-seo | 3.27 | 31.91 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Shopp SEO
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲78 | 13.27 ▼1.16 | 1.61 ▼0.14 | 38.56 ▼13.44 |
Dashboard /wp-admin | 2,219 ▲34 | 4.88 ▲0.03 | 108.48 ▼8.23 | 43.97 ▲1.36 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.02 ▲0.01 | 40.65 ▲2.46 | 36.38 ▲2.49 |
Add New Post /wp-admin/post-new.php | 1,531 ▲17 | 23.42 ▲5.94 | 669.77 ▼39.01 | 57.85 ▼5.54 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.34 ▲0.11 | 100.96 ▼5.43 | 41.33 ▼2.85 |
Shopp SEO /wp-admin/options-general.php?page=shopp-seo | 1,389 | 1.73 | 27.78 | 30.40 |
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
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=shopp-seo
- > Notice in wp-content/plugins/shopp-seo/sseo_admin.php+102
Undefined variable: mode
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/shopp-seo/sseo.php:71
- > PHP Fatal error
Uncaught Error: Class 'shopp_seo_mhs' not found in wp-content/plugins/shopp-seo/sseo_admin.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
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
3 plugin tags: shopp, wordpress seo, seo
shopp-seo/sseo.php 92% from 13 tests
The principal PHP file in "Shopp SEO" v. 1.1.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("shopp-seo.php" instead of "sseo.php")
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 plugin344 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 45 | 119 | 304 |
JavaScript | 1 | 4 | 0 | 40 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/seoe_icon.png | 40.00KB | 19.12KB | ▼ 52.20% |