90% columns-alignment-fix-for-elementor

Code Review | Columns Alignment Fix for Elementor

WordPress plugin Columns Alignment Fix for Elementor scored90%from 54 tests.

About plugin

  • Plugin page: columns-alignment...
  • Plugin version: 1.2.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.1
  • WordPress version: 6.3.1
  • First release: Jul 2, 2018
  • Latest release: May 19, 2019
  • Number of updates: 13
  • Update frequency: every 25.5 days
  • Top authors: sukiwp (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

1,000+ active /6,539 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼9.77ms] Passed 4 tests

Server-side resources used by Columns Alignment Fix for Elementor
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0137.64 ▼1.97
Dashboard /wp-admin3.32 ▼0.0245.67 ▼15.70
Posts /wp-admin/edit.php3.37 ▲0.0145.24 ▼3.02
Add New Post /wp-admin/post-new.php5.90 ▲0.0183.78 ▼18.39
Media Library /wp-admin/upload.php3.24 ▲0.0139.82 ▲4.70

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Columns Alignment Fix for Elementor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7913.16 ▼1.224.82 ▲3.0342.10 ▼2.73
Dashboard /wp-admin2,209 ▲205.90 ▲0.01111.29 ▼2.8239.84 ▼0.86
Posts /wp-admin/edit.php2,089 ▼32.01 ▼0.0138.09 ▼2.4334.35 ▼1.62
Add New Post /wp-admin/post-new.php1,533 ▼023.30 ▲0.32674.97 ▲12.9659.75 ▲9.96
Media Library /wp-admin/upload.php1,388 ▼34.21 ▼0.03101.22 ▲1.8340.60 ▼3.27

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
  • Tags: There were no tags found
You can look at the official readme.txt

columns-alignment-fix-for-elementor/columns-alignment-fix-for-elementor.php Passed 13 tests

The primary PHP file in "Columns Alignment Fix for Elementor" version 1.2.0 is used by WordPress to initiate all plugin functionality
99 characters long description:
Add an option to fix Elementor's inconsistent columns alignment when using columns gap on sections.

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
No dangerous file extensions were detected77 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1124777

PHP code Passed 2 tests

This is a very shot review 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.22
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.33
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods116.67%
▷ Public methods583.33%
▷ Protected methods116.67%
▷ Private methods00.00%
Functions1
▷ Named functions1100.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
There were not PNG files found in your plugin