Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲2.22MB] [CPU: ▲32.22ms] Passed 4 tests
Analyzing server-side resources used by WP Duplicate - WordPress Migration Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.73 ▲2.26 | 86.25 ▲37.42 |
Dashboard /wp-admin | 5.56 ▲2.25 | 91.69 ▲38.47 |
Posts /wp-admin/edit.php | 5.61 ▲2.25 | 82.50 ▲30.64 |
Add New Post /wp-admin/post-new.php | 8.09 ▲2.21 | 122.08 ▲22.35 |
Media Library /wp-admin/upload.php | 5.42 ▲2.19 | 74.29 ▲38.55 |
Server storage [IO: ▲2.11MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 78 new files
Database: 7 new tables, 6 new options
New tables |
---|
wp_local_sync_delete_list |
wp_local_sync_processed_iterator |
wp_local_sync_local_site_files |
wp_local_sync_current_process |
wp_local_sync_local_site_new_attachments |
wp_local_sync_inc_exc_contents |
wp_local_sync_options |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Duplicate - WordPress Migration Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲116 | 13.64 ▼0.71 | 8.15 ▲6.51 | 42.19 ▼2.86 |
Dashboard /wp-admin | 2,225 ▲51 | 5.87 ▲0.32 | 90.80 ▼2.40 | 47.11 ▲3.32 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.50 ▲0.52 | 39.78 ▲3.30 | 31.87 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,564 ▲38 | 22.33 ▼0.85 | 711.07 ▲6.21 | 37.97 ▼25.64 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.54 ▲0.27 | 105.19 ▼8.00 | 44.13 ▼3.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
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
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/local-sync/public/partials/local-sync-public-display.php
- > /wp-content/plugins/local-sync/admin/partials/local-sync-admin-display.php
- > /wp-content/plugins/local-sync/local-sync-bridge/index.php
- 29× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
include_once(): Failed opening 'wp-content/plugins/local-sync/local-sync-bridge/admin/class-local-sync-zip-facade.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/local-sync/local-sync-bridge/index.php on line 36
- > PHP Warning
include_once(wp-content/plugins/local-sync/local-sync-bridge/admin/class-local-sync-file-iterator.php): failed to open stream: No such file or directory in wp-content/plugins/local-sync/local-sync-bridge/index.php on line 41
- > PHP Fatal error
Uncaught Error: Class 'Local_Sync_Constants' not found in wp-content/plugins/local-sync/local-sync-bridge/index.php:61
- > PHP Warning
include_once(): Failed opening 'wp-content/plugins/local-sync/local-sync-bridge/admin/class-local-sync-exclude-option.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/local-sync/local-sync-bridge/index.php on line 39
- > PHP Warning
include_once(): Failed opening 'wp-content/plugins/local-sync/local-sync-bridge/admin/class-local-sync-replace-db-links.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/local-sync/local-sync-bridge/index.php on line 38
- > PHP Warning
include_once(wp-content/plugins/local-sync/local-sync-bridge/admin/class-local-sync-replace-db-links.php): failed to open stream: No such file or directory in wp-content/plugins/local-sync/local-sync-bridge/index.php on line 38
- > PHP Warning
include_once(): Failed opening 'wp-content/plugins/local-sync/local-sync-bridge/wp-tc-config.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/local-sync/local-sync-bridge/index.php on line 26
- > PHP Warning
include_once(wp-content/plugins/local-sync/local-sync-bridge/admin/class-local-sync-zip-facade.php): failed to open stream: No such file or directory in wp-content/plugins/local-sync/local-sync-bridge/index.php on line 36
- > PHP Warning
include_once(wp-content/plugins/local-sync/local-sync-bridge/admin/class-local-sync-exclude-option.php): failed to open stream: No such file or directory in wp-content/plugins/local-sync/local-sync-bridge/index.php on line 39
- > PHP Warning
include_once(wp-content/plugins/local-sync/local-sync-bridge/includes/class-local-sync-options.php): failed to open stream: No such file or directory in wp-content/plugins/local-sync/local-sync-bridge/index.php on line 43
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #2 (Live Site settings page.) image missing
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
local-sync/local-sync.php Passed 13 tests
This is the main PHP file of "WP Duplicate - WordPress Migration Plugin" version 1.1.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
60 characters long description:
Easily migrate your WordPress Site from one host to another.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin23,208 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 6,053 | 7,336 | 17,562 |
JavaScript | 8 | 602 | 1,676 | 4,468 |
CSS | 5 | 127 | 134 | 1,167 |
SVG | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 78.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 716.00 |
Average method complexity | 4.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 38 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 38 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 782 | |
▷ Static methods | 4 | 0.51% |
▷ Public methods | 683 | 87.34% |
▷ Protected methods | 3 | 0.38% |
▷ Private methods | 96 | 12.28% |
Functions | 131 | |
▷ Named functions | 131 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 211 | |
▷ Global constants | 196 | 92.89% |
▷ Class constants | 15 | 7.11% |
▷ Public constants | 15 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.22MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
local-sync-bridge/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
local-sync-bridge/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
local-sync-bridge/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
assets/screenshot-1.png | 173.46KB | 44.23KB | ▼ 74.50% |
assets/icon-128x128.png | 6.33KB | 3.14KB | ▼ 50.43% |