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.04MB] [CPU: ▼6.45ms] Passed 4 tests
Server-side resources used by Bulk Post Category Creator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 38.87 ▼2.26 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.12 ▼5.81 |
Posts /wp-admin/edit.php | 3.41 ▲0.04 | 56.29 ▲4.00 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.78 ▼18.26 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 37.40 ▲0.52 |
Create Bulk Categories /wp-admin/edit.php?page=bulk_wordpress_category_creator | 3.26 | 37.76 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Bulk Post Category Creator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.25 ▼0.10 | 1.80 ▼0.07 | 45.60 ▲2.90 |
Dashboard /wp-admin | 2,196 ▲22 | 5.62 ▲0.04 | 86.42 ▼19.73 | 38.08 ▼9.48 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.04 | 40.07 ▲3.83 | 35.25 ▼2.40 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.36 ▲0.14 | 676.90 ▼28.75 | 53.79 ▼25.87 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.25 ▲0.06 | 102.21 ▼3.62 | 45.76 ▼1.28 |
Create Bulk Categories /wp-admin/edit.php?page=bulk_wordpress_category_creator | 889 | 2.06 | 31.46 | 28.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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 SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/edit.php?page=bulk_wordpress_category_creator
- > Network (severe)
wp-content/plugins/woocommerce/assets/css/admin.css?ver=1.6 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?page=bulk_wordpress_category_creator
- > Network (severe)
wp-content/plugins/woocommerce/assets/js/select2/select2.min.js?ver=1.6 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?page=bulk_wordpress_category_creator
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).select2 is not a function" "TypeError: jQuery(...).select2 is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/create-category-in-bulk/js/bulk-wordpress-category-creator.js?ver=1.6:3:29)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/edit.php?page=bulk_wordpress_category_creator
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).select2 is not a function
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: bulk post categories, post categories bulk, wordpress post category, add post categories, post category creator
create-category-in-bulk/bulk-category-creator-wordpress.php 92% from 13 tests
This is the main PHP file of "Bulk Post Category Creator" version 1.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("create-category-in-bulk.php" instead of "bulk-category-creator-wordpress.php")
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
No dangerous file extensions were detected242 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 59 | 75 | 216 |
PO File | 1 | 5 | 7 | 23 |
JavaScript | 1 | 0 | 1 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 10 | |
▷ Static methods | 8 | 80.00% |
▷ Public methods | 10 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/screenshot-1.png | 41.47KB | 12.07KB | ▼ 70.90% |