Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/wp-e-commerce-store-toolkit/includes/functions.php+690
Trying to access array offset on value of type null
Server metrics [RAM: ▲0.26MB] [CPU: ▼0.32ms] Passed 4 tests
Server-side resources used by WP e-Commerce - Store Toolkit
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.32 | 45.40 ▲1.52 |
Dashboard /wp-admin | 4.37 ▲0.81 | 63.30 ▲12.37 |
Posts /wp-admin/edit.php | 3.92 ▲0.24 | 53.02 ▼3.82 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.24 | 93.77 ▼9.87 |
Media Library /wp-admin/upload.php | 3.73 ▲0.24 | 52.79 ▲10.89 |
Server storage [IO: ▲0.24MB] [DB: ▲0.05MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 65 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
_demo_store_text |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
_demo_store |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP e-Commerce - Store Toolkit
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲120 | 14.25 ▼0.14 | 1.75 ▼0.15 | 42.25 ▼5.80 |
Dashboard /wp-admin | 2,312 ▲135 | 5.64 ▼0.03 | 88.69 ▼9.73 | 41.25 ▲0.57 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.04 ▲0.00 | 38.56 ▼4.93 | 33.41 ▼0.82 |
Add New Post /wp-admin/post-new.php | 1,527 ▼18 | 17.68 ▼5.64 | 668.71 ▼66.11 | 54.40 ▼6.05 |
Media Library /wp-admin/upload.php | 1,405 ▲8 | 4.15 ▼0.09 | 109.54 ▲3.60 | 51.33 ▲4.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- db_upgraded
- can_compress_scripts
- _demo_store_text
- widget_recent-comments
- widget_recent-posts
- _demo_store
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
- 26× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-e-commerce-store-toolkit/templates/admin/wpsc-admin_st_costprice_38.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-e-commerce-store-toolkit/includes/common.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-e-commerce-store-toolkit/templates/admin/wpsc-admin_st-store_status.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-e-commerce-store-toolkit/includes/common-dashboard_widgets.php:19
- > PHP Notice
Undefined variable: wp_plugins in wp-content/plugins/wp-e-commerce-store-toolkit/templates/admin/wpsc-admin_dashboard_vm-plugins.php on line 3
- > PHP Notice
Undefined variable: post_meta in wp-content/plugins/wp-e-commerce-store-toolkit/templates/admin/wpsc-admin_st-products_data.php on line 1
- > PHP Notice
Undefined variable: mime_types in wp-content/plugins/wp-e-commerce-store-toolkit/templates/admin/wpsc-admin_st-file_downloads.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-e-commerce-store-toolkit/templates/admin/tabs-demo.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-e-commerce-store-toolkit/includes/template.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-e-commerce-store-toolkit/templates/admin/tabs-nuke.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: nuke, delete store, store toolkit, e-commerce, mod...
wp-e-commerce-store-toolkit/store-toolkit.php 85% from 13 tests
The primary PHP file in "WP e-Commerce - Store Toolkit" version 2.0.4 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 153 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("wp-e-commerce-store-toolkit.php" instead of "store-toolkit.php")
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 plugin4,177 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 744 | 157 | 3,253 |
JavaScript | 3 | 7 | 22 | 493 |
CSS | 6 | 14 | 9 | 431 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 107 | |
▷ Named functions | 107 | 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
PNG files should be compressed to save space and minimize bandwidth usage
23 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/admin/images/custom_rgb_g.png | 1.04KB | 0.80KB | ▼ 23.67% |
templates/admin/images/custom_hsb_h.png | 0.95KB | 0.73KB | ▼ 23.40% |
templates/admin/images/colorpicker_hsb_b.png | 0.95KB | 0.76KB | ▼ 19.48% |
templates/admin/images/custom_submit.png | 0.97KB | 0.99KB | 0.00% |
templates/admin/images/colorpicker_overlay.png | 10.11KB | 8.24KB | ▼ 18.50% |