Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.19MB] [CPU: ▼1.39ms] Passed 4 tests
Server-side resources used by Migrate Guru: Migrate & Clone WordPress Free
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 41.18 ▲1.44 |
Dashboard /wp-admin | 3.53 ▲0.23 | 50.36 ▲3.30 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 45.64 ▼1.59 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 88.41 ▼8.70 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 44.98 ▲11.35 |
Server storage [IO: ▲0.87MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Migrate Guru: Migrate & Clone WordPress Free
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲80 | 13.14 ▼1.44 | 1.77 ▼0.14 | 42.53 ▼3.35 |
Dashboard /wp-admin | 2,206 ▲15 | 4.91 ▲0.00 | 108.31 ▲1.88 | 85.18 ▲41.05 |
Posts /wp-admin/edit.php | 2,107 ▲21 | 2.01 ▲0.02 | 36.10 ▲2.18 | 32.30 ▼3.04 |
Add New Post /wp-admin/post-new.php | 1,680 ▲147 | 22.44 ▼0.60 | 742.50 ▲117.04 | 47.34 ▼14.16 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.15 ▼0.03 | 114.15 ▲18.36 | 44.40 ▲1.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% 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 | 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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/migrate-guru/admin/main_page.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- License uri: Invalid URI ("[http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html)")
migrate-guru/migrateguru.php 92% from 13 tests
The primary PHP file in "Migrate Guru: Migrate & Clone WordPress Free" version 5.25 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("migrate-guru.php" instead of "migrateguru.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin4,210 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 547 | 48 | 3,801 |
CSS | 1 | 70 | 1 | 389 |
SVG | 1 | 0 | 1 | 20 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 27.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 253 | |
▷ Static methods | 32 | 12.65% |
▷ Public methods | 252 | 99.60% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.40% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 1 | 10.00% |
▷ Class constants | 9 | 90.00% |
▷ Public constants | 9 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
22 PNG files occupy 0.72MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/copy.png | 0.19KB | 0.20KB | 0.00% |
img/migrateguru.png | 6.43KB | 4.85KB | ▼ 24.65% |
img/logo.png | 6.63KB | 3.33KB | ▼ 49.68% |
img/supported_hosts.png | 75.52KB | 33.23KB | ▼ 56.00% |
img/bluehost-logo.png | 3.31KB | 2.07KB | ▼ 37.54% |