Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼291.31ms] Passed 4 tests
This is a short check of server-side resources used by Cart2Cart: WooCommerce to WooCommerce Migration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.08 | 51.85 ▼0.03 |
Dashboard /wp-admin | 3.45 ▲0.04 | 32.44 ▼1.45 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 36.93 ▲1.02 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 92.32 ▼1,164.77 |
Media Library /wp-admin/upload.php | 3.32 ▲0.03 | 24.73 ▲1.39 |
Additional Services /wp-admin/admin.php?page=cart2cart-additional-services | 3.35 | 22.38 |
Settings /wp-admin/admin.php?page=cart2cart-migration-settings | 3.33 | 26.01 |
How it works /wp-admin/admin.php?page=cart2cart-how-it-works | 3.29 | 21.53 |
Cart2Cart Migration /wp-admin/admin.php?page=cart2cart-migration | 3.33 | 24.77 |
Live Chat & Help /wp-admin/admin.php?page=cart2cart-migration-help | 3.33 | 20.66 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: 1 new table, no new options
New tables |
---|
wp_c2c_config |
Browser metrics Passed 4 tests
Cart2Cart: WooCommerce to WooCommerce Migration: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,805 ▲51 | 15.70 ▼0.36 | 5.77 ▼0.92 | 2.12 ▼0.48 |
Dashboard /wp-admin | 2,936 ▲75 | 6.22 ▲0.05 | 117.93 ▼15.72 | 171.16 ▲9.49 |
Posts /wp-admin/edit.php | 2,736 ▲48 | 3.13 ▼0.11 | 61.67 ▼1.32 | 140.83 ▲0.53 |
Add New Post /wp-admin/post-new.php | 1,780 ▲119 | 21.27 ▲5.17 | 407.27 ▼27.70 | 190.94 ▲34.56 |
Media Library /wp-admin/upload.php | 1,741 ▲43 | 5.50 ▲0.02 | 123.39 ▼16.73 | 209.99 ▲32.94 |
Additional Services /wp-admin/admin.php?page=cart2cart-additional-services | 1,463 | 7.17 | 192.13 | 132.04 |
Settings /wp-admin/admin.php?page=cart2cart-migration-settings | 1,028 | 2.40 | 51.60 | 88.40 |
How it works /wp-admin/admin.php?page=cart2cart-how-it-works | 1,392 | 7.20 | 191.69 | 113.51 |
Cart2Cart Migration /wp-admin/admin.php?page=cart2cart-migration | 1,767 | 8.09 | 166.77 | 178.25 |
Live Chat & Help /wp-admin/admin.php?page=cart2cart-migration-help | 1,369 | 6.92 | 137.56 | 152.72 |
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
The plugin uninstalled successfully, without leaving any zombie files or tables
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
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cart2cart-woocommerce-to-woocommerce-migration/bridge2cart/bridge.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cart2cart-woocommerce-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-woocommerce-to-woocommerce-migration/passwords/cart2cart-password-migration.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Contributors: Contributors not specified
cart2cart-woocommerce-to-woocommerce-migration/index.php 85% from 13 tests
The main PHP script in "Cart2Cart: WooCommerce to WooCommerce Migration" version 2.0.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("cart2cart-woocommerce-to-woocommerce-migration.php" instead of "index.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 179 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected5,646 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 1,267 | 1,299 | 5,628 |
CSS | 1 | 4 | 0 | 18 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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% |