Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.05ms] Passed 4 tests
A check of server-side resources used by ELEX WooCommerce Advanced Bulk Edit Products, Prices & Attributes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.16 ▼7.59 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.78 ▼0.64 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.53 ▼2.28 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.01 ▲2.09 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.25 ▼1.69 |
Server storage [IO: ▲1.72MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
elex-bulk-edit-products-prices-attributes-for-woocommerce-basic/elex-bulk-edit-woocommerce-products-basic.php_activation_date |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
ELEX WooCommerce Advanced Bulk Edit Products, Prices & Attributes: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲53 | 14.13 ▼0.58 | 1.76 ▲0.15 | 36.94 ▼6.64 |
Dashboard /wp-admin | 2,195 ▲15 | 5.58 ▼0.02 | 91.11 ▼9.22 | 40.76 ▼6.19 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.04 | 39.18 ▼0.81 | 35.68 ▼1.36 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.25 ▲0.11 | 630.75 ▼65.80 | 51.83 ▼6.56 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.18 ▲0.01 | 103.21 ▲3.90 | 42.80 ▼0.26 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- elex-bulk-edit-products-prices-attributes-for-woocommerce-basic/elex-bulk-edit-woocommerce-products-basic.php_activation_date
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/elex-bulk-edit-products-prices-attributes-for-woocommerce-basic/review_and_troubleshoot_notify/resources/logo.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/elex-bulk-edit-products-prices-attributes-for-woocommerce-basic/review_and_troubleshoot_notify/resources/review.php:58
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/elex-bulk-edit-products-prices-attributes-for-woocommerce-basic/review_and_troubleshoot_notify/resources/troubleshoot.php:59
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: bulk edit attributes, woocommerce bulk edit, woocommerce, bulk edit, bulk edit price
elex-bulk-edit-products-prices-attributes-for-woocommerce-basic/elex-bulk-edit-woocommerce-products-basic.php 85% from 13 tests
The main PHP file in "ELEX WooCommerce Advanced Bulk Edit Products, Prices & Attributes" ver. 1.4.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("elex-bulk-edit-products-prices-attributes-for-woocommerce-basic.php" instead of "elex-bulk-edit-woocommerce-products-basic.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("3.0.1" instead of "2.6.0")
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 plugin21,150 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 69 | 19 | 11,083 |
JavaScript | 4 | 443 | 169 | 4,479 |
PHP | 13 | 326 | 211 | 4,424 |
PO File | 2 | 442 | 604 | 1,164 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 48 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 39 | |
▷ Named functions | 36 | 92.31% |
▷ Anonymous functions | 3 | 7.69% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.88MB with 0.53MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/catalog_mode.png | 85.64KB | 21.17KB | ▼ 75.28% |
assets/images/ship%20calculator.png | 102.70KB | 27.53KB | ▼ 73.19% |
assets/images/prod-logo.png | 69.40KB | 15.94KB | ▼ 77.03% |
assets/images/ShipEngine.png | 79.12KB | 18.90KB | ▼ 76.12% |
assets/icons/chosen-sprite.png | 0.63KB | 0.88KB | 0.00% |