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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼288.25ms] Passed 4 tests
This is a short check of server-side resources used by Cart2Cart: Zen Cart to WooCommerce Migration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.23 | 57.08 ▲4.72 |
Dashboard /wp-admin | 3.59 ▲0.18 | 40.09 ▲5.73 |
Posts /wp-admin/edit.php | 3.82 ▲0.18 | 40.17 ▲2.66 |
Add New Post /wp-admin/post-new.php | 7.06 ▲0.08 | 95.91 ▼1,160.31 |
Media Library /wp-admin/upload.php | 3.47 ▲0.17 | 25.20 ▼0.07 |
Live Chat & Help /wp-admin/admin.php?page=cart2cart-migration-help | 3.47 | 24.70 |
Cart2Cart Migration /wp-admin/admin.php?page=cart2cart-migration | 3.47 | 25.00 |
How it works /wp-admin/admin.php?page=cart2cart-how-it-works | 3.47 | 23.58 |
Settings /wp-admin/admin.php?page=cart2cart-migration-settings | 3.45 | 24.69 |
Additional Services /wp-admin/admin.php?page=cart2cart-additional-services | 3.47 | 22.45 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 23 new files
Database: 1 new table, no new options
New tables |
---|
wp_c2c_config |
Browser metrics Passed 4 tests
An overview of browser requirements for Cart2Cart: Zen Cart to WooCommerce Migration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,808 ▲54 | 15.90 ▲0.30 | 5.92 ▼0.89 | 2.12 ▼0.31 |
Dashboard /wp-admin | 2,932 ▲71 | 6.17 ▲0.03 | 122.01 ▼11.27 | 174.54 ▲12.63 |
Posts /wp-admin/edit.php | 2,729 ▲38 | 3.12 ▼0.11 | 60.64 ▼4.59 | 144.83 ▲0.42 |
Add New Post /wp-admin/post-new.php | 1,695 ▲34 | 19.17 ▲2.53 | 396.56 ▼26.43 | 190.80 ▲24.24 |
Media Library /wp-admin/upload.php | 1,744 ▲43 | 5.53 ▲0.00 | 127.54 ▼14.93 | 199.69 ▲11.61 |
Live Chat & Help /wp-admin/admin.php?page=cart2cart-migration-help | 1,375 | 7.17 | 221.26 | 152.52 |
Cart2Cart Migration /wp-admin/admin.php?page=cart2cart-migration | 1,767 | 8.22 | 227.63 | 183.51 |
How it works /wp-admin/admin.php?page=cart2cart-how-it-works | 1,395 | 6.94 | 138.87 | 123.88 |
Settings /wp-admin/admin.php?page=cart2cart-migration-settings | 1,032 | 2.38 | 54.22 | 89.43 |
Additional Services /wp-admin/admin.php?page=cart2cart-additional-services | 1,467 | 7.14 | 137.91 | 136.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/cart2cart-zen-cart-to-woocommerce-migration/bridge2cart/bridge.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cart2cart-zen-cart-to-woocommerce-migration/passwords/cart2cart-password-migration.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cart2cart-zen-cart-to-woocommerce-migration/passwords/cart2cart-password-migration.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Contributors: The plugin contributors field is not present
cart2cart-zen-cart-to-woocommerce-migration/index.php 85% from 13 tests
"Cart2Cart: Zen Cart to WooCommerce Migration" version 2.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cart2cart-zen-cart-to-woocommerce-migration.php" instead of "index.php")
- Description: The description should be shorter than 140 characters (currently 179 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin5,647 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 1,268 | 1,299 | 5,629 |
CSS | 1 | 4 | 0 | 18 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 13.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 4.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 80.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 83 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 83 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 257 | |
▷ Static methods | 14 | 5.45% |
▷ Public methods | 204 | 79.38% |
▷ Protected methods | 46 | 17.90% |
▷ Private methods | 7 | 2.72% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
Constants | 85 | |
▷ Global constants | 40 | 47.06% |
▷ Class constants | 45 | 52.94% |
▷ 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% |