Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼6.00ms] Passed 4 tests
Server-side resources used by Ni WooCommerce Order Export
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.91 ▲2.95 |
Dashboard /wp-admin | 3.41 ▲0.06 | 50.22 ▼9.36 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 50.52 ▲0.87 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 82.06 ▼15.98 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.76 ▲0.46 |
Add-ons /wp-admin/admin.php?page=nioe-add-ons | 3.32 | 30.93 |
Billing Address /wp-admin/admin.php?page=nioe-billing-address | 3.39 | 32.36 |
Settings /wp-admin/admin.php?page=nioe-order-settings | 3.30 | 30.93 |
Order Summary /wp-admin/admin.php?page=nioe-order-export | 3.44 | 30.59 |
Shipping Address /wp-admin/admin.php?page=nioe-shipping-address | 3.39 | 30.49 |
Order List /wp-admin/admin.php?page=nioe-order-list | 3.41 | 29.34 |
Server storage [IO: ▲2.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ni WooCommerce Order Export
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲67 | 14.35 ▼0.00 | 1.93 ▲0.31 | 43.63 ▲2.33 |
Dashboard /wp-admin | 2,237 ▲60 | 5.68 ▲0.08 | 94.91 ▲8.91 | 41.58 ▲0.61 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 1.95 ▼0.08 | 35.77 ▲1.34 | 33.73 ▼3.01 |
Add New Post /wp-admin/post-new.php | 1,557 ▲14 | 23.34 ▲0.45 | 681.22 ▲15.69 | 51.29 ▼3.52 |
Media Library /wp-admin/upload.php | 1,433 ▲36 | 4.13 ▼0.07 | 94.53 ▲2.76 | 41.66 ▼0.09 |
Add-ons /wp-admin/admin.php?page=nioe-add-ons | 1,317 | 2.00 | 21.51 | 33.88 |
Billing Address /wp-admin/admin.php?page=nioe-billing-address | 912 | 1.75 | 29.20 | 28.32 |
Settings /wp-admin/admin.php?page=nioe-order-settings | 1,019 | 2.01 | 22.03 | 27.92 |
Order Summary /wp-admin/admin.php?page=nioe-order-export | 884 | 1.70 | 9.09 | 45.92 |
Shipping Address /wp-admin/admin.php?page=nioe-shipping-address | 912 | 1.74 | 27.80 | 26.02 |
Order List /wp-admin/admin.php?page=nioe-order-list | 975 | 1.73 | 29.61 | 25.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- recovery_mode_email_last_sent
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=nioe-order-export
- > Error in wp-content/plugins/ni-woocommerce-order-export/include/ni-order-summary.php+74
Uncaught Error: Call to undefined function wc_price() in wp-content/plugins/ni-woocommerce-order-export/include/ni-order-summary.php:74
Stack trace:
#0 wp-content/plugins/ni-woocommerce-order-export/include/ni-order-summary.php(6): ni_order_summary->init()
#1 wp-content/plugins/ni-woocommerce-order-export/include/ni-order-export.php(84): ni_order_summary->__construct()
#2 wp-includes/class-wp-hook.php(310): ni_order_export->add_menu_page()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 {main}
thrown
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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:
- Screenshots: Please add images for these screenshots: #1 (Dashboard Sales Analysis Report.), #2 (Sales order list.), #3 (Billing order list.), #4 (Shipping order list.), #5 (Order columns setting), #6 (Order Export to CSV)
ni-woocommerce-order-export/ni-woocommerce-order-export.php Passed 13 tests
The main PHP script in "Ni WooCommerce Order Export" version 3.1.5 is automatically included on every request by WordPress
125 characters long description:
Ni WooCommerce Order Export plugin provides the functionality to export the sales order information into CSV or excel format.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin20,371 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 2,393 | 1,604 | 12,708 |
SVG | 2 | 0 | 0 | 2,678 |
CSS | 3 | 51 | 47 | 2,603 |
PHP | 9 | 374 | 165 | 2,382 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 33.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 4.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 3 | 4.00% |
▷ Public methods | 75 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
10 PNG files occupy 0.19MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 22.78KB | 14.98KB | ▼ 34.23% |
screenshot-1.png | 88.62KB | 46.17KB | ▼ 47.91% |
screenshot-6.png | 27.50KB | 12.80KB | ▼ 53.44% |
screenshot-5.png | 10.12KB | 5.96KB | ▼ 41.10% |
images/icon - Copy.png | 0.32KB | 0.41KB | 0.00% |