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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.03ms] Passed 4 tests
This is a short check of server-side resources used by Order XML File Export Import for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.52 ▼8.31 |
Dashboard /wp-admin | 3.31 ▼0.04 | 49.44 ▼6.57 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.82 ▲1.42 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.67 ▼28.69 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.62 ▼0.56 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Order XML File Export Import for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.22 ▼1.16 | 1.67 ▼0.15 | 38.97 ▼5.46 |
Dashboard /wp-admin | 2,206 ▲18 | 5.84 ▲0.97 | 97.06 ▼11.83 | 39.76 ▲2.43 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.00 ▼0.06 | 39.61 ▼0.28 | 34.31 ▼0.80 |
Add New Post /wp-admin/post-new.php | 1,520 ▼22 | 23.39 ▲4.79 | 606.92 ▼11.51 | 53.01 ▲4.99 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.02 | 97.84 ▼0.24 | 41.43 ▼2.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Please take a closer look at the following
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wc_get_order_statuses() in wp-content/plugins/order-xml-file-export-import-for-woocommerce/includes/views/export/html-wf-export-orders.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/order-xml-file-export-import-for-woocommerce/includes/views/import/html-wf-import-orders.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/order-xml-file-export-import-for-woocommerce/includes/importer/views/html-wf-import-greeting.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/order-xml-file-export-import-for-woocommerce/includes/views/html-wf-common-header.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/order-xml-file-export-import-for-woocommerce/includes/views/html-wf-common-header.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/order-xml-file-export-import-for-woocommerce/includes/views/help/html-wf-help.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/order-xml-file-export-import-for-woocommerce/includes/views/html-wf-getting-started.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/order-xml-file-export-import-for-woocommerce/includes/importer/views/html-wf-import-options.php:1
- > 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 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
These attributes need to be fixed:
- Screenshots: Please add an image for screenshot #4 (Stamps App Screen)
order-xml-file-export-import-for-woocommerce/order-xml-file-export-import-for-woocommerce.php 92% from 13 tests
The main file in "Order XML File Export Import for WooCommerce" v. 1.4.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 158 characters long)
Code Analysis Passed 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
There were no executable files found in this plugin4,034 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 420 | 63 | 2,405 |
XML | 9 | 20 | 0 | 723 |
CSS | 1 | 12 | 1 | 547 |
PO File | 1 | 113 | 123 | 287 |
SVG | 5 | 0 | 0 | 54 |
JavaScript | 1 | 0 | 0 | 18 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 15.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 4.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 5 | 6.67% |
▷ Public methods | 71 | 94.67% |
▷ Protected methods | 1 | 1.33% |
▷ Private methods | 3 | 4.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
7 PNG files occupy 0.16MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wf-success.png | 3.24KB | 0.59KB | ▼ 81.90% |
images/calendar.png | 1.27KB | 1.07KB | ▼ 15.78% |
images/wf-failed.png | 3.30KB | 0.54KB | ▼ 83.61% |
images/Order-Import-Export-for-WooCommerce-Image.png | 146.82KB | 62.05KB | ▼ 57.74% |
images/storefrog.png | 8.44KB | 4.63KB | ▼ 45.21% |