Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.51MB] [CPU: ▼1.50ms] Passed 4 tests
An overview of server-side resources used by Product Excel Import Export & Bulk Edit for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.98 ▲0.52 | 38.01 ▼3.85 |
Dashboard /wp-admin | 3.85 ▲0.55 | 47.26 ▼1.78 |
Posts /wp-admin/edit.php | 3.90 ▲0.55 | 50.00 ▼1.42 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.50 | 97.14 ▲1.07 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 39.97 ▲7.88 |
Product Excel Importer & Bulk Editing /wp-admin/admin.php?page=webd-woocommerce-product-excel-importer-bulk-edit | 3.68 | 34.37 |
Product Excel Importer & Bulk Editing /wp-admin/edit.php?post_type=product&page=webd-woocommerce-product-excel-importer-bulk-edit | 3.68 | 44.60 |
Server storage [IO: ▲5.52MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 401 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Product Excel Import Export & Bulk Edit for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲121 | 13.36 ▼1.01 | 1.84 ▲0.19 | 41.27 ▼9.00 |
Dashboard /wp-admin | 2,237 ▲49 | 5.08 ▼0.90 | 107.34 ▲2.50 | 40.66 ▲1.57 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.29 ▲0.27 | 40.58 ▼1.73 | 36.49 ▲0.63 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 23.21 ▲0.00 | 672.22 ▼1.20 | 36.26 ▼17.25 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.50 ▲0.28 | 95.31 ▼8.61 | 42.71 ▼1.10 |
Product Excel Importer & Bulk Editing /wp-admin/admin.php?page=webd-woocommerce-product-excel-importer-bulk-edit | 1,508 | 9.71 | 275.29 | 40.70 |
Product Excel Importer & Bulk Editing /wp-admin/edit.php?post_type=product&page=webd-woocommerce-product-excel-importer-bulk-edit | 1,503 | 10.03 | 298.59 | 35.30 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% 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 0% 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
Almost there! Just fix the following items
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/webd-woocommerce-product-excel-importer-bulk-edit/Classes/markbaker/matrix/examples/test.php
- > /wp-content/plugins/webd-woocommerce-product-excel-importer-bulk-edit/Classes/markbaker/complex/examples/testOperations.php
- > /wp-content/plugins/webd-woocommerce-product-excel-importer-bulk-edit/Classes/markbaker/complex/examples/testFunctions.php
- > /wp-content/plugins/webd-woocommerce-product-excel-importer-bulk-edit/Classes/markbaker/matrix/buildPhar.php
- > /wp-content/plugins/webd-woocommerce-product-excel-importer-bulk-edit/Classes/markbaker/complex/examples/complexTest.php
- 98× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Writer\\BaseWriter' not found in wp-content/plugins/webd-woocommerce-product-excel-importer-bulk-edit/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls.php:28
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Shared\\Trend\\BestFit' not found in wp-content/plugins/webd-woocommerce-product-excel-importer-bulk-edit/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/PowerBestFit.php:5
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Writer\\Pdf' not found in wp-content/plugins/webd-woocommerce-product-excel-importer-bulk-edit/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php:8
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Writer\\Xlsx\\WriterPart' not found in wp-content/plugins/webd-woocommerce-product-excel-importer-bulk-edit/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:22
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Reader\\BaseReader' not found in wp-content/plugins/webd-woocommerce-product-excel-importer-bulk-edit/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Csv.php:9
- > PHP Fatal error
Uncaught Error: Class 'Matrix\\Operators\\Operator' not found in wp-content/plugins/webd-woocommerce-product-excel-importer-bulk-edit/Classes/markbaker/matrix/classes/src/Operators/Subtraction.php:8
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Writer\\BaseWriter' not found in wp-content/plugins/webd-woocommerce-product-excel-importer-bulk-edit/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Html.php:28
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Writer\\Html' not found in wp-content/plugins/webd-woocommerce-product-excel-importer-bulk-edit/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf.php:11
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Writer\\Xlsx\\WriterPart' not found in wp-content/plugins/webd-woocommerce-product-excel-importer-bulk-edit/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/ContentTypes.php:11
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Reader\\Xlsx\\BaseParserClass' not found in wp-content/plugins/webd-woocommerce-product-excel-importer-bulk-edit/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/Styles.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: bulk product edit, product export, bulk edit, excel, product import...
webd-woocommerce-product-excel-importer-bulk-edit/webd-woocommerce-product-excel-importer-bulk-edit.php 85% from 13 tests
The primary PHP file in "Product Excel Import Export & Bulk Edit for WooCommerce" version 4.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Requires at least: Required version must match the one declared in readme.txt ("3.0.1" instead of "2.2")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin64,580 lines of code in 340 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 315 | 13,220 | 31,453 | 60,434 |
Markdown | 9 | 423 | 0 | 2,002 |
SVG | 1 | 0 | 0 | 685 |
JSON | 6 | 0 | 0 | 684 |
JavaScript | 2 | 91 | 26 | 370 |
CSS | 2 | 38 | 7 | 276 |
YAML | 3 | 14 | 1 | 82 |
Bourne Again Shell | 1 | 6 | 3 | 24 |
XML | 1 | 0 | 0 | 23 |
PHP code 0% from 2 tests
Analyzing cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 1,011)
- Method cyclomatic complexity should be reduced to less than 100 (currently 387)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 43.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,011.00 |
Average method complexity | 4.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 387.00 |
Code structure | ||
---|---|---|
Namespaces | 45 | |
Interfaces | 10 | |
Traits | 0 | |
Classes | 232 | |
▷ Abstract classes | 16 | 6.90% |
▷ Concrete classes | 216 | 93.10% |
▷ Final classes | 0 | 0.00% |
Methods | 3,000 | |
▷ Static methods | 690 | 23.00% |
▷ Public methods | 2,307 | 76.90% |
▷ Protected methods | 85 | 2.83% |
▷ Private methods | 608 | 20.27% |
Functions | 83 | |
▷ Named functions | 69 | 83.13% |
▷ Anonymous functions | 14 | 16.87% |
Constants | 779 | |
▷ Global constants | 2 | 0.26% |
▷ Class constants | 777 | 99.74% |
▷ Public constants | 777 | 100.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
5 PNG files occupy 0.20MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/webd_woocommerce_product_excel_importer_bulk_edit.png | 74.02KB | 32.36KB | ▼ 56.28% |
images/default.png | 14.13KB | 5.96KB | ▼ 57.80% |
images/webdeveloping.png | 30.41KB | 16.21KB | ▼ 46.68% |
images/webd_woocommerce_product_excel_importer_bulk_edit_pro.png | 79.44KB | 32.39KB | ▼ 59.23% |
images/extendwp.png | 5.75KB | 3.37KB | ▼ 41.46% |