Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼296.30ms] Passed 4 tests
Analyzing server-side resources used by Ultimate WooCommerce CSV Importer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 60.40 ▲1.95 |
Dashboard /wp-admin | 3.42 ▲0.01 | 37.63 ▼1.89 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 47.91 ▲7.66 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 97.15 ▼1,182.24 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 26.07 ▼3.02 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Ultimate WooCommerce CSV Importer
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,805 ▲83 | 16.01 ▲0.04 | 6.03 ▲0.30 | 2.09 ▼0.17 |
Dashboard /wp-admin | 2,909 ▲51 | 6.02 ▼0.06 | 142.86 ▼10.06 | 152.24 ▼11.67 |
Posts /wp-admin/edit.php | 2,708 ▲23 | 3.24 ▼0.01 | 74.84 ▲9.19 | 183.38 ▼10.26 |
Add New Post /wp-admin/post-new.php | 1,674 ▲13 | 20.41 ▲4.10 | 442.47 ▼6.42 | 160.72 ▼21.67 |
Media Library /wp-admin/upload.php | 1,715 ▲20 | 5.53 ▼0.01 | 170.61 ▲24.77 | 184.51 ▲2.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/simple-woocommerce-csv-loader/admin/CSVLoader.php:334
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-woocommerce-csv-loader/CSVLoaderForWoocommerce.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
- Screenshots: Screenshot #1 (admin area) image required
simple-woocommerce-csv-loader/CSVLoaderForWoocommerce.php 92% from 13 tests
"Ultimate WooCommerce CSV Importer" version 2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("simple-woocommerce-csv-loader.php" instead of "CSVLoaderForWoocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin538 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 51 | 58 | 460 |
PO File | 1 | 32 | 33 | 78 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 2.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 25.88KB | 14.72KB | ▼ 43.12% |