Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼285.88ms] Passed 4 tests
Server-side resources used by Cart2Cart: WP e-Commerce Shopsoftware to WooCommerce Migration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.23 | 61.43 ▲10.00 |
Dashboard /wp-admin | 3.59 ▲0.18 | 94.38 ▲60.68 |
Posts /wp-admin/edit.php | 3.82 ▲0.18 | 46.28 ▲10.38 |
Add New Post /wp-admin/post-new.php | 7.06 ▲0.09 | 109.81 ▼1,163.34 |
Media Library /wp-admin/upload.php | 3.47 ▲0.17 | 26.96 ▼0.57 |
Cart2Cart Migration /wp-admin/admin.php?page=cart2cart-migration | 3.46 | 23.58 |
Settings /wp-admin/admin.php?page=cart2cart-migration-settings | 3.45 | 24.98 |
Live Chat & Help /wp-admin/admin.php?page=cart2cart-migration-help | 3.46 | 22.37 |
Additional Services /wp-admin/admin.php?page=cart2cart-additional-services | 3.46 | 23.53 |
How it works /wp-admin/admin.php?page=cart2cart-how-it-works | 3.46 | 22.25 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
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
A check of browser resources used by Cart2Cart: WP e-Commerce Shopsoftware to WooCommerce Migration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,808 ▲86 | 15.77 ▲0.10 | 5.54 ▼0.22 | 1.98 ▼0.10 |
Dashboard /wp-admin | 2,935 ▲74 | 6.15 ▼0.03 | 144.91 ▲17.89 | 179.23 ▲19.73 |
Posts /wp-admin/edit.php | 2,736 ▲45 | 3.13 ▼0.09 | 63.83 ▲0.58 | 143.12 ▲0.32 |
Add New Post /wp-admin/post-new.php | 1,739 ▲78 | 20.89 ▲4.72 | 408.37 ▼4.69 | 196.65 ▲40.08 |
Media Library /wp-admin/upload.php | 1,741 ▲43 | 5.47 ▼0.03 | 124.55 ▼20.17 | 206.24 ▲20.51 |
Cart2Cart Migration /wp-admin/admin.php?page=cart2cart-migration | 1,763 | 8.28 | 220.68 | 184.09 |
Settings /wp-admin/admin.php?page=cart2cart-migration-settings | 1,029 | 2.40 | 50.94 | 89.05 |
Live Chat & Help /wp-admin/admin.php?page=cart2cart-migration-help | 1,369 | 7.16 | 214.00 | 141.07 |
Additional Services /wp-admin/admin.php?page=cart2cart-additional-services | 1,467 | 6.90 | 141.85 | 135.70 |
How it works /wp-admin/admin.php?page=cart2cart-how-it-works | 1,392 | 6.94 | 136.68 | 135.81 |
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
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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 fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cart2cart-wp-e-commerce-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-wp-e-commerce-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-wp-e-commerce-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
Everything seems fine, but this is not an exhaustive test
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
Please fix the following attributes:
- Contributors: Contributors not specified
cart2cart-wp-e-commerce-to-woocommerce-migration/index.php 85% from 13 tests
The principal PHP file in "Cart2Cart: WP e-Commerce Shopsoftware to WooCommerce Migration" v. 2.0.0 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("cart2cart-wp-e-commerce-to-woocommerce-migration.php" instead of "index.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 179 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions 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
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems 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
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% |