Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼7.76ms] Passed 4 tests
Server-side resources used by Bulk Price Update for Woocommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 40.65 ▼1.26 |
Dashboard /wp-admin | 3.46 ▲0.15 | 41.93 ▼8.08 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 43.94 ▲0.23 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 73.73 ▼21.91 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 33.28 ▲1.47 |
Change Price WC /wp-admin/edit.php?post_type=product&page=bulk-price-update-woocommerce | 3.11 | 24.25 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Bulk Price Update for Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.11 ▼0.42 | 1.70 ▼0.13 | 44.92 ▲1.11 |
Dashboard /wp-admin | 2,195 ▲18 | 5.56 ▼0.03 | 94.61 ▼8.86 | 42.12 ▼1.67 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.02 | 34.35 ▼1.29 | 34.53 ▼1.64 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.01 ▼0.67 | 682.92 ▲18.41 | 54.72 ▲3.61 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.32 ▲0.11 | 101.75 ▼1.10 | 44.58 ▲1.97 |
Change Price WC /wp-admin/edit.php?post_type=product&page=bulk-price-update-woocommerce | 28 | 0.42 | 0.08 | 3.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/woo-bulk-price-update/woo-bulk-price-update.php:10
- > PHP Fatal error
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)
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=product&page=bulk-price-update-woocommerce
- > Network (severe)
wp-admin/edit.php?post_type=product&page=bulk-price-update-woocommerce - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
woo-bulk-price-update/woo-bulk-price-update.php Passed 13 tests
The main PHP file in "Bulk Price Update for Woocommerce" ver. 2.2.2 adds more information about the plugin and also serves as the entry point for this plugin
103 characters long description:
WooCommerce percentage pricing by Category allows you to Change WooCommerce products Price By Category.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin2,272 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 14 | 290 | 1,131 |
PHP | 2 | 1 | 8 | 678 |
CSS | 4 | 32 | 1 | 463 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 6.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.69% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.12MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
img/premium.png | 127.09KB | 33.38KB | ▼ 73.73% |