83% import-wizard-blogspot

Code Review | Blogger Importer Wizard : Map Blogger to Wordpress 1-To-1

WordPress plugin Blogger Importer Wizard : Map Blogger to Wordpress 1-To-1 scored83%from 54 tests.

About plugin

  • Plugin page: import-wizard-blo...
  • Plugin version: 1.4
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.1
  • WordPress version: 6.3.1
  • First release: Jan 5, 2023
  • Latest release: Feb 25, 2023
  • Number of updates: 6
  • Update frequency: every 8.5 days
  • Top authors: ajaymalik14 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /493 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.21ms] Passed 4 tests

An overview of server-side resources used by Blogger Importer Wizard : Map Blogger to Wordpress 1-To-1
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0242.56 ▲1.83
Dashboard /wp-admin3.37 ▼0.0253.48 ▼11.56
Posts /wp-admin/edit.php3.42 ▲0.0250.01 ▼0.66
Add New Post /wp-admin/post-new.php5.95 ▲0.0295.53 ▼6.35
Media Library /wp-admin/upload.php3.29 ▲0.0236.93 ▼2.28

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Blogger Importer Wizard : Map Blogger to Wordpress 1-To-1
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲4514.72 ▲0.371.52 ▼0.2343.26 ▲0.44
Dashboard /wp-admin2,212 ▲355.61 ▼0.0488.68 ▼0.1442.94 ▼3.57
Posts /wp-admin/edit.php2,117 ▲141.99 ▼0.0441.61 ▼2.3441.08 ▼3.16
Add New Post /wp-admin/post-new.php1,543 ▲1723.13 ▼0.02597.01 ▼51.1449.02 ▼8.64
Media Library /wp-admin/upload.php1,417 ▲174.21 ▲0.0099.77 ▼10.1242.47 ▼1.50

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
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options

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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/import-wizard-blogspot/index.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Donate link: Please fix this invalid URI: "theonlined.com"
You can take inspiration from this readme.txt

import-wizard-blogspot/index.php 85% from 13 tests

The main PHP file in "Blogger Importer Wizard : Map Blogger to Wordpress 1-To-1" ver. 1.4 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 465 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("import-wizard-blogspot.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected435 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP13717229
JavaScript16022206

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
3 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
api.png76.86KB33.68KB▼ 56.19%
blogid.png3.11KB2.28KB▼ 26.66%
redirect.png26.44KB13.43KB▼ 49.22%