Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.47MB] [CPU: ▼10.61ms] Passed 4 tests
Analyzing server-side resources used by Store Toolkit for WooCommerce – Boost WooCommerce with useful tools, nuking/deleting, reports, order filters & more!
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 40.19 ▼7.23 |
Dashboard /wp-admin | 4.39 ▲1.05 | 51.52 ▼6.24 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 33.98 ▼15.63 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.60 | 83.33 ▼13.34 |
Media Library /wp-admin/upload.php | 3.83 ▲0.60 | 38.03 ▲1.58 |
Server storage [IO: ▲1.48MB] [DB: ▲0.04MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 74 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
woo_st_secret_key |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
recovery_mode_email_last_sent |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Store Toolkit for WooCommerce – Boost WooCommerce with useful tools, nuking/deleting, reports, order filters & more!
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲147 | 14.41 ▼0.15 | 1.71 ▼0.13 | 37.36 ▼8.27 |
Dashboard /wp-admin | 2,317 ▲137 | 5.68 ▲0.02 | 91.78 ▼2.69 | 40.04 ▼0.78 |
Posts /wp-admin/edit.php | 45 ▼2,055 | 0.42 ▼1.54 | 0.09 ▼35.50 | 11.20 ▼23.86 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 18.13 ▼4.93 | 588.75 ▼101.67 | 63.95 ▼5.25 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.24 ▼0.06 | 97.52 ▼6.31 | 40.83 ▼4.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 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 does not fully uninstall, leaving 7 options in the database
- db_upgraded
- recovery_mode_email_last_sent
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/woocommerce-store-toolkit/templates/admin/product_data.php
- 42× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woocommerce-store-toolkit/templates/admin/brand_data.php:2
- > PHP Notice
Undefined variable: post_meta in wp-content/plugins/woocommerce-store-toolkit/templates/admin/scheduled_export_data.php on line 1
- > PHP Warning
include_once(): Failed opening 'WOO_ST_PATHincludes/admin/meta_box.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/woocommerce-store-toolkit/includes/admin/meta_box.php on line 5
- > PHP Warning
include_once(WOO_ST_PATHincludes/admin/meta_box.php): failed to open stream: No such file or directory in wp-content/plugins/woocommerce-store-toolkit/includes/admin/meta_box.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woocommerce-store-toolkit/templates/admin/product_vendor_data.php:2
- > PHP Notice
Undefined variable: post_meta in wp-content/plugins/woocommerce-store-toolkit/templates/admin/membership_plan_data.php on line 1
- > PHP Warning
include_once(): Failed opening 'WOO_ST_PATHincludes/admin/meta_box.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/woocommerce-store-toolkit/includes/admin.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woocommerce-store-toolkit/templates/admin/order_item_data.php:85
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/woocommerce-store-toolkit/templates/admin/order_related_orders.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/woocommerce-store-toolkit/templates/admin/tabs.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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #4, #5 in woocommerce-store-toolkit/assets to your readme.txt
woocommerce-store-toolkit/store-toolkit.php 85% from 13 tests
The main PHP file in "Store Toolkit for WooCommerce – Boost WooCommerce with useful tools, nuking/deleting, reports, order filters & more!" ver. 2.3.10 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.2" instead of "2.3")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woocommerce-store-toolkit.php" instead of "store-toolkit.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin7,785 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 42 | 1,124 | 382 | 5,483 |
JavaScript | 2 | 217 | 291 | 1,819 |
CSS | 3 | 39 | 49 | 415 |
PO File | 1 | 17 | 17 | 46 |
XML | 1 | 6 | 8 | 22 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 103 | |
▷ Named functions | 103 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
13 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/admin/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
templates/admin/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
templates/admin/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
templates/admin/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
templates/admin/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |