Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼4.08ms] Passed 4 tests
Server-side resources used by Next-Cart Store to WooCommerce Migration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 36.16 ▼5.17 |
Dashboard /wp-admin | 3.48 ▲0.18 | 47.78 ▼1.22 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 48.61 ▲0.30 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 92.47 ▼10.21 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 35.10 ▲1.82 |
How It Works /wp-admin/admin.php?page=nextcart-how-it-works | 3.37 | 32.72 |
URL Redirects /wp-admin/admin.php?page=nextcart-seo-url | 3.42 | 34.28 |
Settings /wp-admin/admin.php?page=nextcart-settings | 3.37 | 30.00 |
Extra Services /wp-admin/admin.php?page=nextcart-extra-services | 3.37 | 31.21 |
Pro License /wp-admin/admin.php?page=nextcart-unlimited-migration | 3.37 | 30.66 |
Next-Cart Migration /wp-admin/admin.php?page=nextcart-migration | 3.41 | 32.18 |
Server storage [IO: ▲1.76MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 147 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_nextcart_seo_url |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
nextcart_url_redirect |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Next-Cart Store to WooCommerce Migration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲66 | 14.05 ▼0.66 | 1.58 ▼0.12 | 38.39 ▼7.28 |
Dashboard /wp-admin | 2,233 ▲53 | 5.56 ▼0.09 | 95.49 ▼6.03 | 78.49 ▲36.89 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 2.03 ▲0.08 | 38.55 ▼1.08 | 37.44 ▲1.70 |
Add New Post /wp-admin/post-new.php | 1,576 ▲50 | 22.98 ▼0.25 | 571.50 ▼68.59 | 152.81 ▲101.56 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.17 ▼0.03 | 95.73 ▼2.61 | 69.55 ▲27.03 |
How It Works /wp-admin/admin.php?page=nextcart-how-it-works | 854 | 2.13 | 27.18 | 26.35 |
URL Redirects /wp-admin/admin.php?page=nextcart-seo-url | 1,096 | 2.32 | 25.51 | 28.70 |
Settings /wp-admin/admin.php?page=nextcart-settings | 831 | 2.13 | 27.82 | 26.98 |
Extra Services /wp-admin/admin.php?page=nextcart-extra-services | 872 | 2.12 | 25.52 | 24.73 |
Pro License /wp-admin/admin.php?page=nextcart-unlimited-migration | 828 | 2.18 | 24.34 | 24.72 |
Next-Cart Migration /wp-admin/admin.php?page=nextcart-migration | 2,961 | 2.56 | 50.37 | 131.42 |
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
You still need to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_nextcart_seo_url
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- nextcart_url_redirect
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/nextcart-woocommerce-migration/templates/forms/file.php
- > /wp-content/plugins/nextcart-woocommerce-migration/templates/extra-services.php
- > /wp-content/plugins/nextcart-woocommerce-migration/templates/pro-license.php
- > /wp-content/plugins/nextcart-woocommerce-migration/templates/how-it-works.php
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/nextcart-woocommerce-migration/templates/forms/connector.php:2
- > PHP Notice
Undefined variable: cart_type in wp-content/plugins/nextcart-woocommerce-migration/templates/forms/api.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'NCWM_Define' not found in wp-content/plugins/nextcart-woocommerce-migration/templates/setup.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/nextcart-woocommerce-migration/templates/forms/api.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function ncwm_display_template() in wp-content/plugins/nextcart-woocommerce-migration/templates/index.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: woocommerce migration, store to wordpress, migration, migrate to woocommerce, wordpress migration...
nextcart-woocommerce-migration/nextcart-woocommerce-migration.php Passed 13 tests
The primary PHP file in "Next-Cart Store to WooCommerce Migration" version 3.6.6 is used by WordPress to initiate all plugin functionality
102 characters long description:
Migrate products, categories, customers, orders, reviews and other entities to your WooCommerce store.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin7,546 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 577 | 61 | 5,803 |
CSS | 4 | 2 | 27 | 1,054 |
SVG | 1 | 0 | 0 | 685 |
JavaScript | 4 | 0 | 8 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 8.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 100 | |
▷ Abstract classes | 6 | 6.00% |
▷ Concrete classes | 94 | 94.00% |
▷ Final classes | 0 | 0.00% |
Methods | 265 | |
▷ Static methods | 38 | 14.34% |
▷ Public methods | 246 | 92.83% |
▷ Protected methods | 9 | 3.40% |
▷ Private methods | 10 | 3.77% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 14 | |
▷ Global constants | 12 | 85.71% |
▷ Class constants | 2 | 14.29% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
113 PNG files occupy 0.30MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/carts/prestashop.png | 4.29KB | 2.25KB | ▼ 47.46% |
assets/images/carts/virtuemart1.png | 3.57KB | 3.24KB | ▼ 9.27% |
assets/images/carts/xml.png | 1.15KB | 0.74KB | ▼ 35.68% |
assets/images/carts/shopscript.png | 1.54KB | 1.58KB | 0.00% |
assets/images/carts/printify.png | 2.75KB | 1.91KB | ▼ 30.80% |