90% wp-callisto-migrator

Code Review | Callisto

WordPress plugin Callisto scored90%from 54 tests.

About plugin

  • Plugin page: wp-callisto-migrator
  • Plugin version: 1.3
  • PHP compatiblity: 5.6.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8
  • WordPress version: 6.3.1
  • First release: Apr 20, 2020
  • Latest release: Jul 16, 2021
  • Number of updates: 15
  • Update frequency: every 30.3 days
  • Top authors: postlightlabs (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /627 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼3.41ms] Passed 4 tests

A check of server-side resources used by Callisto
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.64 ▼1.38
Dashboard /wp-admin3.32 ▲0.0245.94 ▼7.57
Posts /wp-admin/edit.php3.44 ▲0.0845.18 ▼4.37
Add New Post /wp-admin/post-new.php5.90 ▲0.0291.08 ▲5.12
Media Library /wp-admin/upload.php3.25 ▲0.0231.61 ▼0.33
Callisto Migrator /wp-admin/admin.php?page=wmp_index3.2130.13
Settings /wp-admin/admin.php?page=wmp_settings3.2129.46

Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Callisto
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲8114.45 ▼0.111.64 ▼0.1839.08 ▼5.14
Dashboard /wp-admin2,236 ▲514.86 ▼1.17106.40 ▼11.1542.99 ▼3.01
Posts /wp-admin/edit.php2,116 ▲272.02 ▲0.0338.56 ▼0.5235.12 ▼3.00
Add New Post /wp-admin/post-new.php1,555 ▲4123.46 ▲5.64638.44 ▼53.4654.66 ▲1.18
Media Library /wp-admin/upload.php1,418 ▲364.28 ▼0.01101.64 ▲4.1042.14 ▼0.17
Callisto Migrator /wp-admin/admin.php?page=wmp_index1,1012.0826.4926.09
Settings /wp-admin/admin.php?page=wmp_settings8072.0623.9729.01

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts

Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: posts importer, mercury parser, posts, content parser

wp-callisto-migrator/wp-callisto-migrator.php Passed 13 tests

The entry point to "Callisto" version 1.3 is a PHP file that has certain tags in its header comment area
28 characters long description:
Mercury Parser for WordPress

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin862 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP8137240649
JavaScript23935191
CSS16722

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity12.40
▷ Minimum class complexity1.00
▷ Maximum class complexity37.00
Average method complexity4.35
▷ Minimum method complexity1.00
▷ Maximum method complexity37.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods17
▷ Static methods00.00%
▷ Public methods17100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants9
▷ Global constants9100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin