Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.99ms] Passed 4 tests
This is a short check of server-side resources used by Cart2Cart Universal Migration App
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 35.91 ▼2.00 |
Dashboard /wp-admin | 3.41 ▲0.11 | 44.72 ▼1.94 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 48.87 ▲2.18 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 88.96 ▼6.69 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.29 ▼1.33 |
Additional Services /wp-admin/admin.php?page=cart2cart-additional-services | 3.35 | 30.97 |
How it works /wp-admin/admin.php?page=cart2cart-how-it-works | 3.34 | 31.08 |
Cart2Cart Migration /wp-admin/admin.php?page=cart2cart-migration | 3.34 | 29.79 |
Live Chat & Help /wp-admin/admin.php?page=cart2cart-migration-help | 3.34 | 27.79 |
Server storage [IO: ▲0.73MB] [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: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Cart2Cart Universal Migration App
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 13.24 ▼1.13 | 1.60 ▼0.10 | 39.69 ▼2.22 |
Dashboard /wp-admin | 2,239 ▲54 | 4.93 ▼0.92 | 98.20 ▼3.79 | 75.58 ▲32.90 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.02 ▲0.02 | 38.53 ▲2.00 | 34.85 ▲3.03 |
Add New Post /wp-admin/post-new.php | 1,542 ▲20 | 17.69 ▼5.53 | 647.08 ▼6.11 | 56.46 ▲5.88 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.17 ▼0.08 | 96.46 ▼10.49 | 70.17 ▲24.24 |
Additional Services /wp-admin/admin.php?page=cart2cart-additional-services | 1,086 | 2.03 | 25.06 | 210.63 |
How it works /wp-admin/admin.php?page=cart2cart-how-it-works | 1,137 | 1.98 | 23.70 | 113.69 |
Cart2Cart Migration /wp-admin/admin.php?page=cart2cart-migration | 1,187 | 2.02 | 25.33 | 197.05 |
Live Chat & Help /wp-admin/admin.php?page=cart2cart-migration-help | 1,015 | 2.18 | 24.30 | 81.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% 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 50% 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
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function has_filter() in wp-content/plugins/cart2cart-universal-store-migration-app/passwords/cart2cart-password-migration.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function has_filter() in wp-content/plugins/cart2cart-universal-store-migration-app/passwords/cart2cart-password-migration.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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 your attention:
- Screenshots: These screenshots require images: #7 (screenshot-7.png), #8 (screenshot-8.png)
- Contributors: The plugin contributors field is missing
cart2cart-universal-store-migration-app/index.php 85% from 13 tests
The main PHP script in "Cart2Cart Universal Migration App" version 2.0.1 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 179 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("cart2cart-universal-store-migration-app.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected4,686 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 53 | 19 | 3,560 |
PHP | 10 | 137 | 33 | 1,123 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 12.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 3 | 10.34% |
▷ Public methods | 27 | 93.10% |
▷ Protected methods | 1 | 3.45% |
▷ Private methods | 1 | 3.45% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 1 | 12.50% |
▷ Class constants | 7 | 87.50% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
18 PNG files occupy 0.40MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/eyes.png | 0.76KB | 0.44KB | ▼ 41.83% |
img/cost-migration.png | 16.45KB | 6.98KB | ▼ 57.57% |
img/universal-migration.png | 23.78KB | 10.26KB | ▼ 56.84% |
img/background.png | 134.27KB | 59.59KB | ▼ 55.62% |
img/universal-app.png | 22.67KB | 9.80KB | ▼ 56.78% |