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.16MB] [CPU: ▼5.74ms] Passed 4 tests
Server-side resources used by Spreadsheet Price Changer for WooCommerce and WP E-commerce - Light
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 36.16 ▼1.74 |
Dashboard /wp-admin | 3.47 ▲0.16 | 43.96 ▼1.57 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 43.66 ▼5.17 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 81.06 ▼14.48 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.84 ▲1.23 |
Settings /wp-admin/admin.php?page=excellikepricechangeforwoocommerceandwpecommercelight-settings | 3.38 | 34.61 |
Excel-Like Price Manager /wp-admin/admin.php?page=excellikepricechangeforwoocommerceandwpecommercelight-root | 3.36 | 32.80 |
Server storage [IO: ▲1.50MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Spreadsheet Price Changer for WooCommerce and WP E-commerce - Light
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲80 | 14.28 ▼0.31 | 1.95 ▲0.48 | 37.82 ▼2.15 |
Dashboard /wp-admin | 2,225 ▲44 | 5.50 ▼0.15 | 84.31 ▼14.59 | 39.41 ▼5.19 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.99 ▼0.05 | 32.78 ▼2.35 | 33.46 ▼8.75 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.60 ▲0.74 | 661.86 ▲5.12 | 53.15 ▼4.40 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.17 ▲0.07 | 93.53 ▼22.62 | 43.79 ▼4.12 |
Settings /wp-admin/admin.php?page=excellikepricechangeforwoocommerceandwpecommercelight-settings | 1,057 | 2.04 | 25.34 | 32.71 |
Excel-Like Price Manager /wp-admin/admin.php?page=excellikepricechangeforwoocommerceandwpecommercelight-root | 785 | 1.99 | 22.25 | 20.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined variable: elpm_shop_com in wp-content/plugins/excel-like-price-change-for-woocommerce-and-wp-e-commerce-light/lib/settings_panel.php on line 21
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/excel-like-price-change-for-woocommerce-and-wp-e-commerce-light/lib/settings_panel.php:23
- > PHP Notice
Undefined variable: elpm_shop_com in wp-content/plugins/excel-like-price-change-for-woocommerce-and-wp-e-commerce-light/lib/settings_panel.php on line 3
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=excellikepricechangeforwoocommerceandwpecommercelight-settings
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=excellikepricechangeforwoocommerceandwpecommercelight-settings 208:56 Uncaught TypeError: Cannot read properties of undefined (reading 'autocomplete')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: There are too many tags (19 tag instead of maximum 10)
excel-like-price-change-for-woocommerce-and-wp-e-commerce-light/excel-like-price-change-for-woocommerce-and-wp-e-commerce-light.php 92% from 13 tests
The primary PHP file in "Spreadsheet Price Changer for WooCommerce and WP E-commerce - Light" version 2.4.6 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 870 characters long)
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
Success! There were no dangerous files found in this plugin14,479 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 2,360 | 167 | 12,071 |
CSS | 7 | 280 | 40 | 1,296 |
JavaScript | 12 | 244 | 96 | 1,111 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 67.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 639.00 |
Average method complexity | 7.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 116 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 104 | 89.66% |
▷ Protected methods | 5 | 4.31% |
▷ Private methods | 7 | 6.03% |
Functions | 66 | |
▷ Named functions | 65 | 98.48% |
▷ Anonymous functions | 1 | 1.52% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
15 PNG files occupy 0.13MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/delete.png | 0.33KB | 0.25KB | ▼ 24.63% |
assets/manage_products.png | 58.31KB | 21.86KB | ▼ 62.51% |
assets/images/redo.png | 0.61KB | 0.76KB | 0.00% |
assets/images/htoggle.png | 0.63KB | 0.37KB | ▼ 41.27% |
assets/images/right.png | 1.13KB | 0.28KB | ▼ 75.04% |