Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.93ms] Passed 4 tests
An overview of server-side resources used by OrderStorm eCommerce Custom Files Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.45 ▼4.17 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.44 ▼6.11 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.93 ▼9.90 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.78 ▼19.53 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.44 ▼0.32 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for OrderStorm eCommerce Custom Files Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.72 ▲0.36 | 1.84 ▲0.11 | 40.79 ▼0.88 |
Dashboard /wp-admin | 2,195 ▲18 | 5.64 ▼0.03 | 90.81 ▼1.82 | 40.43 ▼0.10 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▼0.01 | 34.99 ▼4.05 | 34.40 ▼3.48 |
Add New Post /wp-admin/post-new.php | 1,526 ▼8 | 23.69 ▲5.40 | 709.44 ▲68.95 | 64.57 ▼4.59 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▲0.05 | 102.23 ▼5.69 | 43.24 ▼0.99 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function orderstorm_ecommerce() in wp-content/plugins/orderstorm-wordpress-e-commerce-custom/templates/category_page.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function orderstorm_ecommerce() in wp-content/plugins/orderstorm-wordpress-e-commerce-custom/templates/render_product_details_custom_1.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function orderstorm_ecommerce() in wp-content/plugins/orderstorm-wordpress-e-commerce-custom/templates/render_product_details.php:22
- > 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 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid URI ("www.orderstorm.com/wordpress-e-commerce-sign-up/ecommerce-wordpress-plugin-pricing/")
orderstorm-wordpress-e-commerce-custom/orderstorm-ecommerce-custom.php 85% from 13 tests
The main PHP file in "OrderStorm eCommerce Custom Files Manager" ver. 1.0.14 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("orderstorm-wordpress-e-commerce-custom.php" instead of "orderstorm-ecommerce-custom.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 216 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,361 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 200 | 56 | 1,189 |
PHP | 4 | 22 | 61 | 764 |
HTML | 8 | 1 | 19 | 408 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.71 |
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 | 0 | |
▷ Named functions | 0 | 0.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
11 PNG files occupy 0.03MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/menu_bottom_blue.png | 3.89KB | 0.25KB | ▼ 93.45% |
images/menu_top_blue.png | 3.89KB | 0.26KB | ▼ 93.34% |
images/menu_top.png | 2.98KB | 0.62KB | ▼ 79.33% |
images/bullet.png | 2.83KB | 0.13KB | ▼ 95.37% |
images/menu_center.png | 2.86KB | 0.27KB | ▼ 90.43% |