90% modula-final-tiles-migrator

Code Review | Migrate away from Final Tiles

WordPress plugin Migrate away from Final Tiles scored 90% from 54 tests.

About plugin

  • Plugin page: modula-final-tile...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.3
  • WordPress version: 6.3.1
  • First release: Mar 26, 2022
  • Latest release: Aug 9, 2023
  • Number of updates: 7
  • Update frequency: every 71.7 days
  • Top authors: raldea89 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active / 1,736 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
Install script ran successfully

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

This is a short check of server-side resources used by Migrate away from Final Tiles
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0741.67 ▼6.24
Dashboard /wp-admin3.38 ▲0.0754.08 ▼0.08
Posts /wp-admin/edit.php3.49 ▲0.1352.38 ▼1.26
Add New Post /wp-admin/post-new.php5.96 ▲0.0792.43 ▼5.96
Media Library /wp-admin/upload.php3.30 ▲0.0737.45 ▼1.93

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Migrate away from Final Tiles
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,810 ▲1013.59 ▲0.231.96 ▼3.0845.99 ▼0.79
Dashboard /wp-admin2,219 ▲105.85 ▲1.02112.43 ▼5.0441.76 ▼4.40
Posts /wp-admin/edit.php2,098 ▲92.02 ▲0.0138.65 ▲1.2339.49 ▲1.42
Add New Post /wp-admin/post-new.php1,524 ▼917.76 ▼5.33701.37 ▼2.8557.86 ▼15.08
Media Library /wp-admin/upload.php1,398 ▲104.29 ▲0.1199.13 ▼1.9845.84 ▼0.23

Uninstaller [IO: ✅] [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_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded

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
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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: migrate to modula, final tiles migrator, migrate from final tiles gallery, gallery migrator

modula-final-tiles-migrator/modula-final-tiles-migrator.php Passed 13 tests

The main file in "Migrate away from Final Tiles" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
81 characters long description:
Submodule that helps migrate galleries from Final Tiles Gallery to Modula Gallery

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
No dangerous file extensions were detected387 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP3150189374
CSS12013

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity36.00
▷ Minimum class complexity10.00
▷ Maximum class complexity62.00
Average method complexity4.50
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods20
▷ Static methods630.00%
▷ Public methods20100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.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
No PNG images were found in this plugin