Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▼3.01ms] Passed 4 tests
This is a short check of server-side resources used by Z.com Easy WP Migrator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 40.39 ▼1.18 |
Dashboard /wp-admin | 3.63 ▲0.33 | 46.87 ▼4.76 |
Posts /wp-admin/edit.php | 3.68 ▲0.33 | 51.44 ▲1.67 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 85.26 ▼7.75 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 34.21 ▲3.85 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Z.com Easy WP Migrator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.21 ▼1.47 | 1.60 ▼0.12 | 37.43 ▼2.11 |
Dashboard /wp-admin | 2,200 ▲12 | 5.82 ▲0.94 | 101.44 ▼12.36 | 40.45 ▼0.55 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.01 ▼0.03 | 38.25 ▼3.92 | 34.21 ▼1.60 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.15 ▼0.07 | 685.26 ▲25.39 | 56.24 ▼0.50 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.23 ▼0.01 | 96.87 ▲1.28 | 41.33 ▲0.43 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Zewm_Migration_Action' not found in wp-content/plugins/zcom-easy-wp-migrator/classes/actions/class-zewm-restore-action-restore.php:3
- > PHP Fatal error
Uncaught Error: Class 'Zewm_Migration_Action' not found in wp-content/plugins/zcom-easy-wp-migrator/classes/actions/class-zewm-migration-action-wp-info.php:3
- > PHP Fatal error
Uncaught Error: Class 'Zewm_Migration_Action' not found in wp-content/plugins/zcom-easy-wp-migrator/classes/actions/class-zewm-backup-action-backup.php:3
- > PHP Fatal error
Uncaught Error: Class 'Zewm_Migration_Action' not found in wp-content/plugins/zcom-easy-wp-migrator/classes/actions/class-zewm-restore-action-log.php:3
- > PHP Fatal error
Uncaught Error: Class 'Zewm_Migration_Action' not found in wp-content/plugins/zcom-easy-wp-migrator/classes/actions/class-zewm-backup-action-remove.php:3
- > PHP Fatal error
Uncaught Error: Class 'Zewm_Migration_Action' not found in wp-content/plugins/zcom-easy-wp-migrator/classes/actions/class-zewm-restore-action-remove.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/zcom-easy-wp-migrator/zcom-easy-wp-migrator.php:15
- > PHP Fatal error
Uncaught Error: Class 'Zewm_Migration_Action' not found in wp-content/plugins/zcom-easy-wp-migrator/classes/actions/class-zewm-backup-action-info.php:3
- > PHP Fatal error
Uncaught Error: Class 'Zewm_Migration_Action' not found in wp-content/plugins/zcom-easy-wp-migrator/classes/actions/class-zewm-restore-action-info.php:3
- > PHP Fatal error
Uncaught Error: Class 'Zewm_Migration_Action' not found in wp-content/plugins/zcom-easy-wp-migrator/classes/actions/class-zewm-backup-action-log.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: zcom, migration
zcom-easy-wp-migrator/zcom-easy-wp-migrator.php Passed 13 tests
Analyzing the main PHP file in "Z.com Easy WP Migrator" version 1.1.5
47 characters long description:
A plugin for migrations by Z.com for WordPress.
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 detected1,567 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 263 | 69 | 1,567 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 7.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 2 | 7.69% |
▷ Concrete classes | 24 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 133 | |
▷ Static methods | 12 | 9.02% |
▷ Public methods | 111 | 83.46% |
▷ Protected methods | 3 | 2.26% |
▷ Private methods | 19 | 14.29% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 16 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin