Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼15.04ms] Passed 4 tests
Server-side resources used by Product Reviews Import Export for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 43.56 ▼0.18 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.78 ▼17.28 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.73 ▼5.09 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.75 ▼35.74 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.41 ▼2.03 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 50 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wtpripre_start_date |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Product Reviews Import Export for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.38 ▼0.00 | 1.84 ▼0.03 | 42.99 ▲0.76 |
Dashboard /wp-admin | 2,189 ▲12 | 5.60 ▼0.11 | 86.36 ▼3.80 | 41.68 ▼2.67 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▼0.02 | 38.33 ▼1.04 | 33.67 ▼3.40 |
Add New Post /wp-admin/post-new.php | 1,545 ▲13 | 23.21 ▲0.08 | 627.34 ▼59.05 | 59.17 ▲6.28 |
Media Library /wp-admin/upload.php | 1,394 ▼0 | 4.18 ▼0.02 | 101.32 ▲1.81 | 42.65 ▼1.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- wtpripre_start_date
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please fix the following items
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/product-reviews-import-export-for-woocommerce/includes/views/export/html-wf-export-product-reviews.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/product-reviews-import-export-for-woocommerce/includes/views/import/html-wf-import-product-reviews.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/product-reviews-import-export-for-woocommerce/includes/views/html-wf-admin-screen.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/product-reviews-import-export-for-woocommerce/includes/importer/views/html-wf-import-options.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/product-reviews-import-export-for-woocommerce/includes/views/html-wf-getting-started.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/product-reviews-import-export-for-woocommerce/includes/views/import/html-wf-import-greeting.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/product-reviews-import-export-for-woocommerce/includes/importer/views/html-wf-import-greeting.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
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 an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: A description for screenshot #5 is required in product-reviews-import-export-for-woocommerce/assets to your readme.txt
product-reviews-import-export-for-woocommerce/product-reviews-import-export.php 92% from 13 tests
"Product Reviews Import Export for WooCommerce" version 1.4.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("product-reviews-import-export-for-woocommerce.php" instead of "product-reviews-import-export.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected2,953 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 408 | 319 | 1,784 |
CSS | 2 | 63 | 45 | 849 |
PO File | 1 | 82 | 85 | 257 |
SVG | 5 | 0 | 0 | 63 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 32.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 117.00 |
Average method complexity | 4.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.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 | 63 | |
▷ Static methods | 11 | 17.46% |
▷ Public methods | 59 | 93.65% |
▷ Protected methods | 1 | 1.59% |
▷ Private methods | 3 | 4.76% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
11 PNG files occupy 0.22MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Import-Export-for-WooCommerce-Product-Image.png | 192.24KB | 74.00KB | ▼ 61.51% |
images/csv.png | 1.75KB | 1.75KB | 0.11% |
images/storefrog.png | 8.44KB | 4.63KB | ▼ 45.21% |
images/wf-import.png | 1.62KB | 1.39KB | ▼ 14.10% |
images/wf-success.png | 3.24KB | 0.59KB | ▼ 81.90% |