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
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲0.48ms] Passed 4 tests
This is a short check of server-side resources used by NP posts bulk actions
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 45.59 ▼1.17 |
Dashboard /wp-admin | 3.38 ▲0.08 | 58.96 ▲2.96 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 56.08 ▲1.60 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 103.68 ▲1.40 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 40.15 ▲0.09 |
WP Posts Bulk Actions /wp-admin/tools.php?page=bulk_action_admin_options_page | 3.27 | 35.92 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
NP posts bulk actions: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,894 ▲83 | 13.67 ▲0.44 | 5.36 ▲3.29 | 44.02 ▼2.48 |
Dashboard /wp-admin | 2,217 ▲8 | 4.87 ▼0.98 | 110.23 ▲3.64 | 45.59 ▲1.80 |
Posts /wp-admin/edit.php | 2,103 ▲17 | 2.04 ▲0.04 | 43.00 ▲7.29 | 37.93 ▲5.66 |
Add New Post /wp-admin/post-new.php | 1,524 ▼14 | 23.57 ▲0.51 | 632.32 ▼3.89 | 64.95 ▲14.70 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.30 ▲0.07 | 94.43 ▼3.31 | 41.86 ▼0.67 |
WP Posts Bulk Actions /wp-admin/tools.php?page=bulk_action_admin_options_page | 809 | 1.68 | 24.51 | 45.18 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/np-posts-bulk-actions/admin/partials/wp-posts-bulk-actions-admin-display.php
- > /wp-content/plugins/np-posts-bulk-actions/public/partials/wp-posts-bulk-actions-public-display.php
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
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid url: ""
np-posts-bulk-actions/wp-posts-bulk-actions.php 85% from 13 tests
"NP posts bulk actions" version 1.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("np-posts-bulk-actions.php" instead of "wp-posts-bulk-actions.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected401 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 136 | 549 | 333 |
JavaScript | 2 | 8 | 54 | 67 |
CSS | 2 | 0 | 8 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 4.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin