Benchmarks
Plugin footprint Passed 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.13MB] [CPU: ▼142.91ms] Passed 4 tests
A check of server-side resources used by Import From Shopify
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.95 ▲0.23 | 36.19 ▲18.07 |
Dashboard /wp-admin | 3.17 ▲0.12 | 45.27 ▼2.53 |
Posts /wp-admin/edit.php | 3.28 ▲0.18 | 46.90 ▲0.56 |
Add New Post /wp-admin/post-new.php | 5.54 ▲0.11 | 97.22 ▼562.62 |
Media Library /wp-admin/upload.php | 3.12 ▲0.11 | 34.67 ▼7.06 |
Import from Shopify /wp-admin/tools.php?page=import-from-shopify | 3.08 | 28.81 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Import From Shopify
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,710 ▲114 | 15.83 ▲0.21 | 12.83 ▲4.55 | 51.04 ▲2.26 |
Dashboard /wp-admin | 2,976 ▲40 | 5.92 ▼0.11 | 147.18 ▲1.94 | 115.32 ▲2.74 |
Posts /wp-admin/edit.php | 2,746 ▲7 | 2.72 ▼0.00 | 66.22 ▼1.05 | 84.37 ▼0.52 |
Add New Post /wp-admin/post-new.php | 1,505 ▲1 | 18.56 ▲0.07 | 384.74 ▼60.63 | 106.57 ▼4.94 |
Media Library /wp-admin/upload.php | 1,814 ▲63 | 5.05 ▲0.04 | 159.92 ▼1.35 | 118.42 ▼2.25 |
Import from Shopify /wp-admin/tools.php?page=import-from-shopify | 1,271 | 2.10 | 58.10 | 91.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/import-from-shopify/inc/CDShopifyPluginSettings.class.php:12
- > PHP Fatal error
Uncaught Error: Class 'ShopifyGeneral' not found in wp-content/plugins/import-from-shopify/inc/ShopifyCustomer.class.php:4
- > PHP Fatal error
Uncaught Error: Class 'ShopifyGeneral' not found in wp-content/plugins/import-from-shopify/inc/ShopifyProduct.class.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
10 plugin tags: migration, csv, import shopify to woo, excel, woo...
import-from-shopify/import-from-shopify.php 92% from 13 tests
"Import From Shopify" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 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
Everything looks great! No dangerous files found in this plugin761 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 83 | 26 | 752 |
CSS | 1 | 1 | 0 | 9 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 30.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 5.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.33% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
No PNG images were found in this plugin