Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/bulk-products-add/itls-woocommerce-products-add-bulk.php+87
Undefined index: settings_version
Server metrics [RAM: ▼1.89MB] [CPU: ▼1,284.25ms] Passed 4 tests
An overview of server-side resources used by Bulk Products Add for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.74 ▼0.98 | 4.36 ▼14.35 |
Dashboard /wp-admin | 1.76 ▼1.29 | 5.27 ▼41.26 |
Posts /wp-admin/edit.php | 1.76 ▼1.34 | 5.08 ▼38.59 |
Add New Post /wp-admin/post-new.php | 1.76 ▼3.67 | 4.48 ▼5,031.07 |
Media Library /wp-admin/upload.php | 1.76 ▼1.24 | 7.04 ▼26.07 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Bulk Products Add for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,648 ▲66 | 16.43 ▲0.97 | 7.40 ▲0.64 | 44.50 ▼3.75 |
Dashboard /wp-admin | 2,923 ▲73 | 6.40 ▲0.44 | 142.72 ▼6.84 | 102.70 ▼0.42 |
Posts /wp-admin/edit.php | 2,711 ▲5 | 2.95 ▲0.26 | 65.18 ▼5.27 | 91.38 ▲1.52 |
Add New Post /wp-admin/post-new.php | 2,059 ▲206 | 16.21 ▼2.77 | 358.41 ▲8.87 | 107.64 ▲1.81 |
Media Library /wp-admin/upload.php | 1,777 ▲2 | 5.28 ▲0.27 | 144.15 ▼2.09 | 112.02 ▲5.28 |
Uninstaller [IO: ▲0.00MB] [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
The following items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/bulk-products-add/itls-woocommerce-products-add-bulk.php+87
Undefined index: settings_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/bulk-products-add/admin/tmpl-port.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-products-add/admin/core.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-products-add/admin/scripts.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: woocommerce products, wc products, wp products, bulk adder, woocommerce...
bulk-products-add/itls-woocommerce-products-add-bulk.php 77% from 13 tests
The main file in "Bulk Products Add for WooCommerce" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bulk-products-add.php" instead of "itls-woocommerce-products-add-bulk.php")
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin629 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 149 | 64 | 450 |
CSS | 1 | 33 | 1 | 155 |
JavaScript | 1 | 4 | 0 | 24 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.09MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/logo.png | 96.52KB | 29.50KB | ▼ 69.44% |