Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲2.66MB] [CPU: ▲10.80ms] 75% from 4 tests
This is a short check of server-side resources used by Move to WordPress.com
Please fix the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 1,060.69ms on /wp-admin/admin.php?page=my-jetpack)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.41 ▲3.95 | 48.64 ▲9.84 |
Dashboard /wp-admin | 5.82 ▲2.51 | 58.92 ▲8.06 |
Posts /wp-admin/edit.php | 5.93 ▲2.57 | 59.47 ▲12.01 |
Add New Post /wp-admin/post-new.php | 8.93 ▲3.05 | 105.80 ▲13.27 |
Media Library /wp-admin/upload.php | 5.74 ▲2.51 | 56.66 ▲23.41 |
VaultPress Backup /wp-admin/admin.php?page=jetpack-backup | 5.91 | 48.58 |
My Jetpack /wp-admin/admin.php?page=my-jetpack | 6.58 | 1,060.69 |
Server storage [IO: ▲6.53MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 465 new files
Database: no new tables, 13 new options
New WordPress options |
---|
jetpack_backup_db_version |
jetpack_sync_https_history_home_url |
db_upgraded |
can_compress_scripts |
_upgrade_clear_disabled_plugin |
widget_recent-posts |
theysaidso_admin_options |
jetpack_sync_https_history_site_url |
widget_theysaidso_widget |
jetpack_connection_active_plugins |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Move to WordPress.com
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲61 | 14.75 ▲0.41 | 3.33 ▲1.37 | 44.56 ▼1.72 |
Dashboard /wp-admin | 2,253 ▲82 | 5.71 ▲0.03 | 89.95 ▼10.19 | 37.48 ▼7.45 |
Posts /wp-admin/edit.php | 2,163 ▲63 | 2.19 ▲0.20 | 40.83 ▲4.31 | 31.96 ▼4.60 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 23.45 ▲0.70 | 634.27 ▼83.26 | 56.12 ▼2.85 |
Media Library /wp-admin/upload.php | 1,461 ▲58 | 4.31 ▲0.14 | 103.59 ▲9.41 | 43.46 ▼3.01 |
VaultPress Backup /wp-admin/admin.php?page=jetpack-backup | 2,506 | 7.90 | 226.82 | 72.58 |
My Jetpack /wp-admin/admin.php?page=my-jetpack | 1,266 | 11.65 | 215.35 | 44.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 13 options
- widget_theysaidso_widget
- jetpack_options
- db_upgraded
- jetpack_sync_https_history_site_url
- jetpack_sync_https_history_home_url
- jetpack_sync_settings_disable
- jetpack_backup_db_version
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- ...
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 56× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-upgrader.php): failed to open stream: No such file or directory in wp-content/plugins/wpcom-migration/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-automatic-install-skin.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'Automattic\\Jetpack\\Sync\\Replicastore\\Table_Checksum_Users' not found in wp-content/plugins/wpcom-migration/jetpack_vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum-usermeta.php:19
- > PHP Fatal error
Uncaught Error: Class 'Automattic\\Jetpack\\My_Jetpack\\Product' not found in wp-content/plugins/wpcom-migration/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-boost.php:16
- > PHP Fatal error
Uncaught Error: Class 'Automattic\\Jetpack\\My_Jetpack\\Hybrid_Product' not found in wp-content/plugins/wpcom-migration/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search.php:21
- > PHP Fatal error
Uncaught Error: Class 'Automattic\\Jetpack\\Sync\\JSON_Deflate_Array_Codec' not found in wp-content/plugins/wpcom-migration/jetpack_vendor/automattic/jetpack-sync/src/class-simple-codec.php:14
- > PHP Fatal error
Uncaught Error: Class 'Automattic\\Jetpack\\Sync\\Modules\\Module' not found in wp-content/plugins/wpcom-migration/jetpack_vendor/automattic/jetpack-sync/src/modules/class-meta.php:13
- > PHP Fatal error
Uncaught Error: Class 'Automattic\\Jetpack\\Sync\\Modules\\Module' not found in wp-content/plugins/wpcom-migration/jetpack_vendor/automattic/jetpack-sync/src/modules/class-attachments.php:13
- > PHP Fatal error
Uncaught Error: Class 'Automattic\\Jetpack\\Sync\\Modules\\Module' not found in wp-content/plugins/wpcom-migration/jetpack_vendor/automattic/jetpack-sync/src/modules/class-posts.php:17
- > PHP Fatal error
Uncaught Error: Class 'Automattic\\Jetpack\\My_Jetpack\\Hybrid_Product' not found in wp-content/plugins/wpcom-migration/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-videopress.php:17
- > PHP Fatal error
Uncaught Error: Class 'Automattic\\Jetpack\\Sync\\Modules\\Module' not found in wp-content/plugins/wpcom-migration/jetpack_vendor/automattic/jetpack-sync/src/modules/class-options.php:16
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=my-jetpack
- > Network (severe)
index.php/wp-json/my-jetpack/v1/site/product-data?_locale=user - Failed to load resource: the server responded with a status of 400 (Bad Request)
- > GET request to /wp-admin/admin.php?page=my-jetpack
- > Network (severe)
index.php/wp-json/my-jetpack/v1/site/purchases?_locale=user - Failed to load resource: the server responded with a status of 400 (Bad Request)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (12 tag instead of maximum 10)
wpcom-migration/wpcom-migration.php Passed 13 tests
The primary PHP file in "Move to WordPress.com" version 1.0.1 is used by WordPress to initiate all plugin functionality
76 characters long description:
A WordPress plugin that helps users to migrate their sites to WordPress.com.
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
No dangerous file extensions were detected45,930 lines of code in 374 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 202 | 6,774 | 22,899 | 31,164 |
Markdown | 26 | 2,099 | 0 | 6,800 |
JavaScript | 60 | 258 | 92 | 2,824 |
JSON | 24 | 0 | 0 | 2,569 |
Sass | 16 | 292 | 60 | 1,575 |
JSX | 8 | 54 | 16 | 526 |
TypeScript | 7 | 38 | 10 | 234 |
SVG | 21 | 1 | 3 | 228 |
CSS | 10 | 0 | 0 | 10 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 23.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 294.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 177 | |
▷ Abstract classes | 4 | 2.26% |
▷ Concrete classes | 173 | 97.74% |
▷ Final classes | 0 | 0.00% |
Methods | 2,083 | |
▷ Static methods | 819 | 39.32% |
▷ Public methods | 1,846 | 88.62% |
▷ Protected methods | 94 | 4.51% |
▷ Private methods | 143 | 6.87% |
Functions | 54 | |
▷ Named functions | 2 | 3.70% |
▷ Anonymous functions | 52 | 96.30% |
Constants | 168 | |
▷ Global constants | 9 | 5.36% |
▷ Class constants | 159 | 94.64% |
▷ Public constants | 159 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
25 PNG files occupy 2.78MB with 0.83MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
jetpack_vendor/automattic/jetpack-backup/src/js/hooks/assets/tim-ferriss-testimonial.png | 72.75KB | 61.68KB | ▼ 15.21% |
jetpack_vendor/automattic/jetpack-my-jetpack/build/images/jetpack-license-activation-with-lock-7b01c1a4cf56de799cd7.png | 140.94KB | 52.80KB | ▼ 62.54% |
jetpack_vendor/automattic/jetpack-backup/src/js/hooks/assets/ben-giordano-testimonial.png | 126.46KB | 133.65KB | 0.00% |
jetpack_vendor/automattic/jetpack-backup/build/images/jetpack-backup-video-thumbnail-ad9a3ae22eca71d79a9e.png | 75.36KB | 81.95KB | 0.00% |
build/images/migration-1-abe67ae953c8c28c4025.png | 264.73KB | 76.19KB | ▼ 71.22% |