Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.67ms] Passed 4 tests
Server-side resources used by Product Export for Woocommerce to CSV, Excel, XML, and the Google Merchant Center
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 43.78 ▲1.03 |
Dashboard /wp-admin | 3.31 ▼0.04 | 52.18 ▼14.66 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.97 ▼0.00 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 102.28 ▼10.49 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.37 ▼5.54 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Product Export for Woocommerce to CSV, Excel, XML, and the Google Merchant Center
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲36 | 14.25 ▼0.11 | 2.10 ▲0.22 | 49.28 ▲5.58 |
Dashboard /wp-admin | 2,192 ▲12 | 5.56 ▼0.06 | 97.32 ▼9.19 | 43.61 ▼3.81 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.96 ▼0.18 | 41.16 ▲4.32 | 34.70 ▼1.22 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.30 ▲0.14 | 617.50 ▼52.48 | 47.85 ▼12.12 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.16 ▼0.05 | 104.36 ▼9.80 | 42.98 ▼1.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
- 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/product-export-for-woocommerce/models/model/list.php:7
- > PHP Fatal error
Uncaught Error: Class 'PMXE_Model' not found in wp-content/plugins/product-export-for-woocommerce/models/model/record.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/product-export-for-woocommerce/wpae-woocommerce-product-add-on.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
product-export-for-woocommerce/wpae-woocommerce-product-add-on.php 85% from 13 tests
"Product Export for Woocommerce to CSV, Excel, XML, and the Google Merchant Center" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("product-export-for-woocommerce.php" instead of "wpae-woocommerce-product-add-on.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 165 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected3,481 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 217 | 289 | 1,715 |
PHP | 17 | 314 | 402 | 1,672 |
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.53 |
Average class complexity | 37.89 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 221.00 |
Average method complexity | 5.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 2 | 22.22% |
Methods | 81 | |
▷ Static methods | 8 | 9.88% |
▷ Public methods | 68 | 83.95% |
▷ Protected methods | 10 | 12.35% |
▷ Private methods | 3 | 3.70% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
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% |