Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.00ms] Passed 4 tests
A check of server-side resources used by Product Lister for Etsy
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.29 ▼5.71 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.97 ▼19.38 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.61 ▲1.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.37 ▼4.78 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.43 ▲5.18 |
Server storage [IO: ▲1.46MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 71 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_ced_etsy_accounts |
wp_ced_etsy_profiles |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
ced_etsy_auth_info |
Browser metrics Passed 4 tests
An overview of browser requirements for Product Lister for Etsy
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲53 | 14.19 ▼0.15 | 1.87 ▲0.27 | 44.19 ▲6.72 |
Dashboard /wp-admin | 2,192 ▲17 | 5.61 ▼0.27 | 89.29 ▼21.18 | 37.20 ▼7.17 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.08 | 40.48 ▲5.49 | 36.14 ▼1.76 |
Add New Post /wp-admin/post-new.php | 1,526 ▼10 | 23.04 ▲0.08 | 649.23 ▲34.93 | 56.02 ▲8.52 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.19 ▼0.03 | 95.01 ▼11.78 | 42.06 ▼12.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables were found after uninstall: 2 tables
- wp_ced_etsy_accounts
- wp_ced_etsy_profiles
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- ced_etsy_auth_info
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/product-lister-etsy/admin/partials/woocommmerce-etsy-integration-admin-display.php
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wc_get_product() in wp-content/plugins/product-lister-etsy/admin/partials/ced-etsy-metakeys-list.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/product-lister-etsy/admin/pages/setting-pages/ced-etsy-scheduler-settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/product-lister-etsy/admin/pages/setting-pages/ced-etsy-product-upload-settings.php:2
- > PHP Fatal error
Uncaught Error: Class 'Cedhandler' not found in wp-content/plugins/product-lister-etsy/admin/etsy/lib/class-ced-etsy-request.php:2
- > PHP Fatal error
Uncaught Error: Class 'Cedhandler' not found in wp-content/plugins/product-lister-etsy/admin/etsy/lib/etsyProducts.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function ced_etsy_get_auth() in wp-content/plugins/product-lister-etsy/admin/etsy/lib/vendor/login_with_etsy.php:148
- > PHP Warning
Use of undefined constant CED_ETSY_DIRPATH - assumed 'CED_ETSY_DIRPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/product-lister-etsy/admin/etsy/lib/vendor/login_with_etsy.php on line 141
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/product-lister-etsy/admin/pages/setting-pages/ced-etsy-metakeys-template.php:5
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #10, #11, #12, #13, #14, #15, #16, #2, #3, #4, #5, #6, #7, #8, #9 in product-lister-etsy/assets to your readme.txt
product-lister-etsy/product-lister-etsy.php 85% from 13 tests
The main PHP file in "Product Lister for Etsy" ver. 2.3.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: The required version number did not match the one declared in readme.txt ("4.7" instead of "3.0")
Code Analysis 97% from 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 plugin12,950 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 1,063 | 3,356 | 9,899 |
CSS | 1 | 63 | 43 | 1,803 |
JavaScript | 2 | 81 | 66 | 748 |
PO File | 1 | 205 | 239 | 468 |
JSON | 11 | 0 | 0 | 32 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 129)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 92.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 630.00 |
Average method complexity | 8.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 129.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 269 | |
▷ Static methods | 10 | 3.72% |
▷ Public methods | 260 | 96.65% |
▷ Protected methods | 1 | 0.37% |
▷ Private methods | 8 | 2.97% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 16 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/etsy.png | 4.56KB | 2.69KB | ▼ 40.95% |
admin/images/icon.png | 9.15KB | 0.80KB | ▼ 91.21% |
admin/images/etsyicon.png | 40.13KB | 12.02KB | ▼ 70.05% |
admin/images/logo1.png | 0.41KB | 0.42KB | 0.00% |
admin/images/_logo1.png | 1.40KB | 0.80KB | ▼ 43.12% |