Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.64MB] [CPU: ▲8.92ms] Passed 4 tests
A check of server-side resources used by WooCommerce Etsy Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.24 ▲0.77 | 51.52 ▲10.46 |
Dashboard /wp-admin | 3.96 ▲0.66 | 58.11 ▲5.24 |
Posts /wp-admin/edit.php | 4.02 ▲0.66 | 59.49 ▲14.38 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.60 | 108.88 ▲10.59 |
Media Library /wp-admin/upload.php | 3.89 ▲0.66 | 47.21 ▲9.39 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 4.23 | 47.98 |
Server storage [IO: ▲7.74MB] [DB: ▲0.27MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 449 new files
Database: 17 new tables, 25 new options
New tables |
---|
wp_etcpf_etsy_configuration |
wp_etcpf_listings |
wp_etcpf_categories |
wp_etcpf_orders |
wp_etcpf_etsy_sync |
wp_etcpf_feeds |
wp_etcpf_category_mappings |
wp_etcpf_resolved_product_data |
wp_etcpf_custom_feed_products |
wp_etcpf_settings |
... |
New WordPress options |
---|
etsy_order_offset |
etcpf_current_db_version |
etcpf_woo_etsy_connector_url |
fs_debug_mode |
listing_etsy_et |
widget_recent-posts |
theysaidso_admin_options |
et_cp_feed_count |
et_cpf_feed_order_reverse |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
WooCommerce Etsy Integration: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲60 | 14.34 ▲0.06 | 1.74 ▲0.02 | 31.99 ▼14.08 |
Dashboard /wp-admin | 2,218 ▲38 | 5.52 ▼0.14 | 85.19 ▼12.85 | 71.15 ▲24.07 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 1.97 ▲0.00 | 39.79 ▲0.62 | 38.60 ▲0.14 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.19 ▲0.11 | 738.41 ▲38.84 | 54.37 ▲3.34 |
Media Library /wp-admin/upload.php | 1,429 ▲32 | 4.18 ▲0.06 | 100.77 ▼26.29 | 73.55 ▲21.53 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,084 | 1.80 | 26.61 | 25.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.27MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie tables were found after uninstall: 17 tables
- wp_etcpf_feedproducts
- wp_etcpf_variationupload_preparation
- wp_etcpf_etsy_product_count
- wp_etcpf_listings
- wp_etcpf_feeds
- wp_etcpf_image_links
- wp_etcpf_etsy_configuration
- wp_etcpf_custom_feed_products
- wp_etcpf_category_mappings
- wp_etcpf_profiles
- ...
- This plugin does not fully uninstall, leaving 25 options in the database
- etcpf_current_db_version
- fs_debug_mode
- fs_accounts
- widget_recent-comments
- etsy_free_plan_product_upload_limit
- theysaidso_admin_options
- et_cp_feed_count
- etcpf_license_message
- etcpf_db_upgrade_available
- listing_etsy_et
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 14× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/etsy-views/manuals.php
- > /wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/etsy-views/custom-views/custom_etsy_categories.php
- > /wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/etsy-views/variation-view-page.php
- > /wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/ajax/wp/profileValidation.php
- > /wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/EB_Controller.php
- > /wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/ajax/wp/etsy-order-fetch.php
- > /wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/ajax/wp/etsy-settings.php
- > /wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/etsy-views/etsy-listing-report.php
- > /wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/etsy-views/etsy_cat_tree.php
- > /wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/etsy-views/etsy_categories.php
- 47× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: cpf_categories in wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/etsy-views/etsy_cat_tree.php on line 46
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/etsy-views/account-list.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/etsy-views/profiling/profiling.php:2
- > PHP Notice
Undefined variable: status in wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/etsy-views/variation-view-page.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/etsy-views/listing_progress_view.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/classes/upload_cron.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/etsy-views/settings/settings.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/etsy-views/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/etsy-views/shipping_form.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/exportfeed-for-woocommerce-product-to-etsy/core/etsy-views/profiling/edit.php:2
- > PHP Notice
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 83% from 29 tests
readme.txt 81% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (On-boarding Stage), #2 (Click on Connect to Authenticate to provide app permissions), #3 (Click on Allow Permissions on the Etsy permissions page), #4 (Create new shipping or select your existing shipping rules pulled from Etsy), #5 (Select your WooCommerce category & corresponding Etsy category. Then give name for feed file.), #6 (Go to Manage Feed and hover over the feed to click on the Upload link)
- Requires php: Version not formatted correctly
- Tags: Please delete some tags, you are using 20 tag instead of maximum 10
exportfeed-for-woocommerce-product-to-etsy/exportfeed-for-etsy-product-feed.php 85% from 13 tests
Analyzing the main PHP file in "WooCommerce Etsy Integration" version 5.4.5
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("exportfeed-for-woocommerce-product-to-etsy.php" instead of "exportfeed-for-etsy-product-feed.php")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin98,998 lines of code in 348 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 267 | 11,674 | 19,858 | 59,695 |
JavaScript | 36 | 4,974 | 14,600 | 21,363 |
CSS | 40 | 653 | 520 | 14,192 |
SQL | 1 | 12 | 22 | 3,197 |
SVG | 1 | 0 | 0 | 243 |
Markdown | 1 | 68 | 0 | 214 |
JSON | 2 | 0 | 0 | 94 |
PHP code 0% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
The following items need your attention
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,073)
- Method cyclomatic complexity has to be reduced to less than 100 (currently 112)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 41.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 112.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 187 | |
▷ Abstract classes | 4 | 2.14% |
▷ Concrete classes | 183 | 97.86% |
▷ Final classes | 0 | 0.00% |
Methods | 2,058 | |
▷ Static methods | 239 | 11.61% |
▷ Public methods | 1,590 | 77.26% |
▷ Protected methods | 35 | 1.70% |
▷ Private methods | 433 | 21.04% |
Functions | 179 | |
▷ Named functions | 174 | 97.21% |
▷ Anonymous functions | 5 | 2.79% |
Constants | 180 | |
▷ Global constants | 123 | 68.33% |
▷ Class constants | 57 | 31.67% |
▷ Public constants | 57 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
35 PNG files occupy 0.29MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/exf-sm-logo.png | 3.42KB | 2.30KB | ▼ 32.85% |
images/info.png | 1.24KB | 0.32KB | ▼ 74.25% |
images/etsy.png | 3.91KB | 2.02KB | ▼ 48.43% |
images/up.png | 3.11KB | 0.35KB | ▼ 88.64% |
js/DataTables/DataTables-1.10.16/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |