84% columnizer

Code Review | Columnizer

WordPress plugin Columnizer scored84%from 54 tests.

About plugin

  • Plugin page: columnizer
  • Plugin version: 3.3.1.150
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.4
  • WordPress version: 6.3.1
  • First release: Sep 5, 2012
  • Latest release: Sep 7, 2012
  • Number of updates: 7
  • Update frequency: every 0.4 days
  • Top authors: TristanChambers (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

100+ active /5,493 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

This is a short check of server-side resources used by Columnizer
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0137.69 ▼3.96
Dashboard /wp-admin3.32 ▲0.0143.06 ▼2.05
Posts /wp-admin/edit.php3.37 ▲0.0145.91 ▼7.42
Add New Post /wp-admin/post-new.php5.90 ▲0.0191.75 ▲1.05
Media Library /wp-admin/upload.php3.24 ▲0.0136.06 ▲0.73

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Columnizer
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,885 ▲11413.62 ▼0.765.65 ▲3.6635.90 ▼18.08
Dashboard /wp-admin2,203 ▲155.79 ▲0.7099.10 ▼14.5841.23 ▼3.99
Posts /wp-admin/edit.php2,092 ▲32.03 ▼0.0140.04 ▼0.4334.44 ▼2.72
Add New Post /wp-admin/post-new.php1,542 ▲718.10 ▼5.08614.26 ▼63.3556.52 ▲4.74
Media Library /wp-admin/upload.php1,382 ▼94.19 ▼0.0198.25 ▼2.7843.67 ▼0.24

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
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at 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/columnizer/columnizer.php:24

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 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === columnizer === )
  • Tags: There are too many tags (13 tag instead of maximum 10)
You can look at the official readme.txt

columnizer/columnizer.php Passed 13 tests

This is the main PHP file of "Columnizer" version 3.3.1.150, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
42 characters long description:
Automatically formats content into columns

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
Good job! No executable or dangerous file extensions detected456 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript23955389
PHP171955
CSS10012

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There were not PNG files found in your plugin