Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲1.48MB] [CPU: ▼293.76ms] Passed 4 tests
Server-side resources used by Bulk Delete
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.09 ▲0.37 | 37.95 ▲18.37 |
Dashboard /wp-admin | 4.94 ▲1.89 | 50.45 ▲7.02 |
Posts /wp-admin/edit.php | 5.00 ▲1.89 | 53.76 ▲7.56 |
Add New Post /wp-admin/post-new.php | 7.26 ▲1.83 | 97.84 ▼1,191.08 |
Media Library /wp-admin/upload.php | 4.83 ▲1.82 | 42.52 ▲1.45 |
Bulk Delete Users /wp-admin/admin.php?page=bulk-delete-users | 4.85 | 46.69 |
Bulk Delete Misc /wp-admin/admin.php?page=bulk-delete-misc | 4.84 | 31.17 |
Scheduled Jobs /wp-admin/admin.php?page=bulk-delete-cron | 4.84 | 36.53 |
Bulk Delete Posts /wp-admin/admin.php?page=bulk-delete-posts | 4.87 | 48.50 |
Bulk Delete Meta Fields /wp-admin/admin.php?page=bulk-delete-metas | 4.85 | 33.27 |
System Info /wp-admin/admin.php?page=bulk-delete-system-info | 4.87 | 45.29 |
Addon Licenses /wp-admin/admin.php?page=bulk-delete-addon | 4.85 | 37.42 |
Bulk Delete Terms /wp-admin/admin.php?page=bulk-delete-terms | 4.84 | 35.27 |
Bulk Delete Pages /wp-admin/admin.php?page=bulk-delete-pages | 4.85 | 36.39 |
Server storage [IO: ▲1.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 171 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Bulk Delete: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,713 ▲107 | 15.84 ▲0.29 | 7.90 ▼2.04 | 45.83 ▲1.44 |
Dashboard /wp-admin | 2,991 ▲139 | 5.88 ▲0.06 | 138.28 ▼8.28 | 106.58 ▲3.60 |
Posts /wp-admin/edit.php | 2,770 ▲64 | 2.70 ▲0.01 | 65.20 ▲2.53 | 91.13 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,696 ▼155 | 16.84 ▼1.91 | 361.05 ▼10.12 | 106.12 ▼0.94 |
Media Library /wp-admin/upload.php | 1,839 ▲64 | 5.01 ▲0.03 | 150.20 ▲0.82 | 114.42 ▲3.00 |
Bulk Delete Users /wp-admin/admin.php?page=bulk-delete-users | 2,551 | 3.81 | 99.45 | 87.05 |
Bulk Delete Misc /wp-admin/admin.php?page=bulk-delete-misc | 1,330 | 2.87 | 76.93 | 64.74 |
Scheduled Jobs /wp-admin/admin.php?page=bulk-delete-cron | 1,580 | 2.09 | 57.84 | 60.33 |
Bulk Delete Posts /wp-admin/admin.php?page=bulk-delete-posts | 4,148 | 3.60 | 109.76 | 109.88 |
Bulk Delete Meta Fields /wp-admin/admin.php?page=bulk-delete-metas | 2,787 | 3.74 | 96.94 | 92.16 |
System Info /wp-admin/admin.php?page=bulk-delete-system-info | 1,171 | 2.22 | 56.12 | 68.02 |
Addon Licenses /wp-admin/admin.php?page=bulk-delete-addon | 1,389 | 2.09 | 59.89 | 58.66 |
Bulk Delete Terms /wp-admin/admin.php?page=bulk-delete-terms | 1,725 | 3.42 | 102.13 | 118.64 |
Bulk Delete Pages /wp-admin/admin.php?page=bulk-delete-pages | 1,755 | 3.09 | 82.26 | 88.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-delete/include/meta/class-bulk-delete-user-meta.php:280
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-delete/include/meta/class-bulk-delete-comment-meta.php:316
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-delete/include/meta/class-bulk-delete-post-meta.php:346
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: post, user, delete, bulk, draft...
bulk-delete/bulk-delete.php 77% from 13 tests
This is the main PHP file of "Bulk Delete" version 6.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 152 characters long)
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages/")
- Domain Path: Prefix the domain path with a forward slash character ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin12,371 lines of code in 143 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 120 | 2,654 | 7,073 | 10,208 |
PO File | 12 | 758 | 1,442 | 1,712 |
JavaScript | 4 | 82 | 119 | 391 |
CSS | 5 | 9 | 14 | 35 |
JSON | 1 | 0 | 0 | 23 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 8.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 19 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 101 | |
▷ Abstract classes | 27 | 26.73% |
▷ Concrete classes | 74 | 73.27% |
▷ Final classes | 2 | 2.70% |
Methods | 695 | |
▷ Static methods | 115 | 16.55% |
▷ Public methods | 364 | 52.37% |
▷ Protected methods | 305 | 43.88% |
▷ Private methods | 26 | 3.74% |
Functions | 79 | |
▷ Named functions | 79 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 47 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 47 | 100.00% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
Often times overlooked, PNG files can occupy unnecessary space in your plugin
11 PNG files occupy 0.03MB 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-bg_glass_65_ffffff_1x400.png | 0.26KB | 0.09KB | ▼ 66.79% |
assets/css/images/ui-icons_2e83ff_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |
assets/css/images/ui-icons_222222_256x240.png | 6.86KB | 4.18KB | ▼ 39.05% |
assets/css/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.32KB | 0.15KB | ▼ 53.40% |
assets/css/images/ui-icons_888888_256x240.png | 6.94KB | 4.18KB | ▼ 39.78% |