Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼294.52ms] Passed 4 tests
This is a short check of server-side resources used by Cart2Cart: VirtueMart to WooCommerce Migration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.23 | 58.13 ▲3.70 |
Dashboard /wp-admin | 3.60 ▲0.18 | 36.06 ▼0.73 |
Posts /wp-admin/edit.php | 3.82 ▲0.18 | 107.59 ▲67.13 |
Add New Post /wp-admin/post-new.php | 7.06 ▲0.08 | 92.92 ▼1,184.01 |
Media Library /wp-admin/upload.php | 3.47 ▲0.17 | 28.13 ▲2.97 |
Cart2Cart Migration /wp-admin/admin.php?page=cart2cart-migration | 3.47 | 28.28 |
Additional Services /wp-admin/admin.php?page=cart2cart-additional-services | 3.47 | 28.59 |
How it works /wp-admin/admin.php?page=cart2cart-how-it-works | 3.47 | 23.93 |
Live Chat & Help /wp-admin/admin.php?page=cart2cart-migration-help | 3.47 | 37.15 |
Settings /wp-admin/admin.php?page=cart2cart-migration-settings | 3.45 | 24.35 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 23 new files
Database: 1 new table, no new options
New tables |
---|
wp_c2c_config |
Browser metrics Passed 4 tests
Cart2Cart: VirtueMart to WooCommerce Migration: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,805 ▲61 | 16.17 ▲0.57 | 5.96 ▼0.55 | 2.25 ▼0.25 |
Dashboard /wp-admin | 2,936 ▲78 | 6.14 ▼0.07 | 123.33 ▼10.19 | 185.67 ▲17.90 |
Posts /wp-admin/edit.php | 2,731 ▲40 | 3.24 ▲0.00 | 64.05 ▲2.04 | 147.16 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,801 ▲90 | 21.87 ▲1.28 | 441.10 ▼46.55 | 245.30 ▲82.79 |
Media Library /wp-admin/upload.php | 1,739 ▲48 | 5.47 ▼0.04 | 125.38 ▼44.78 | 284.20 ▲53.96 |
Cart2Cart Migration /wp-admin/admin.php?page=cart2cart-migration | 1,757 | 7.67 | 227.50 | 238.81 |
Additional Services /wp-admin/admin.php?page=cart2cart-additional-services | 1,470 | 7.24 | 198.88 | 124.86 |
How it works /wp-admin/admin.php?page=cart2cart-how-it-works | 1,394 | 6.97 | 187.58 | 142.06 |
Live Chat & Help /wp-admin/admin.php?page=cart2cart-migration-help | 1,340 | 6.97 | 139.78 | 159.18 |
Settings /wp-admin/admin.php?page=cart2cart-migration-settings | 1,028 | 2.41 | 54.52 | 95.13 |
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 completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/cart2cart-virtuemart-to-woocommerce-migration/bridge2cart/bridge.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cart2cart-virtuemart-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-virtuemart-to-woocommerce-migration/passwords/cart2cart-password-migration.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Contributors: Plugin contributors not specified
cart2cart-virtuemart-to-woocommerce-migration/index.php 85% from 13 tests
The main PHP file in "Cart2Cart: VirtueMart to WooCommerce Migration" ver. 2.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 179 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("cart2cart-virtuemart-to-woocommerce-migration.php" instead of "index.php")
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 detected5,645 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 | 16 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
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
PNG files should be compressed to save space and minimize bandwidth usage
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% |