Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼4.76ms] Passed 4 tests
This is a short check of server-side resources used by Export Order Items for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 35.11 ▼7.84 |
Dashboard /wp-admin | 3.42 ▲0.11 | 44.87 ▼2.68 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.98 ▲2.73 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 86.51 ▼5.31 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 31.60 ▼3.19 |
Server storage [IO: ▲0.46MB] [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: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Export Order Items for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.36 ▼0.25 | 1.51 ▼0.60 | 35.90 ▼6.94 |
Dashboard /wp-admin | 2,195 ▲18 | 5.51 ▼0.11 | 88.78 ▼0.97 | 35.05 ▼1.27 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.05 | 39.28 ▲3.96 | 36.16 ▲3.53 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 22.99 ▲4.74 | 670.28 ▲66.94 | 67.23 ▼4.31 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.24 ▲0.02 | 94.69 ▼5.36 | 41.55 ▲0.70 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/export-order-items-for-woocommerce/admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/export-order-items-for-woocommerce/export-order-items-for-woocommerce.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
Attributes that require attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots need descriptions #2, #3 in export-order-items-for-woocommerce/assets to your readme.txt
export-order-items-for-woocommerce/export-order-items-for-woocommerce.php Passed 13 tests
The main PHP file in "Export Order Items for WooCommerce" ver. 1.0.14 adds more information about the plugin and also serves as the entry point for this plugin
128 characters long description:
Export order items (products ordered) in CSV (Comma Seperated Values) format, with product, line item, order, and customer data.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin3,297 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 119 | 81 | 913 |
JavaScript | 3 | 153 | 109 | 825 |
CSS | 3 | 69 | 33 | 820 |
Sass | 11 | 147 | 37 | 693 |
SVG | 6 | 0 | 2 | 36 |
YAML | 1 | 2 | 0 | 10 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 4.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 3 | 100.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
3 PNG files occupy 0.12MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/export_order_items_pro.png | 44.09KB | 31.37KB | ▼ 28.84% |
images/scheduled_email_reports_for_woocommerce.png | 45.14KB | 31.50KB | ▼ 30.22% |
images/frontend-report-for-woocommerce.png | 34.89KB | 36.29KB | 0.00% |