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
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.86ms] Passed 4 tests
A check of server-side resources used by PW WooCommerce Bulk Edit
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.57 ▼8.31 |
Dashboard /wp-admin | 3.38 ▲0.07 | 47.63 ▼2.51 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.59 ▼1.60 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 92.82 ▼11.03 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.21 ▲0.71 |
Server storage [IO: ▲2.59MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 93 new files
Database: no new tables, 7 new options
New WordPress options |
---|
pwbe_database_version |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
PW WooCommerce Bulk Edit: 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,790 ▲28 | 14.70 ▲0.49 | 1.66 ▼0.18 | 38.00 ▼4.90 |
Dashboard /wp-admin | 2,198 ▲21 | 5.58 ▼0.14 | 96.58 ▼5.28 | 42.49 ▼1.39 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.94 ▼0.01 | 40.97 ▲2.45 | 36.52 ▼3.87 |
Add New Post /wp-admin/post-new.php | 1,530 ▼6 | 23.06 ▼0.39 | 646.57 ▼33.11 | 59.01 ▼10.16 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.21 ▲0.05 | 102.65 ▼2.93 | 41.83 ▼2.46 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- pwbe_database_version
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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:
- Tags: There are too many tags (14 tag instead of maximum 10)
pw-bulk-edit/pw-bulk-edit.php 85% from 13 tests
"PW WooCommerce Bulk Edit" version 2.121's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Requires at least: The required version number must match the one declared in readme.txt ("4.5" instead of "4.0")
- Description: Keep the plugin description shorter than 140 characters (currently 156 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected6,475 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 693 | 399 | 2,776 |
CSS | 18 | 313 | 216 | 1,393 |
JavaScript | 4 | 286 | 30 | 1,160 |
SVG | 1 | 0 | 0 | 685 |
PO File | 1 | 164 | 199 | 323 |
HTML | 1 | 52 | 2 | 122 |
XML | 1 | 0 | 0 | 16 |
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.38 |
Average class complexity | 21.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 8 | 80.00% |
Methods | 56 | |
▷ Static methods | 21 | 37.50% |
▷ Public methods | 48 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 14.29% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 9 | |
▷ Global constants | 8 | 88.89% |
▷ Class constants | 1 | 11.11% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
26 PNG files occupy 1.24MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
docs/assets/blueprint-css/plugins/buttons/icons/cross.png | 0.64KB | 0.72KB | 0.00% |
docs/assets/blueprint-css/plugins/link-icons/icons/pdf.png | 0.58KB | 0.57KB | ▼ 1.02% |
docs/assets/images/screenshot-4.png | 158.27KB | 42.84KB | ▼ 72.94% |
docs/assets/blueprint-css/plugins/link-icons/icons/xls.png | 0.65KB | 0.63KB | ▼ 2.41% |
docs/assets/images/screenshot-3.png | 105.87KB | 34.38KB | ▼ 67.53% |