Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼146.95ms] Passed 4 tests
A check of server-side resources used by Cart2Cart: BigCommerce to WooCommerce Migration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 33.03 ▲6.59 |
Dashboard /wp-admin | 3.09 ▲0.03 | 43.66 ▼9.90 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 45.83 ▼3.64 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 89.92 ▼575.07 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 34.24 ▲0.83 |
Live Chat & Help /wp-admin/admin.php?page=cart2cart-migration-help | 3.05 | 28.70 |
Settings /wp-admin/admin.php?page=cart2cart-migration-settings | 3.04 | 29.44 |
Additional Services /wp-admin/admin.php?page=cart2cart-additional-services | 3.03 | 27.52 |
How it works /wp-admin/admin.php?page=cart2cart-how-it-works | 3.00 | 29.88 |
Cart2Cart Migration /wp-admin/admin.php?page=cart2cart-migration | 3.03 | 29.84 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 21 new files
Database: 1 new table, no new options
New tables |
---|
wp_c2c_config |
Browser metrics Passed 4 tests
Cart2Cart: BigCommerce to WooCommerce Migration: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,746 ▲150 | 15.80 ▲0.28 | 7.63 ▼3.07 | 50.15 ▲3.15 |
Dashboard /wp-admin | 3,003 ▲69 | 5.90 ▼0.05 | 126.91 ▼34.39 | 135.00 ▲15.10 |
Posts /wp-admin/edit.php | 2,800 ▲61 | 2.69 ▲0.01 | 60.76 ▼13.81 | 93.35 ▼6.80 |
Add New Post /wp-admin/post-new.php | 1,643 ▼40 | 21.65 ▲2.95 | 280.06 ▼63.38 | 103.86 ▼1.86 |
Media Library /wp-admin/upload.php | 1,797 ▼7 | 5.01 ▼0.02 | 129.37 ▼23.99 | 138.04 ▲13.82 |
Live Chat & Help /wp-admin/admin.php?page=cart2cart-migration-help | 1,400 | 5.05 | 119.99 | 87.52 |
Settings /wp-admin/admin.php?page=cart2cart-migration-settings | 1,074 | 2.14 | 51.02 | 58.15 |
Additional Services /wp-admin/admin.php?page=cart2cart-additional-services | 1,534 | 5.50 | 149.10 | 68.72 |
How it works /wp-admin/admin.php?page=cart2cart-how-it-works | 1,455 | 7.45 | 172.80 | 107.27 |
Cart2Cart Migration /wp-admin/admin.php?page=cart2cart-migration | 1,830 | 8.41 | 204.49 | 100.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however 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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/cart2cart-bigcommerce-to-woocommerce-migration/bridge2cart/bridge.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function Cart2cart\\plugin_dir_path() in wp-content/plugins/cart2cart-bigcommerce-to-woocommerce-migration/class/AutoLoad.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=cart2cart-migration-help
- > Javascript (severe) in unknown
https://woocommerce.app.shopping-cart-migration.com/module/woocommerce/help-and-faqs 63:2 Uncaught SyntaxError: Unexpected token '}'
- > GET request to /wp-admin/admin.php?page=cart2cart-additional-services
- > Javascript (severe) in unknown
https://woocommerce.app.shopping-cart-migration.com/module/woocommerce/additional-services 63:2 Uncaught SyntaxError: Unexpected token '}'
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cart2cart-how-it-works
- > Console-api (warning) in unknown
https://static.hotjar.com/c/hotjar-2264794.js?sv=7 2:1244 "Hotjar not launching due to suspicious userAgent:" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/95.0.4638.69 Safari/537.36"
- > GET request to /wp-admin/admin.php?page=cart2cart-how-it-works
- > Javascript (severe) in unknown
https://woocommerce.app.shopping-cart-migration.com/module/woocommerce/how-it-works/sourceId/Bigcommerce/targetId/Woocommerce 63:2 Uncaught SyntaxError: Unexpected token '}'
- > GET request to /wp-admin/admin.php?page=cart2cart-migration
- > Javascript (severe) in unknown
https://woocommerce.app.shopping-cart-migration.com/from-bigcommerce-to-woocommerce/?storeUrl=http%3A%2F%2Fwp.com&storeAdminUrl=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php 79:2 Uncaught SyntaxError: Unexpected token '}'
- > GET request to /wp-admin/admin.php?page=cart2cart-migration
- > Console-api (warning) in unknown
https://d2wy8f7a9ursnm.cloudfront.net/bugsnag-3.min.js 0:3969 "Hotjar not launching due to suspicious userAgent:" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/95.0.4638.69 Safari/537.36"
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Contributors: The plugin contributors field is not present
- Screenshots: Screenshot #8 (screenshot-8.png) image required
cart2cart-bigcommerce-to-woocommerce-migration/index.php 85% from 13 tests
The entry point to "Cart2Cart: BigCommerce to WooCommerce Migration" version 2.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("cart2cart-bigcommerce-to-woocommerce-migration.php" instead of "index.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 179 characters long)
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
Good job! No executable or dangerous file extensions detected4,949 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 1,154 | 1,272 | 4,931 |
CSS | 1 | 4 | 0 | 18 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 4.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 80.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 81 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 81 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 233 | |
▷ Static methods | 14 | 6.01% |
▷ Public methods | 181 | 77.68% |
▷ Protected methods | 45 | 19.31% |
▷ Private methods | 7 | 3.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 81 | |
▷ Global constants | 36 | 44.44% |
▷ Class constants | 45 | 55.56% |
▷ Public constants | 45 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon.png | 4.28KB | 1.39KB | ▼ 67.49% |