Benchmarks
Plugin footprint 81% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲7.22MB] [CPU: ▲31.15ms] 50% from 4 tests
Server-side resources used by WordPress Migration Plugin - Transferito
Please have a look at the following items
- RAM: Total memory usage must be kept under 10MB (currently 10.50MB on /wp-admin/admin.php?page=transferito-main)
- Extra RAM: Extra memory usage must be kept under 5MB (currently 7.22MB on /wp-admin/admin.php?page=transferito-main)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 10.69 ▲7.22 | 72.82 ▲32.06 |
Dashboard /wp-admin | 10.54 ▲7.19 | 82.07 ▲13.79 |
Posts /wp-admin/edit.php | 10.65 ▲7.29 | 89.96 ▲39.14 |
Add New Post /wp-admin/post-new.php | 13.12 ▲7.23 | 134.78 ▲42.31 |
Media Library /wp-admin/upload.php | 10.46 ▲7.23 | 75.57 ▲39.61 |
Settings /wp-admin/admin.php?page=transferito-settings | 10.48 | 65.40 |
Start Migration /wp-admin/admin.php?page=transferito-main | 10.50 | 65.85 |
Server storage [IO: ▲29.77MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Please try to fix the following items
- Try to limit filesystem usage to 25MB (currently using 29.77MB)
Filesystem: 1,784 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
WordPress Migration Plugin - Transferito: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲97 | 14.14 ▼0.14 | 1.89 ▲0.18 | 35.63 ▼8.20 |
Dashboard /wp-admin | 2,224 ▲50 | 5.49 ▼0.09 | 97.41 ▼2.25 | 41.66 ▼2.25 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 1.97 ▼0.00 | 40.29 ▲3.54 | 36.23 ▲2.94 |
Add New Post /wp-admin/post-new.php | 1,551 ▲15 | 23.05 ▼0.12 | 666.52 ▲16.92 | 71.04 ▲7.22 |
Media Library /wp-admin/upload.php | 1,429 ▲32 | 4.25 ▲0.04 | 96.19 ▼10.22 | 44.55 ▼2.17 |
Settings /wp-admin/admin.php?page=transferito-settings | 1,147 | 1.97 | 23.78 | 43.67 |
Start Migration /wp-admin/admin.php?page=transferito-main | 1,650 | 6.68 | 116.53 | 57.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
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
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 40× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/transferito/src/Views/parts/notice.php
- > /wp-content/plugins/transferito/src/Views/html/nav/manual.html.php
- > /wp-content/plugins/transferito/src/Views/html/modals/manual/database-detail/user.html.php
- > /wp-content/plugins/transferito/src/Views/html/modals/manual/database-detail/name.html.php
- > /wp-content/plugins/transferito/src/Views/parts/migration/failure.php
- > /wp-content/plugins/transferito/src/Views/parts/migration/navigation.php
- > /wp-content/plugins/transferito/src/Views/parts/migration/pro-tip.php
- > /wp-content/plugins/transferito/src/Views/html/modals/manual/server-detail/host.html.php
- > /wp-content/plugins/transferito/src/Views/html/modals/exec.html.php
- > /wp-content/plugins/transferito/src/Views/html/modals/manual/server-detail/port.html.php
- 755× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/transferito/aws/Aws/CodeStarconnections/Exception/CodeStarconnectionsException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/transferito/aws/Aws/ApplicationDiscoveryService/ApplicationDiscoveryServiceClient.php:59
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/transferito/aws/Aws/LocationService/Exception/LocationServiceException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Api\\Parser\\AbstractParser' not found in wp-content/plugins/transferito/aws/Aws/Api/Parser/Crc32ValidatingParser.php:14
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/transferito/aws/Aws/CognitoIdentity/CognitoIdentityClient.php:56
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/transferito/aws/Aws/MediaStore/Exception/MediaStoreException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/transferito/aws/Aws/WorkMail/Exception/WorkMailException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/transferito/aws/Aws/Health/Exception/HealthException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Api\\AbstractModel' not found in wp-content/plugins/transferito/aws/Aws/Api/Operation.php:7
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/transferito/aws/Aws/Textract/TextractClient.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: migrate, wordpress migration, wordpress transfer, migrate wordpress, move...
transferito/transferito.php Passed 13 tests
This is the main PHP file of "WordPress Migration Plugin - Transferito" version 9.2.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
65 characters long description:
Quickly transfer a WordPress site and database to another server.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin64,220 lines of code in 1,763 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,727 | 8,376 | 39,910 | 53,853 |
Markdown | 4 | 2,538 | 0 | 6,821 |
JavaScript | 2 | 322 | 1,110 | 1,707 |
CSS | 3 | 219 | 62 | 1,030 |
SVG | 27 | 0 | 0 | 809 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 179)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 5.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 179.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 179.00 |
Code structure | ||
---|---|---|
Namespaces | 584 | |
Interfaces | 45 | |
Traits | 24 | |
Classes | 837 | |
▷ Abstract classes | 13 | 1.55% |
▷ Concrete classes | 824 | 98.45% |
▷ Final classes | 25 | 3.03% |
Methods | 2,529 | |
▷ Static methods | 426 | 16.84% |
▷ Public methods | 1,755 | 69.40% |
▷ Protected methods | 130 | 5.14% |
▷ Private methods | 644 | 25.46% |
Functions | 461 | |
▷ Named functions | 90 | 19.52% |
▷ Anonymous functions | 371 | 80.48% |
Constants | 308 | |
▷ Global constants | 51 | 16.56% |
▷ Class constants | 257 | 83.44% |
▷ Public constants | 257 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/Views/Assets/images/icon__support.png | 0.71KB | 0.45KB | ▼ 36.94% |
src/Views/Assets/images/transferito_logo.png | 31.78KB | 8.19KB | ▼ 74.23% |
src/Views/Assets/images/cpanel_logo.png | 6.70KB | 4.08KB | ▼ 39.15% |
src/Views/Assets/images/icon__upgrade.png | 48.62KB | 18.65KB | ▼ 61.65% |
src/Views/Assets/images/ftp_icon.png | 3.77KB | 1.47KB | ▼ 61.03% |