Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.35ms] Passed 4 tests
Server-side resources used by Advanced Bulk Actions
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 47.71 ▲6.31 |
Dashboard /wp-admin | 3.43 ▲0.13 | 50.10 ▼3.79 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 54.60 ▲1.80 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 86.75 ▼8.04 |
Media Library /wp-admin/upload.php | 3.35 ▲0.13 | 36.49 ▲0.65 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
wpba_version |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
wpba_installed_timestamp |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Bulk Actions
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.25 ▼0.10 | 2.04 ▼0.02 | 52.12 ▲13.40 |
Dashboard /wp-admin | 2,198 ▲21 | 5.58 ▼0.04 | 92.93 ▼4.32 | 43.29 ▼0.08 |
Posts /wp-admin/edit.php | 2,336 ▲233 | 3.53 ▲1.56 | 110.53 ▲67.41 | 36.38 ▼3.11 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.89 ▲0.87 | 671.42 ▲4.88 | 53.82 ▲2.14 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.09 ▼0.10 | 82.11 ▼20.27 | 47.16 ▲0.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- db_upgraded
- wpba_version
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- wpba_installed_timestamp
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WPBA_BulkAction_Abstract' not found in wp-content/plugins/bulk-actions/library/BulkAction/Post/ChangeFeaturedImage.php:5
- > PHP Fatal error
Uncaught Error: Class 'WPBA_BulkAction_Abstract' not found in wp-content/plugins/bulk-actions/library/BulkAction/Post/ChangePostType.php:5
- > PHP Fatal error
Uncaught Error: Class 'WPBA_BulkAction_Abstract' not found in wp-content/plugins/bulk-actions/library/BulkAction/Post/ChangePostVisibility.php:5
- > PHP Fatal error
Uncaught Error: Class 'WPBA_ListScreen_Abstract' not found in wp-content/plugins/bulk-actions/library/ListScreen/Post.php:5
- > PHP Fatal error
Uncaught Error: Class 'WPBA_BulkAction_Abstract' not found in wp-content/plugins/bulk-actions/library/BulkAction/Post/ChangePostStatus.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% 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
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
bulk-actions/bulk-actions.php 85% from 13 tests
The main PHP file in "Advanced Bulk Actions" ver. 1.1.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: Please keep the plugin description shorter than 140 characters (currently 246 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
Success! There were no dangerous files found in this plugin771 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 173 | 482 | 552 |
JavaScript | 2 | 38 | 27 | 142 |
Sass | 1 | 10 | 0 | 45 |
CSS | 1 | 1 | 0 | 32 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 8.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 2 | 20.00% |
▷ Concrete classes | 8 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 2 | 3.39% |
▷ Public methods | 56 | 94.92% |
▷ Protected methods | 1 | 1.69% |
▷ Private methods | 2 | 3.39% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
PNG images were not found in this plugin