Benchmarks
Plugin footprint 83% 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.00MB] [CPU: ▼10.05ms] Passed 4 tests
A check of server-side resources used by WSW - Shopify WooCommerce / WordPress Integration and Migration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 36.76 ▼3.31 |
Dashboard /wp-admin | 3.32 ▼0.03 | 47.07 ▼19.38 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.16 ▼7.62 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.21 ▼9.87 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 32.74 ▲0.04 |
Server storage [IO: ▲2.53MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
WSW - Shopify WooCommerce / WordPress Integration and Migration: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲49 | 14.67 ▲0.32 | 1.76 ▲0.05 | 40.94 ▼3.26 |
Dashboard /wp-admin | 2,204 ▲24 | 5.61 ▼0.06 | 90.10 ▼1.44 | 43.48 ▲4.41 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.00 ▲0.02 | 40.67 ▲0.52 | 38.58 ▲3.98 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.09 ▲0.14 | 667.62 ▼8.63 | 55.73 ▲2.14 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.18 ▼0.03 | 95.95 ▼2.36 | 42.42 ▲0.75 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wsw-import-export-ecommerce-integration/class-momo-wsw-import-export.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wsw-import-export-ecommerce-integration/includes/class-momo-wsw-export-shopify.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wsw-import-export-ecommerce-integration/includes/class-momo-wsw-background-process.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wsw-import-export-ecommerce-integration/includes/admin/pages/page-momo-wsw-export-settings.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wsw-import-export-ecommerce-integration/includes/admin/pages/page-momo-wsw-import.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wsw-import-export-ecommerce-integration/includes/admin/class-momo-wsw-admin-ajax.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wsw-import-export-ecommerce-integration/includes/admin/pages/momo-wsw-settings.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wsw-import-export-ecommerce-integration/includes/admin/class-momo-wsw-admin-init.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wsw-import-export-ecommerce-integration/includes/admin/pages/page-momo-wsw-settings.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Shopify products imported successfully), #2 (import tags & categories)
wsw-import-export-ecommerce-integration/class-momo-wsw-import-export.php 85% from 13 tests
The main file in "WSW - Shopify WooCommerce / WordPress Integration and Migration" v. 1.3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("wsw-import-export-ecommerce-integration.php" instead of "class-momo-wsw-import-export.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin10,212 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 102 | 21 | 6,345 |
PHP | 11 | 50 | 350 | 1,794 |
SVG | 1 | 0 | 0 | 1,626 |
JavaScript | 1 | 1 | 38 | 447 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 6.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 2 | 4.08% |
▷ Public methods | 49 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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 were not PNG files found in your plugin