100% genesis-widget-column-classes

Code Review | Genesis Widget Column Classes

WordPress plugin Genesis Widget Column Classes scored 100% from 54 tests.

About plugin

  • Plugin page: genesis-widget-co...
  • Plugin version: 1.3.1
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-5.8
  • WordPress version: 5.8.1
  • First release: Aug 3, 2015
  • Latest release: Oct 13, 2021
  • Number of updates: 51
  • Update frequency: every 44.7 days
  • Top authors: keraweb (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

10,000+ active / 82,066 total downloads

Benchmarks

Plugin footprint Passed 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.09MB] [CPU: ▼143.33ms] Passed 4 tests

A check of server-side resources used by Genesis Widget Column Classes
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.92 ▲0.2035.51 ▲14.67
Dashboard /wp-admin3.14 ▲0.0949.44 ▼4.79
Posts /wp-admin/edit.php3.23 ▲0.1244.65 ▼1.66
Add New Post /wp-admin/post-new.php5.51 ▲0.08100.80 ▼561.86
Media Library /wp-admin/upload.php3.09 ▲0.0833.12 ▼4.99

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Genesis Widget Column Classes
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,709 ▲10315.84 ▲0.558.59 ▼1.3948.33 ▲0.31
Dashboard /wp-admin2,985 ▲515.93 ▼0.09144.71 ▼9.48121.06 ▲9.03
Posts /wp-admin/edit.php2,769 ▲302.59 ▼0.1164.96 ▼0.9788.34 ▼2.88
Add New Post /wp-admin/post-new.php1,687 ▲418.99 ▲0.24420.01 ▲31.97104.20 ▼4.07
Media Library /wp-admin/upload.php1,777 ▼304.99 ▼0.03156.11 ▼7.00116.65 ▼2.47

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: genesis, sidebar, widget, grid, column...

genesis-widget-column-classes/genesis-widget-column-classes.php 92% from 13 tests

Analyzing the main PHP file in "Genesis Widget Column Classes" version 1.3.1
You should first fix the following items:
  • Domain Path: The domain path is invalid: folder "/languages/" does not exist

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
There were no executable files found in this plugin416 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP295350416

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity43.00
▷ Minimum class complexity43.00
▷ Maximum class complexity43.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
Methods21
▷ Static methods14.76%
▷ Public methods2095.24%
▷ Protected methods00.00%
▷ Private methods14.76%
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin