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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼161.95ms] Passed 4 tests
Analyzing server-side resources used by Bulk WooCommerce Category Creator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 33.34 ▼4.19 |
Dashboard /wp-admin | 3.06 ▼0.00 | 37.18 ▼12.40 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 46.50 ▼9.03 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 99.48 ▼622.19 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 39.10 ▼1.39 |
Freemius Debug [v.2.3.2] /wp-admin/admin.php?page=freemius | 2.75 | 22.97 |
Server storage [IO: ▲3.94MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 181 new files
Database: no new tables, 4 new options
New WordPress options |
---|
fs_active_plugins |
fs_gdpr |
fs_debug_mode |
fs_accounts |
Browser metrics Passed 4 tests
A check of browser resources used by Bulk WooCommerce Category Creator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,676 ▲75 | 14.65 ▼0.56 | 10.51 ▼1.45 | 106.79 ▲2.88 |
Dashboard /wp-admin | 2,929 ▲37 | 6.15 ▼0.04 | 149.96 ▼43.13 | 204.90 ▼29.44 |
Posts /wp-admin/edit.php | 2,737 ▼3 | 3.23 ▼0.00 | 86.49 ▼31.97 | 186.91 ▼59.63 |
Add New Post /wp-admin/post-new.php | 3,587 ▲2,006 | 18.75 ▲0.77 | 975.77 ▲204.14 | 250.22 ▼49.27 |
Media Library /wp-admin/upload.php | 1,746 ▼0 | 5.52 ▲0.04 | 210.05 ▼36.63 | 277.50 ▼29.25 |
Freemius Debug [v.2.3.2] /wp-admin/admin.php?page=freemius | 28 | 0.94 | 0.05 | 29.11 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 4 options
- fs_gdpr
- fs_accounts
- fs_active_plugins
- fs_debug_mode
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/bulk-woocommerce-category-creator/freemius/templates/ajax-loader.php
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/bulk-woocommerce-category-creator/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/bulk-woocommerce-category-creator/freemius/templates/account/partials/addon.php on line 6
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/bulk-woocommerce-category-creator/freemius/templates/account/partials/addon.php:9
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/bulk-woocommerce-category-creator/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/bulk-woocommerce-category-creator/freemius/templates/account/partials/addon.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/bulk-woocommerce-category-creator/freemius/templates/partials/network-activation.php:6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/bulk-woocommerce-category-creator/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/bulk-woocommerce-category-creator/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=freemius
- > Network (severe)
wp-admin/admin.php?page=freemius - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% 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: create, category, product, bulk, multiple
bulk-woocommerce-category-creator/bulk-wc-category-creator.php 77% from 13 tests
The entry point to "Bulk WooCommerce Category Creator" version 2.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 186 characters long)
- Requires at least: Required version must match the one declared in readme.txt ("4.0" instead of "3.0.0")
- Main file name: Name the main plugin file the same as the plugin slug ("bulk-woocommerce-category-creator.php" instead of "bulk-wc-category-creator.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin45,663 lines of code in 138 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 108 | 7,167 | 16,014 | 29,970 |
PO File | 13 | 6,965 | 8,462 | 15,263 |
JavaScript | 4 | 34 | 60 | 197 |
Markdown | 1 | 61 | 0 | 192 |
JSON | 1 | 0 | 0 | 27 |
CSS | 11 | 0 | 0 | 14 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 2,772)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 84.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,772.00 |
Average method complexity | 4.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 47 | |
▷ Abstract classes | 2 | 4.26% |
▷ Concrete classes | 45 | 95.74% |
▷ Final classes | 0 | 0.00% |
Methods | 1,143 | |
▷ Static methods | 191 | 16.71% |
▷ Public methods | 803 | 70.25% |
▷ Protected methods | 15 | 1.31% |
▷ Private methods | 325 | 28.43% |
Functions | 94 | |
▷ Named functions | 94 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 121 | |
▷ Global constants | 96 | 79.34% |
▷ Class constants | 25 | 20.66% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
images/screenshot-1.png | 41.47KB | 12.07KB | ▼ 70.90% |