89% movabletype-importer

Code Review | Movable Type and TypePad Importer

WordPress plugin Movable Type and TypePad Importer scored89%from 54 tests.

About plugin

  • Plugin page: movabletype-importer
  • Plugin version: 0.6.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.2
  • WordPress version: 6.3.1
  • First release: May 20, 2010
  • Latest release: Apr 28, 2023
  • Number of updates: 19
  • Update frequency: every 248.7 days
  • Top authors: Otto42 (26.32%)ryan (26.32%)nacin (21.05%)githubsync (15.79%)briancolinger (15.79%)

Code review

54 tests

User reviews

4 reviews

Install metrics

30,000+ active /687,332 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.08MB] [CPU: ▼0.07ms] Passed 4 tests

A check of server-side resources used by Movable Type and TypePad Importer
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0839.02 ▲2.62
Dashboard /wp-admin3.38 ▲0.0848.92 ▲0.90
Posts /wp-admin/edit.php3.50 ▲0.1453.30 ▲1.47
Add New Post /wp-admin/post-new.php5.96 ▲0.08101.13 ▼1.63
Media Library /wp-admin/upload.php3.31 ▲0.0835.03 ▼1.01

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Movable Type and TypePad Importer
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.34 ▲0.161.72 ▼0.0741.80 ▼2.26
Dashboard /wp-admin2,195 ▲185.62 ▼0.0382.11 ▼5.5739.61 ▼0.27
Posts /wp-admin/edit.php2,100 ▼02.01 ▼0.0138.91 ▼3.6835.04 ▼1.64
Add New Post /wp-admin/post-new.php1,526 ▼023.02 ▼0.68616.23 ▼62.4053.36 ▲1.87
Media Library /wp-admin/upload.php1,400 ▼34.21 ▲0.1396.74 ▼8.2544.16 ▼4.11

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Plugin Name: You should set the name of your plugin on the first line ( === movabletype-importer === )
  • Donate link: Invalid url: ""
You can look at the official readme.txt

movabletype-importer/movabletype-importer.php Passed 13 tests

The main file in "Movable Type and TypePad Importer" v. 0.6.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
62 characters long description:
Import posts and comments from a Movable Type or TypePad blog.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin485 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP18733485

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity103.00
▷ Minimum class complexity103.00
▷ Maximum class complexity103.00
Average method complexity6.10
▷ Minimum method complexity1.00
▷ Maximum method complexity54.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods20
▷ Static methods00.00%
▷ Public methods1890.00%
▷ Protected methods00.00%
▷ Private methods210.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin