Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.78MB] [CPU: ▼1.92ms] Passed 4 tests
Server-side resources used by Order Export & Order Import for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 37.57 ▼11.80 |
Dashboard /wp-admin | 4.36 ▲1.01 | 55.96 ▼9.01 |
Posts /wp-admin/edit.php | 4.48 ▲1.11 | 58.29 ▲9.01 |
Add New Post /wp-admin/post-new.php | 6.94 ▲1.05 | 102.37 ▲4.12 |
Media Library /wp-admin/upload.php | 4.28 ▲1.05 | 45.89 ▲9.29 |
History /wp-admin/admin.php?page=wt_import_export_for_woo_basic_history | 4.32 | 45.10 |
Pro upgrade /wp-admin/admin.php?page=wt_import_export_for_woo_basic_export-premium | 4.23 | 36.46 |
Import Logs /wp-admin/admin.php?page=wt_import_export_for_woo_basic_history_log | 4.27 | 40.01 |
General Settings /wp-admin/admin.php?page=wt_import_export_for_woo_basic | 4.49 | 47.84 |
Export /wp-admin/admin.php?page=wt_import_export_for_woo_basic_export | 4.31 | 51.24 |
Import /wp-admin/admin.php?page=wt_import_export_for_woo_basic_import | 4.24 | 39.35 |
Server storage [IO: ▲2.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 171 new files
Database: 2 new tables, 10 new options
New tables |
---|
wp_wt_iew_action_history |
wp_wt_iew_mapping_template |
New WordPress options |
---|
widget_theysaidso_widget |
recovery_mode_email_last_sent |
theysaidso_admin_options |
wt_iew_admin_modules |
widget_recent-posts |
wt_o_iew_is_active |
wt_o_iew_basic_start_date |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Order Export & Order Import for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲72 | 14.11 ▼0.23 | 1.71 ▼0.12 | 27.63 ▼14.76 |
Dashboard /wp-admin | 2,246 ▲66 | 5.58 ▼0.03 | 94.38 ▲3.43 | 46.57 ▲3.12 |
Posts /wp-admin/edit.php | 2,154 ▲54 | 1.95 ▼0.07 | 40.57 ▲2.13 | 40.51 ▲7.55 |
Add New Post /wp-admin/post-new.php | 1,580 ▲54 | 25.36 ▲2.41 | 634.39 ▲45.09 | 69.58 ▲17.92 |
Media Library /wp-admin/upload.php | 1,451 ▲51 | 4.15 ▼0.09 | 98.22 ▲2.44 | 45.16 ▲4.98 |
History /wp-admin/admin.php?page=wt_import_export_for_woo_basic_history | 977 | 2.15 | 31.50 | 38.32 |
Pro upgrade /wp-admin/admin.php?page=wt_import_export_for_woo_basic_export-premium | 715 | 1.12 | 7.34 | 23.96 |
Import Logs /wp-admin/admin.php?page=wt_import_export_for_woo_basic_history_log | 876 | 2.16 | 28.79 | 29.00 |
General Settings /wp-admin/admin.php?page=wt_import_export_for_woo_basic | 4,025 | 2.11 | 60.73 | 85.80 |
Export /wp-admin/admin.php?page=wt_import_export_for_woo_basic_export | 1,830 | 2.48 | 41.18 | 54.93 |
Import /wp-admin/admin.php?page=wt_import_export_for_woo_basic_import | 786 | 1.50 | 13.57 | 27.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie tables detected upon uninstall: 2 tables
- wp_wt_iew_mapping_template
- wp_wt_iew_action_history
- Zombie WordPress options were found after uninstall: 9 options
- wt_o_iew_basic_start_date
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- wt_iew_admin_modules
- recovery_mode_email_last_sent
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wt_import_export_for_woo_basic_export-premium
- > Warning in wp-includes/pluggable.php+1438
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2838)
- > GET request to /wp-admin/admin.php?page=wt_import_export_for_woo_basic_import
- > Error in wp-content/plugins/order-import-export-for-woocommerce/admin/modules/import/import.php+381
Uncaught Error: Call to undefined function WC() in wp-content/plugins/order-import-export-for-woocommerce/admin/modules/import/import.php:381
Stack trace:
#0 wp-content/plugins/order-import-export-for-woocommerce/admin/modules/import/import.php(316): Wt_Import_Export_For_Woo_Basic_Import->enqueue_assets()
#1 wp-includes/class-wp-hook.php(310): Wt_Import_Export_For_Woo_Basic_Import->admin_settings_page()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 {main}
thrown
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/order-import-export-for-woocommerce/public/partials/wt-import-export-for-woo-public-display.php
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/data/data-wf-xml-default-meta.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/order-import-export-for-woocommerce/admin/modules/coupon/data/data/data-wf-reserved-fields-pair.php:4
- > PHP Warning
Use of undefined constant WT_O_IEW_VERSION - assumed 'WT_O_IEW_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/order-import-export-for-woocommerce/includes/class-wf-orderimpexp-plugin-uninstall-feedback.php on line 307
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/data/data-wf-exclude-hidden-meta-columns.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/order-import-export-for-woocommerce/includes/class-wf-orderimpexp-plugin-uninstall-feedback.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/data/data-wf-hidden-meta-columns.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
order-import-export-for-woocommerce/order-import-export-for-woocommerce.php 92% from 13 tests
The primary PHP file in "Order Export & Order Import for WooCommerce" version 2.4.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("3.0.1" instead of "3.0")
Code Analysis 97% 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
Everything looks great! No dangerous files found in this plugin21,517 lines of code in 113 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 79 | 2,123 | 2,155 | 15,849 |
JavaScript | 8 | 249 | 138 | 3,479 |
CSS | 4 | 126 | 94 | 1,777 |
SVG | 22 | 0 | 0 | 412 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 109)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 69.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 542.00 |
Average method complexity | 6.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 109.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 1 | 3.03% |
▷ Concrete classes | 32 | 96.97% |
▷ Final classes | 0 | 0.00% |
Methods | 408 | |
▷ Static methods | 99 | 24.26% |
▷ Public methods | 344 | 84.31% |
▷ Protected methods | 41 | 10.05% |
▷ Private methods | 23 | 5.64% |
Functions | 25 | |
▷ Named functions | 17 | 68.00% |
▷ Anonymous functions | 8 | 32.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
46 PNG files occupy 0.43MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/other_solutions/suite-1-plugin.png | 31.38KB | 31.29KB | 0.31% |
assets/images/other_solutions/product-import-export-plugin.png | 24.67KB | 24.65KB | 0.08% |
assets/images/wt-error-icon.png | 1.33KB | 0.70KB | ▼ 47.24% |
admin/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.31KB | 0.18KB | ▼ 42.95% |
assets/images/other_solutions/wt_ipc_logo.png | 3.24KB | 2.22KB | ▼ 31.47% |