Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.95ms] Passed 4 tests
An overview of server-side resources used by Import Orders Export Orders WooCommerce Products Subscriptions with Excel
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 40.89 ▲1.17 |
Dashboard /wp-admin | 3.35 ▲0.05 | 51.71 ▲2.18 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.17 ▼15.08 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 88.58 ▼16.05 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 45.05 ▲9.87 |
Store Migration /wp-admin/admin.php?page=store-migration-woocommerce | 3.28 | 37.90 |
Server storage [IO: ▲5.98MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 410 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Import Orders Export Orders WooCommerce Products Subscriptions with Excel
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲128 | 14.22 ▼0.13 | 2.00 ▼0.35 | 43.55 ▼3.06 |
Dashboard /wp-admin | 2,292 ▲118 | 5.56 ▼0.06 | 92.88 ▼1.19 | 75.03 ▲28.45 |
Posts /wp-admin/edit.php | 2,203 ▲106 | 2.02 ▲0.01 | 36.37 ▼6.46 | 33.76 ▼0.64 |
Add New Post /wp-admin/post-new.php | 1,778 ▲252 | 22.04 ▼0.97 | 755.02 ▲61.23 | 54.71 ▼3.65 |
Media Library /wp-admin/upload.php | 1,503 ▲103 | 4.15 ▲0.04 | 109.68 ▼5.31 | 81.91 ▲34.61 |
Store Migration /wp-admin/admin.php?page=store-migration-woocommerce | 1,187 | 4.02 | 56.11 | 92.55 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/store-migration-products-orders-import-export-with-excel/Classes/markbaker/complex/examples/testOperations.php
- > /wp-content/plugins/store-migration-products-orders-import-export-with-excel/Classes/markbaker/matrix/examples/test.php
- > /wp-content/plugins/store-migration-products-orders-import-export-with-excel/Classes/markbaker/complex/examples/testFunctions.php
- > /wp-content/plugins/store-migration-products-orders-import-export-with-excel/Classes/markbaker/matrix/buildPhar.php
- > /wp-content/plugins/store-migration-products-orders-import-export-with-excel/Classes/markbaker/complex/examples/complexTest.php
- 97× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'PhpOffice\\PhpSpreadsheet\\RichText\\ITextElement' not found in wp-content/plugins/store-migration-products-orders-import-export-with-excel/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/RichText/TextElement.php:5
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Style\\Supervisor' not found in wp-content/plugins/store-migration-products-orders-import-export-with-excel/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Style.php:8
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Shared\\OLE\\PPS' not found in wp-content/plugins/store-migration-products-orders-import-export-with-excel/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLE/PPS/File.php:33
- > PHP Fatal error
Uncaught Error: Class 'Matrix\\Operators\\Operator' not found in wp-content/plugins/store-migration-products-orders-import-export-with-excel/Classes/markbaker/matrix/classes/src/Operators/Multiplication.php:9
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Writer\\Xlsx\\WriterPart' not found in wp-content/plugins/store-migration-products-orders-import-export-with-excel/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Chart.php:17
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Worksheet\\Dimension' not found in wp-content/plugins/store-migration-products-orders-import-export-with-excel/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/RowDimension.php:5
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Writer\\Ods\\WriterPart' not found in wp-content/plugins/store-migration-products-orders-import-export-with-excel/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Thumbnails.php:7
- > PHP Fatal error
Uncaught Error: Class 'Matrix\\Operators\\Operator' not found in wp-content/plugins/store-migration-products-orders-import-export-with-excel/Classes/markbaker/matrix/classes/src/Operators/Addition.php:8
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Reader\\Xlsx\\BaseParserClass' not found in wp-content/plugins/store-migration-products-orders-import-export-with-excel/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/SheetViews.php:8
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Exception' not found in wp-content/plugins/store-migration-products-orders-import-export-with-excel/Classes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Exception.php:7
- > 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 on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: order export, product export, excel, import orders, migrate
store-migration-products-orders-import-export-with-excel/store-migration-excel.php 62% from 13 tests
This is the main PHP file of "Import Orders Export Orders WooCommerce Products Subscriptions with Excel" version 1.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Requires at least: The required version number must match the one declared in readme.txt ("3.0.1" instead of "2.2")
- Requires PHP: The required version number must match the one declared in readme.txt ("5.2.4" instead of "7.1")
- Main file name: The principal plugin file should be the same as the plugin slug ("store-migration-products-orders-import-export-with-excel.php" instead of "store-migration-excel.php")
- Plugin Name: Please don't use more than 70 characters for the plugin name (currently 73 characters long)
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin68,235 lines of code in 347 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 318 | 13,936 | 31,477 | 62,430 |
Markdown | 9 | 423 | 0 | 2,002 |
CSS | 3 | 104 | 64 | 1,609 |
SVG | 1 | 0 | 0 | 685 |
JSON | 6 | 0 | 0 | 684 |
JavaScript | 4 | 201 | 27 | 673 |
YAML | 3 | 14 | 1 | 82 |
Bourne Again Shell | 1 | 6 | 3 | 24 |
PO File | 1 | 3 | 5 | 23 |
XML | 1 | 0 | 0 | 23 |
PHP code 0% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
It is recommended to fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 1,011)
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 387)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 43.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,011.00 |
Average method complexity | 4.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 387.00 |
Code structure | ||
---|---|---|
Namespaces | 45 | |
Interfaces | 10 | |
Traits | 0 | |
Classes | 236 | |
▷ Abstract classes | 16 | 6.78% |
▷ Concrete classes | 220 | 93.22% |
▷ Final classes | 0 | 0.00% |
Methods | 3,039 | |
▷ Static methods | 690 | 22.70% |
▷ Public methods | 2,346 | 77.20% |
▷ Protected methods | 85 | 2.80% |
▷ Private methods | 608 | 20.01% |
Functions | 76 | |
▷ Named functions | 62 | 81.58% |
▷ Anonymous functions | 14 | 18.42% |
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
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 |
images/store-migration-woocommerce-pro.png | 38.37KB | 15.10KB | ▼ 60.64% |
images/default.png | 14.13KB | 5.96KB | ▼ 57.80% |
images/extendwp.png | 5.75KB | 3.37KB | ▼ 41.46% |