Benchmarks
Plugin footprint 82% 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.68MB] [CPU: ▼1.08ms] 75% from 4 tests
A check of server-side resources used by WP Bulk Delete
It is recommended to improve the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 2,382.66ms on /wp-admin/admin.php?page=wpbd_support)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.14 ▲0.67 | 52.18 ▲12.27 |
Dashboard /wp-admin | 4.04 ▲0.70 | 48.73 ▼13.56 |
Posts /wp-admin/edit.php | 4.10 ▲0.74 | 48.61 ▲4.83 |
Add New Post /wp-admin/post-new.php | 6.56 ▲0.68 | 84.33 ▼2.82 |
Media Library /wp-admin/upload.php | 3.91 ▲0.68 | 41.73 ▲7.22 |
Cleanup /wp-admin/admin.php?page=wpbd_cleanup | 3.88 | 36.68 |
Delete Users /wp-admin/admin.php?page=delete_all_users | 3.88 | 37.88 |
Delete Posts /wp-admin/admin.php?page=delete_all_posts | 3.88 | 33.46 |
Support & Help /wp-admin/admin.php?page=wpbd_support | 4.42 | 2,382.66 |
Delete Terms /wp-admin/admin.php?page=wpbd_delete_terms | 3.88 | 35.17 |
Delete Comments /wp-admin/admin.php?page=delete_all_comments | 3.88 | 34.95 |
Delete Meta Fields /wp-admin/admin.php?page=delete_all_meta | 3.88 | 39.02 |
Server storage [IO: ▲0.47MB] [DB: ▲0.18MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Bulk Delete
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲93 | 14.28 ▼0.08 | 1.90 ▲0.19 | 38.50 ▼5.90 |
Dashboard /wp-admin | 2,245 ▲65 | 5.62 ▼0.05 | 87.06 ▼14.04 | 41.52 ▼1.76 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 1.94 ▲0.00 | 36.05 ▲0.60 | 34.69 ▲1.62 |
Add New Post /wp-admin/post-new.php | 1,565 ▲39 | 23.34 ▼0.22 | 706.74 ▲6.79 | 66.52 ▼6.43 |
Media Library /wp-admin/upload.php | 1,450 ▲50 | 4.24 ▲0.08 | 98.12 ▼18.90 | 45.06 ▼2.61 |
Cleanup /wp-admin/admin.php?page=wpbd_cleanup | 1,069 | 2.15 | 38.51 | 32.58 |
Delete Users /wp-admin/admin.php?page=delete_all_users | 1,269 | 2.37 | 42.84 | 32.02 |
Delete Posts /wp-admin/admin.php?page=delete_all_posts | 1,003 | 2.11 | 33.96 | 29.95 |
Support & Help /wp-admin/admin.php?page=wpbd_support | 1,190 | 2.04 | 34.31 | 40.70 |
Delete Terms /wp-admin/admin.php?page=wpbd_delete_terms | 1,029 | 2.24 | 41.86 | 29.38 |
Delete Comments /wp-admin/admin.php?page=delete_all_comments | 1,248 | 2.35 | 32.69 | 31.17 |
Delete Meta Fields /wp-admin/admin.php?page=delete_all_meta | 1,056 | 2.23 | 31.05 | 31.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.18MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
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)
Even though everything seems fine, this is not an exhaustive test
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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 25 tag instead of maximum 10
wp-bulk-delete/wp-bulk-delete.php Passed 13 tests
The main PHP script in "WP Bulk Delete" version 1.2.6 is automatically included on every request by WordPress
120 characters long description:
Bulk delete and cleanup anything like posts, comments, users, meta fields, taxonomy terms. with powerful filter options.
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
Success! There were no dangerous files found in this plugin5,747 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 583 | 982 | 3,641 |
CSS | 4 | 60 | 58 | 1,359 |
PO File | 1 | 230 | 302 | 473 |
JavaScript | 3 | 21 | 43 | 274 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 120.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 342.00 |
Average method complexity | 11.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 1 | 3.03% |
▷ Public methods | 30 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 9.09% |
Functions | 71 | |
▷ Named functions | 71 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-icons_cc0000_256x240.png | 4.51KB | 4.18KB | ▼ 7.28% |
assets/css/images/ui-icons_777620_256x240.png | 4.51KB | 4.18KB | ▼ 7.28% |
assets/images/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
assets/css/images/ui-icons_555555_256x240.png | 6.91KB | 4.18KB | ▼ 39.47% |
assets/css/images/ui-icons_ffffff_256x240.png | 6.33KB | 4.18KB | ▼ 33.99% |