Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.77ms] Passed 4 tests
Analyzing server-side resources used by Woocommerce Cart Items Bulk Deletion
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.11 ▼1.55 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.05 ▼6.99 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.87 ▲0.81 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 79.81 ▼22.23 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.41 ▼0.31 |
Server storage [IO: ▲0.39MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Woocommerce Cart Items Bulk Deletion
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,894 ▲148 | 13.68 ▼0.67 | 6.10 ▲4.37 | 41.94 ▲0.54 |
Dashboard /wp-admin | 2,207 ▲19 | 5.79 ▼0.08 | 99.67 ▼11.62 | 38.68 ▼4.21 |
Posts /wp-admin/edit.php | 2,090 ▲4 | 2.02 ▲0.03 | 33.52 ▲0.50 | 35.00 ▼0.18 |
Add New Post /wp-admin/post-new.php | 1,521 ▲1 | 23.25 ▲0.17 | 662.85 ▲10.78 | 60.74 ▲7.39 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.26 ▲0.15 | 100.49 ▼1.39 | 42.70 ▼3.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Requires php: Invalid version format
woo-cart-items-bulk-deletion/wcibd.php 77% from 13 tests
Analyzing the main PHP file in "Woocommerce Cart Items Bulk Deletion" version 1.2.0
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woo-cart-items-bulk-deletion.php" instead of "wcibd.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 158 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin337 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 121 | 531 | 213 |
JavaScript | 3 | 15 | 44 | 87 |
CSS | 3 | 10 | 17 | 37 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 2.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.30MB with 0.22MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner.png | 50.23KB | 15.15KB | ▼ 69.85% |
assets/icon.png | 25.34KB | 5.50KB | ▼ 78.30% |
assets/screenshot-2.png | 77.91KB | 19.94KB | ▼ 74.41% |
assets/screenshot-1.png | 150.87KB | 44.21KB | ▼ 70.70% |