Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.59MB] [CPU: ▼8.35ms] Passed 4 tests
This is a short check of server-side resources used by W2S - Migrate WooCommerce to Shopify
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.63 | 43.99 ▼5.70 |
Dashboard /wp-admin | 3.92 ▲0.62 | 47.16 ▼1.83 |
Posts /wp-admin/edit.php | 3.97 ▲0.62 | 48.67 ▼0.51 |
Add New Post /wp-admin/post-new.php | 6.44 ▲0.56 | 85.44 ▼25.37 |
Media Library /wp-admin/upload.php | 3.78 ▲0.56 | 42.32 ▲9.59 |
Server storage [IO: ▲1.71MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 143 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
viw2s_params |
Browser metrics Passed 4 tests
This is an overview of browser requirements for W2S - Migrate WooCommerce to Shopify
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.26 ▼1.10 | 1.67 ▼0.15 | 37.16 ▼6.27 |
Dashboard /wp-admin | 2,214 ▲29 | 5.77 ▼0.13 | 103.31 ▼9.17 | 39.87 ▼3.14 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.06 ▲0.02 | 33.35 ▼7.57 | 32.47 ▼2.52 |
Add New Post /wp-admin/post-new.php | 1,522 ▲8 | 17.65 ▲0.10 | 658.23 ▼16.28 | 55.89 ▼2.71 |
Media Library /wp-admin/upload.php | 1,399 ▲17 | 4.23 ▼0.05 | 94.91 ▼3.99 | 42.95 ▲0.55 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- viw2s_params
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/w2s-migrate-woo-to-shopify/public/partials/vi-w2s-public-display.php
- 65× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPShopify\\ShopifyResource' not found in wp-content/plugins/w2s-migrate-woo-to-shopify/sdk/SmartCollection.php:26
- > PHP Fatal error
Uncaught Error: Class 'PHPShopify\\ShopifyResource' not found in wp-content/plugins/w2s-migrate-woo-to-shopify/sdk/Comment.php:32
- > PHP Fatal error
Uncaught Error: Class 'PHPShopify\\ShopifyResource' not found in wp-content/plugins/w2s-migrate-woo-to-shopify/sdk/ProductImage.php:13
- > PHP Fatal error
Uncaught Error: Class 'PHPShopify\\ShopifyResource' not found in wp-content/plugins/w2s-migrate-woo-to-shopify/sdk/Webhook.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/w2s-migrate-woo-to-shopify/admin/partials/vi-w2s-admin-logs.php:2
- > PHP Fatal error
Uncaught Error: Class 'PHPShopify\\ShopifyResource' not found in wp-content/plugins/w2s-migrate-woo-to-shopify/sdk/CarrierService.php:13
- > PHP Fatal error
Uncaught Error: Class 'PHPShopify\\ShopifyResource' not found in wp-content/plugins/w2s-migrate-woo-to-shopify/sdk/GraphQL.php:18
- > PHP Fatal error
Uncaught Error: Class 'PHPShopify\\ShopifyResource' not found in wp-content/plugins/w2s-migrate-woo-to-shopify/sdk/ProductVariant.php:22
- > PHP Fatal error
Uncaught Error: Class 'PHPShopify\\ShopifyResource' not found in wp-content/plugins/w2s-migrate-woo-to-shopify/sdk/ShopifyPayment.php:31
- > PHP Fatal error
Uncaught Error: Class 'PHPShopify\\ShopifyResource' not found in wp-content/plugins/w2s-migrate-woo-to-shopify/sdk/DiscountCode.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: woocommerce to shopify migration, ecommerce, transfer woocommerce to shopify, wordpress, woocommerce to shopify...
w2s-migrate-woo-to-shopify/w2s-import-woo-to-shopify.php 92% from 13 tests
The primary PHP file in "W2S - Migrate WooCommerce to Shopify" version 1.0.11 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("w2s-migrate-woo-to-shopify.php" instead of "w2s-import-woo-to-shopify.php")
Code Analysis Passed 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
There were no executable files found in this plugin12,453 lines of code in 132 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 1,261 | 380 | 5,734 |
PHP | 97 | 1,123 | 3,013 | 5,326 |
SVG | 1 | 0 | 0 | 565 |
CSS | 21 | 70 | 150 | 389 |
PO File | 1 | 114 | 151 | 273 |
Sass | 1 | 32 | 0 | 161 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 7.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 131.00 |
Average method complexity | 3.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 86 | |
▷ Abstract classes | 1 | 1.16% |
▷ Concrete classes | 85 | 98.84% |
▷ Final classes | 0 | 0.00% |
Methods | 214 | |
▷ Static methods | 61 | 28.50% |
▷ Public methods | 185 | 86.45% |
▷ Protected methods | 19 | 8.88% |
▷ Private methods | 10 | 4.67% |
Functions | 7 | |
▷ Named functions | 4 | 57.14% |
▷ Anonymous functions | 3 | 42.86% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin