Benchmarks
Plugin footprint 40% 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
- Install procedure had errors
- > Warning in wp-content/plugins/bulk-edit-for-woocommerce/inc/class-plugin.php+145
require_once(wp-content/plugins/bulk-edit-for-woocommerce/inc/class-tax-query.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.08ms] Passed 4 tests
A check of server-side resources used by Bulk Edit for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.86 ▲0.61 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.36 ▼2.23 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.74 ▲1.66 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.62 ▲2.51 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.10 ▼0.36 |
Server storage [IO: ▲1.32MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 112 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_pbe_tasks |
New WordPress options |
---|
db_upgraded |
pbe_db_version |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bulk Edit for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.19 ▼1.26 | 1.87 ▲0.19 | 43.04 ▲2.30 |
Dashboard /wp-admin | 2,209 ▲24 | 5.90 ▲0.99 | 108.22 ▼3.67 | 41.98 ▲1.02 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▼0.01 | 39.06 ▲2.41 | 36.31 ▲3.91 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.16 ▲0.14 | 635.46 ▲11.73 | 57.16 ▲0.99 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.25 ▲0.05 | 96.02 ▲1.02 | 40.27 ▼4.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_pbe_tasks
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- pbe_db_version
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/bulk-edit-for-woocommerce/templates/pricing.php
- > /wp-content/plugins/bulk-edit-for-woocommerce/templates/helps.php
- 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bulk-edit-for-woocommerce/templates/form-action-edit.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/bulk-edit-for-woocommerce/bulk-edit.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function pbe() in wp-content/plugins/bulk-edit-for-woocommerce/templates/tasks.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Meta_Query' not found in wp-content/plugins/bulk-edit-for-woocommerce/inc/class-meta-query.php:2
- > PHP Fatal error
Uncaught Error: Class 'WC_Product_Simple' not found in wp-content/plugins/bulk-edit-for-woocommerce/index.php:9
- > PHP Warning
Use of undefined constant PBE_DIR - assumed 'PBE_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-edit-for-woocommerce/inc/class-setting.php on line 691
- > PHP Fatal error
Uncaught Error: Call to undefined function pbe() in wp-content/plugins/bulk-edit-for-woocommerce/templates/task-details.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function pbe_settings() in wp-content/plugins/bulk-edit-for-woocommerce/inc/configs.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bulk-edit-for-woocommerce/templates/bulk-edit.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/bulk-edit-for-woocommerce/templates/modal.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6, #7, #8 in bulk-edit-for-woocommerce/assets to your readme.txt
bulk-edit-for-woocommerce/bulk-edit.php 85% from 13 tests
"Bulk Edit for WooCommerce" version 0.0.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("bulk-edit-for-woocommerce.php" instead of "bulk-edit.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected32,444 lines of code in 98 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 12,638 |
JavaScript | 61 | 2,759 | 1,097 | 11,793 |
PHP | 22 | 777 | 497 | 4,751 |
CSS | 10 | 231 | 10 | 2,361 |
Sass | 1 | 43 | 3 | 822 |
XML | 1 | 8 | 4 | 43 |
Markdown | 1 | 12 | 0 | 36 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 53.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 4.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 159 | |
▷ Static methods | 8 | 5.03% |
▷ Public methods | 156 | 98.11% |
▷ Protected methods | 3 | 1.89% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin