Benchmarks
Plugin footprint 82% from 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: ▲3.56MB] [CPU: ▲16.07ms] Passed 4 tests
This is a short check of server-side resources used by WP Migrate Lite - WordPress Migration Made Easy
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.37 | 40.16 ▲0.75 |
Dashboard /wp-admin | 7.93 ▲4.58 | 76.47 ▲15.66 |
Posts /wp-admin/edit.php | 8.04 ▲4.68 | 74.77 ▲28.10 |
Add New Post /wp-admin/post-new.php | 10.58 ▲4.69 | 116.95 ▲19.76 |
Media Library /wp-admin/upload.php | 7.85 ▲4.62 | 70.44 ▲35.41 |
WP Migrate /wp-admin/tools.php?page=wp-migrate-db | 8.34 | 82.49 |
Server storage [IO: ▲4.85MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- The plugin illegally modified 1 file (1.44KB) outside of "wp-content/plugins/wp-migrate-db/" and "wp-content/uploads/"
- (new file) wp-content/mu-plugins/wp-migrate-db-pro-compatibility.php
Filesystem: 398 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
WP Migrate Lite - WordPress Migration Made Easy: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.31 ▼0.04 | 1.51 ▼0.15 | 43.07 ▲1.07 |
Dashboard /wp-admin | 2,199 ▲22 | 5.62 ▲0.01 | 83.98 ▼4.08 | 36.02 ▼3.85 |
Posts /wp-admin/edit.php | 2,083 ▼17 | 2.04 ▲0.04 | 35.26 ▼1.88 | 33.28 ▲1.33 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.16 ▲0.08 | 607.17 ▼10.59 | 79.39 ▲17.34 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.29 ▲0.06 | 100.54 ▼8.55 | 50.32 ▲8.21 |
WP Migrate /wp-admin/tools.php?page=wp-migrate-db | 1,080 | 12.10 | 160.54 | 134.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 108× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'DeliciousBrains\\WPMDB\\Container\\DI\\Definition\\Definition' not found in wp-content/plugins/wp-migrate-db/vendor/php-di/php-di/src/DI/Definition/StringDefinition.php:15
- > PHP Fatal error
Uncaught Error: Interface 'DeliciousBrains\\WPMDB\\Container\\DI\\Definition\\CacheableDefinition' not found in wp-content/plugins/wp-migrate-db/vendor/php-di/php-di/src/DI/Definition/AliasDefinition.php:12
- > PHP Fatal error
Uncaught Error: Class 'DeliciousBrains\\WPMDB\\Container\\DI\\Definition\\Source\\DefinitionArray' not found in wp-content/plugins/wp-migrate-db/vendor/php-di/php-di/src/DI/Definition/Source/DefinitionFile.php:11
- > PHP Fatal error
Uncaught Error: Interface 'DeliciousBrains\\WPMDB\\Container\\Dotenv\\Repository\\Adapter\\AvailabilityInterface' not found in wp-content/plugins/wp-migrate-db/vendor/vlucas/phpdotenv/src/Repository/Adapter/PutenvAdapter.php:6
- > PHP Fatal error
Uncaught Error: Interface 'DeliciousBrains\\WPMDB\\Container\\DI\\Definition\\Resolver\\DefinitionResolver' not found in wp-content/plugins/wp-migrate-db/vendor/php-di/php-di/src/DI/Definition/Resolver/ObjectCreator.php:23
- > PHP Fatal error
Uncaught Error: Interface 'DeliciousBrains\\WPMDB\\Container\\DI\\Definition\\Definition' not found in wp-content/plugins/wp-migrate-db/vendor/php-di/php-di/src/DI/Definition/ArrayDefinition.php:13
- > PHP Fatal error
Uncaught Error: Interface 'DeliciousBrains\\WPMDB\\Container\\DI\\Definition\\Resolver\\DefinitionResolver' not found in wp-content/plugins/wp-migrate-db/vendor/php-di/php-di/src/DI/Definition/Resolver/DecoratorResolver.php:15
- > PHP Fatal error
Uncaught Error: Class 'DeliciousBrains\\WPMDB\\Container\\DI\\Definition\\FactoryDefinition' not found in wp-content/plugins/wp-migrate-db/vendor/php-di/php-di/src/DI/Definition/DecoratorDefinition.php:11
- > PHP Fatal error
Uncaught Error: Interface 'DeliciousBrains\\WPMDB\\Common\\Queue\\Connections\\ConnectionInterface' not found in wp-content/plugins/wp-migrate-db/class/Common/Queue/Connections/RedisConnection.php:8
- > PHP Fatal error
Uncaught Error: Interface 'DeliciousBrains\\WPMDB\\Container\\Invoker\\ParameterResolver\\ParameterResolver' not found in wp-content/plugins/wp-migrate-db/vendor/php-di/invoker/src/ParameterResolver/AssociativeArrayResolver.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
wp-migrate-db/wp-migrate-db.php Passed 13 tests
Analyzing the main PHP file in "WP Migrate Lite - WordPress Migration Made Easy" version 2.6.9
137 characters long description:
Migrate your database. Export full sites including media, themes, and plugins. Find and replace content with support for serialized data.
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
No dangerous file extensions were detected23,654 lines of code in 368 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 260 | 4,179 | 10,286 | 20,713 |
Markdown | 16 | 497 | 0 | 1,173 |
JSON | 12 | 0 | 0 | 971 |
SVG | 52 | 0 | 0 | 239 |
JavaScript | 19 | 26 | 39 | 226 |
YAML | 1 | 4 | 0 | 130 |
CSS | 4 | 14 | 1 | 96 |
Sass | 1 | 12 | 0 | 48 |
XML | 1 | 3 | 3 | 24 |
HTML | 1 | 3 | 20 | 18 |
make | 1 | 7 | 0 | 16 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 13.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 309.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 77 | |
Interfaces | 32 | |
Traits | 1 | |
Classes | 204 | |
▷ Abstract classes | 7 | 3.43% |
▷ Concrete classes | 197 | 96.57% |
▷ Final classes | 7 | 3.55% |
Methods | 1,407 | |
▷ Static methods | 182 | 12.94% |
▷ Public methods | 1,236 | 87.85% |
▷ Protected methods | 48 | 3.41% |
▷ Private methods | 123 | 8.74% |
Functions | 87 | |
▷ Named functions | 39 | 44.83% |
▷ Anonymous functions | 48 | 55.17% |
Constants | 47 | |
▷ Global constants | 6 | 12.77% |
▷ Class constants | 41 | 87.23% |
▷ Public constants | 41 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.37MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
frontend/build-free/static/media/wp-migrate-2-6-0.8d26599e.png | 298.60KB | 353.12KB | 0.00% |
frontend/build-free/static/media/testimonial-avatar.309cd834.png | 22.99KB | 8.23KB | ▼ 64.18% |
vendor/container-interop/container-interop/docs/images/side_by_side_containers.png | 15.88KB | 8.43KB | ▼ 46.90% |
vendor/container-interop/container-interop/docs/images/priority.png | 15.87KB | 8.86KB | ▼ 44.20% |
vendor/container-interop/container-interop/docs/images/interoperating_containers.png | 25.13KB | 12.83KB | ▼ 48.97% |