83% migrate-guru

Code Review | Migrate Guru: Migrate & Clone WordPress Free

WordPress plugin Migrate Guru: Migrate & Clone WordPress Free scored83%from 54 tests.

About plugin

  • Plugin page: migrate-guru
  • Plugin version: 5.25
  • PHP compatiblity: 5.4.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3
  • WordPress version: 6.3.1
  • First release: Aug 8, 2017
  • Latest release: Sep 11, 2023
  • Number of updates: 90
  • Update frequency: every 24.7 days
  • Top authors: ritesh.soni36 (45.56%)rrv4813 (45.56%)akshatc (7.78%)migrateguru (4.44%)

Code review

54 tests

User reviews

1181 reviews

Install metrics

90,000+ active /1,140,754 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.66 ▲0.2041.18 ▲1.44
Dashboard /wp-admin3.53 ▲0.2350.36 ▲3.30
Posts /wp-admin/edit.php3.58 ▲0.2245.64 ▼1.59
Add New Post /wp-admin/post-new.php6.05 ▲0.1688.41 ▼8.70
Media Library /wp-admin/upload.php3.39 ▲0.1644.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲8013.14 ▼1.441.77 ▼0.1442.53 ▼3.35
Dashboard /wp-admin2,206 ▲154.91 ▲0.00108.31 ▲1.8885.18 ▲41.05
Posts /wp-admin/edit.php2,107 ▲212.01 ▲0.0236.10 ▲2.1832.30 ▼3.04
Add New Post /wp-admin/post-new.php1,680 ▲14722.44 ▼0.60742.50 ▲117.0447.34 ▼14.16
Media Library /wp-admin/upload.php1,403 ▲124.15 ▼0.03114.15 ▲18.3644.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

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)")
You can look at the official readme.txt

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:
LanguageFilesBlank linesComment linesLines of code
PHP24547483,801
CSS1701389
SVG10120

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 code0.36
Average class complexity27.71
▷ Minimum class complexity1.00
▷ Maximum class complexity98.00
Average method complexity3.53
▷ Minimum method complexity1.00
▷ Maximum method complexity54.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes24
▷ Abstract classes00.00%
▷ Concrete classes24100.00%
▷ Final classes00.00%
Methods253
▷ Static methods3212.65%
▷ Public methods25299.60%
▷ Protected methods00.00%
▷ Private methods10.40%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants10
▷ Global constants110.00%
▷ Class constants990.00%
▷ Public constants9100.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
FileSize - originalSize - compressedSavings
img/copy.png0.19KB0.20KB0.00%
img/migrateguru.png6.43KB4.85KB▼ 24.65%
img/logo.png6.63KB3.33KB▼ 49.68%
img/supported_hosts.png75.52KB33.23KB▼ 56.00%
img/bluehost-logo.png3.31KB2.07KB▼ 37.54%