84% wing-migrator

Code Review | WING Wordpress Migrator

WordPress plugin WING Wordpress Migrator scored84%from 54 tests.

About plugin

  • Plugin page: wing-migrator
  • Plugin version: 1.1.9
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8.5-5.9.3
  • WordPress version: 6.3.1
  • First release: Oct 1, 2018
  • Latest release: Mar 7, 2023
  • Number of updates: 18
  • Update frequency: every 90.1 days
  • Top authors: conoha (100%)

Code review

54 tests

User reviews

1 review

Install metrics

2,000+ active /46,234 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.58MB] [CPU: ▼1.11ms] Passed 4 tests

This is a short check of server-side resources used by WING Wordpress Migrator
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /4.05 ▲0.5840.77 ▲2.52
Dashboard /wp-admin3.88 ▲0.5847.30 ▼1.63
Posts /wp-admin/edit.php4.00 ▲0.6453.47 ▲5.64
Add New Post /wp-admin/post-new.php6.46 ▲0.5786.02 ▼10.62
Media Library /wp-admin/upload.php3.81 ▲0.5740.09 ▲5.29

Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for WING Wordpress Migrator
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.30 ▼1.264.46 ▲2.5041.29 ▼4.15
Dashboard /wp-admin2,203 ▲515.83 ▲0.15106.12 ▼6.5440.49 ▲0.78
Posts /wp-admin/edit.php2,092 ▲32.05 ▼0.0140.72 ▼1.2936.19 ▲0.36
Add New Post /wp-admin/post-new.php1,533 ▲1323.33 ▼0.14577.58 ▼118.5360.81 ▼7.96
Media Library /wp-admin/upload.php1,388 ▼04.25 ▲0.0496.43 ▼11.4444.19 ▼0.28

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

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 take a closer look at the following
  • 21× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Wwm_Restore_Task_Base' not found in wp-content/plugins/wing-migrator/classes/jobs/tasks/class-wwm-task-restore-finish.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Wwm_Migration_Action' not found in wp-content/plugins/wing-migrator/classes/actions/class-wwm-restore-action-info.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Wwm_Backup_Task_Base' not found in wp-content/plugins/wing-migrator/classes/jobs/tasks/class-wwm-task-backup-finish.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Wwm_Restore_Task_Base' not found in wp-content/plugins/wing-migrator/classes/jobs/tasks/class-wwm-task-restore-file.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Wwm_Migration_Action' not found in wp-content/plugins/wing-migrator/classes/actions/class-wwm-backup-action-backup.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Wwm_Migration_Action' not found in wp-content/plugins/wing-migrator/classes/actions/class-wwm-restore-action-remove.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Wwm_Backup_Task_Base' not found in wp-content/plugins/wing-migrator/classes/jobs/tasks/class-wwm-task-backup-database.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Wwm_Migration_Action' not found in wp-content/plugins/wing-migrator/classes/actions/class-wwm-restore-action-log.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Wwm_Migration_Action' not found in wp-content/plugins/wing-migrator/classes/actions/class-wwm-backup-action-remove.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Wwm_Migration_Action' not found in wp-content/plugins/wing-migrator/classes/actions/class-wwm-migration-action-wp-info.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: migration, conoha

wing-migrator/wing-migrator.php Passed 13 tests

Analyzing the main PHP file in "WING Wordpress Migrator" version 1.1.9
113 characters long description:
ConoHa WINGのWordPressで「WING WordPress Migration」をご利用いただくためのプラグインです。

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin2,757 lines of code in 33 files:
LanguageFilesBlank linesComment linesLines of code
PHP335305922,757

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity8.23
▷ Minimum class complexity1.00
▷ Maximum class complexity40.00
Average method complexity2.30
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
Namespaces0
Interfaces1
Traits0
Classes42
▷ Abstract classes614.29%
▷ Concrete classes3685.71%
▷ Final classes00.00%
Methods257
▷ Static methods187.00%
▷ Public methods21985.21%
▷ Protected methods155.84%
▷ Private methods238.95%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants28
▷ Global constants28100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin