Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.71ms] Passed 4 tests
A check of server-side resources used by Order Export for WooCommerce to CSV, Excel, and XML
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.43 ▲1.25 |
Dashboard /wp-admin | 3.31 ▼0.04 | 64.57 ▼5.52 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.78 ▼1.96 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.73 ▼16.62 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.01 ▲3.66 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Order Export for WooCommerce to CSV, Excel, and XML
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.35 ▲0.00 | 1.76 ▲0.01 | 45.21 ▲1.29 |
Dashboard /wp-admin | 2,198 ▲27 | 5.63 ▼0.10 | 88.70 ▼9.70 | 39.65 ▼5.20 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.99 ▲0.04 | 40.27 ▲6.60 | 36.54 ▲1.02 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.04 ▼0.02 | 701.06 ▼0.99 | 53.34 ▼4.24 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.17 ▼0.09 | 94.00 ▼6.60 | 45.90 ▼0.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'PMXE_Model' not found in wp-content/plugins/order-export-for-woocommerce/models/model/list.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/order-export-for-woocommerce/wpae-woocommerce-order-add-on.php:18
- > PHP Fatal error
Uncaught Error: Class 'PMXE_Model' not found in wp-content/plugins/order-export-for-woocommerce/models/model/record.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
order-export-for-woocommerce/wpae-woocommerce-order-add-on.php 85% from 13 tests
The main file in "Order Export for WooCommerce to CSV, Excel, and XML" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 161 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("order-export-for-woocommerce.php" instead of "wpae-woocommerce-order-add-on.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected4,902 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 617 | 523 | 3,093 |
JavaScript | 3 | 217 | 289 | 1,715 |
CSS | 1 | 18 | 0 | 94 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 66.64 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 369.00 |
Average method complexity | 7.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 1 | 9.09% |
▷ Concrete classes | 10 | 90.91% |
▷ Final classes | 3 | 30.00% |
Methods | 114 | |
▷ Static methods | 10 | 8.77% |
▷ Public methods | 95 | 83.33% |
▷ Protected methods | 17 | 14.91% |
▷ Private methods | 2 | 1.75% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 21 | |
▷ Global constants | 5 | 23.81% |
▷ Class constants | 16 | 76.19% |
▷ Public constants | 16 | 100.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
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/img/preloader.png | 15.60KB | 0.13KB | ▼ 99.17% |