Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.27MB] [CPU: ▼13.23ms] Passed 4 tests
Server-side resources used by Bulk Categories Edit for Media
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.50 ▼5.57 |
Dashboard /wp-admin | 3.33 ▲0.02 | 50.84 ▼5.91 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.47 ▲1.93 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 95.22 ▼12.17 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 6.10 ▼29.27 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bulk Categories Edit for Media
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.23 ▼0.37 | 1.82 ▼0.34 | 43.04 ▼0.95 |
Dashboard /wp-admin | 2,195 ▲15 | 5.55 ▼0.05 | 88.42 ▼2.02 | 41.79 ▼4.23 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.02 ▲0.06 | 42.22 ▲2.44 | 35.51 ▲1.03 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.02 ▼0.13 | 614.38 ▼54.35 | 50.61 ▼11.14 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.22 ▼0.08 | 97.29 ▼4.91 | 43.49 ▲0.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/bulk-categories-edit-for-media/custom_bulk_edit_categories_in_media.php:16
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Donate link: Invalid url: ""
bulk-categories-edit-for-media/custom_bulk_edit_categories_in_media.php 92% from 13 tests
The entry point to "Bulk Categories Edit for Media" version 1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("bulk-categories-edit-for-media.php" instead of "custom_bulk_edit_categories_in_media.php")
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
There were no executable files found in this plugin1,381 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 34 | 52 | 1,093 |
JavaScript | 1 | 24 | 3 | 144 |
PHP | 1 | 30 | 10 | 140 |
Markdown | 1 | 2 | 0 | 4 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 5.40 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
13 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/jquery-ui/css/flick/images/ui-bg_highlight-soft_100_f6f6f6_1x100.png | 0.09KB | 0.11KB | 0.00% |
js/jquery-ui/css/flick/images/ui-icons_0073ea_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
js/jquery-ui/css/flick/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
js/jquery-ui/css/flick/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
js/jquery-ui/css/flick/images/ui-bg_highlight-soft_50_dddddd_1x100.png | 0.09KB | 0.14KB | 0.00% |