Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼4.41ms] Passed 4 tests
A check of server-side resources used by WP Synchro - WordPress Migration Plugin for Database & Files
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 34.59 ▼6.94 |
Dashboard /wp-admin | 3.67 ▲0.33 | 47.34 ▼10.07 |
Posts /wp-admin/edit.php | 3.72 ▲0.37 | 50.69 ▲1.40 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 96.39 ▼2.02 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 37.24 ▲1.98 |
Logs /wp-admin/admin.php?page=wpsynchro_log | 3.55 | 34.13 |
Support /wp-admin/admin.php?page=wpsynchro_support | 3.76 | 39.47 |
/wp-admin/admin.php?page=wpsynchro_menu | 3.68 | 35.90 |
Changelog /wp-admin/admin.php?page=wpsynchro_changelog | 3.55 | 33.90 |
Setup /wp-admin/admin.php?page=wpsynchro_setup | 3.57 | 33.67 |
/wp-admin/admin.php?page=wpsynchro_addedit | 3.66 | 34.24 |
Overview /wp-admin/admin.php?page=wpsynchro_overview | 3.68 | 31.97 |
/wp-admin/admin.php?page=wpsynchro_run | 3.55 | 33.83 |
Server storage [IO: ▲1.02MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
It is recommended to fix the following issues
- Illegal file modification found: 1 file (1.31KB) outside of "wp-content/plugins/wpsynchro/" and "wp-content/uploads/"
- (new file) wp-content/mu-plugins/wpsynchro-mu-plugin-compat.php
Filesystem: 116 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_wpsynchro_file_population_list |
wp_wpsynchro_sync_list |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
wpsynchro_muplugin_enabled |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
wpsynchro_dbversion |
Browser metrics Passed 4 tests
WP Synchro - WordPress Migration Plugin for Database & Files: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲93 | 14.54 ▲0.16 | 1.87 ▼0.06 | 42.30 ▼0.50 |
Dashboard /wp-admin | 2,238 ▲58 | 5.57 ▼0.09 | 89.80 ▼10.12 | 42.77 ▲2.69 |
Posts /wp-admin/edit.php | 2,141 ▲38 | 1.95 ▼0.07 | 39.64 ▼4.51 | 35.13 ▼4.05 |
Add New Post /wp-admin/post-new.php | 1,559 ▲32 | 23.17 ▲0.06 | 596.40 ▲5.94 | 56.76 ▲8.82 |
Media Library /wp-admin/upload.php | 1,441 ▲38 | 4.21 ▼0.02 | 96.34 ▼4.27 | 41.85 ▲0.23 |
Logs /wp-admin/admin.php?page=wpsynchro_log | 860 | 2.57 | 86.81 | 28.14 |
Support /wp-admin/admin.php?page=wpsynchro_support | 922 | 2.82 | 88.35 | 40.58 |
/wp-admin/admin.php?page=wpsynchro_menu | 1,002 | 2.56 | 33.31 | 52.37 |
Changelog /wp-admin/admin.php?page=wpsynchro_changelog | 842 | 2.55 | 31.20 | 29.58 |
Setup /wp-admin/admin.php?page=wpsynchro_setup | 973 | 2.75 | 30.93 | 28.36 |
/wp-admin/admin.php?page=wpsynchro_addedit | 1,105 | 3.04 | 41.47 | 30.30 |
Overview /wp-admin/admin.php?page=wpsynchro_overview | 1,005 | 2.56 | 34.25 | 39.93 |
/wp-admin/admin.php?page=wpsynchro_run | 827 | 2.73 | 32.25 | 23.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/wpsynchro/src/Utilities/Activation.php+126
unlink(wp-content/uploads/wpsynchro//.): Is a directory
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpsynchro_support
- > POST request to /?action=wpsynchro_masterdata&type%5B0%5D=dbtables&type%5B1%5D=filedetails&token=535e046872aa9dcce8ac3e1535c1874a25cf3dc883f297a0bb1c3d7e28ca78d3
- > User notice in wp-content/plugins/wpsynchro/src/API/MasterData.php+561
__clean_error_info
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 34× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WPSynchro\\API\\WPSynchroService' not found in wp-content/plugins/wpsynchro/src/API/FileTransfer.php:15
- > PHP Fatal error
Uncaught Error: Class 'WPSynchro\\API\\WPSynchroService' not found in wp-content/plugins/wpsynchro/src/API/ClientSyncDatabase.php:15
- > PHP Fatal error
Uncaught Error: Interface 'WPSynchro\\Logger\\LoggerInterface' not found in wp-content/plugins/wpsynchro/src/Logger/NullLogger.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPSynchro\\API\\WPSynchroService' not found in wp-content/plugins/wpsynchro/src/API/StatusFileChanges.php:14
- > PHP Fatal error
Uncaught Error: Class 'WPSynchro\\API\\WPSynchroService' not found in wp-content/plugins/wpsynchro/src/API/DatabaseBackup.php:18
- > PHP Fatal error
Uncaught Error: Class 'WPSynchro\\API\\WPSynchroService' not found in wp-content/plugins/wpsynchro/src/API/Migrate.php:13
- > PHP Fatal error
Uncaught Error: Class 'WPSynchro\\API\\WPSynchroService' not found in wp-content/plugins/wpsynchro/src/API/SaveMigration.php:12
- > PHP Fatal error
Uncaught Error: Class 'WPSynchro\\API\\WPSynchroService' not found in wp-content/plugins/wpsynchro/src/API/ExecuteAction.php:17
- > PHP Fatal error
Uncaught Error: Class 'WPSynchro\\API\\WPSynchroService' not found in wp-content/plugins/wpsynchro/src/API/VerifyMigration.php:20
- > PHP Fatal error
Uncaught Error: Interface 'WPSynchro\\Transport\\RemoteConnection' not found in wp-content/plugins/wpsynchro/src/Transport/RemoteTestTransport.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: migration, migrate, database, clone, files
wpsynchro/wpsynchro.php Passed 13 tests
"WP Synchro - WordPress Migration Plugin for Database & Files" version 1.11.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
87 characters long description:
Professional migration plugin for WordPress - Migration of database and files made easy
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin8,804 lines of code in 109 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 103 | 1,678 | 2,883 | 8,778 |
CSS | 2 | 13 | 0 | 12 |
JSON | 2 | 0 | 0 | 12 |
JavaScript | 2 | 0 | 1 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 14.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 3.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 3 | |
Traits | 1 | |
Classes | 87 | |
▷ Abstract classes | 1 | 1.15% |
▷ Concrete classes | 86 | 98.85% |
▷ Final classes | 0 | 0.00% |
Methods | 450 | |
▷ Static methods | 43 | 9.56% |
▷ Public methods | 405 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 45 | 10.00% |
Functions | 34 | |
▷ Named functions | 4 | 11.76% |
▷ Anonymous functions | 30 | 88.24% |
Constants | 27 | |
▷ Global constants | 7 | 25.93% |
▷ Class constants | 20 | 74.07% |
▷ Public constants | 20 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/ad1a7bb1dc057be5c9a6929d1aaa4f7d.png | 8.11KB | 3.99KB | ▼ 50.79% |