90% deligent-variable-block-width

Code Review | Deligent - Variable Column Blocks

WordPress plugin Deligent - Variable Column Blocks scored 90% from 54 tests.

About plugin

  • Plugin page: deligent-variable...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.1.1
  • WordPress version: 6.3.1
  • First release: Apr 3, 2019
  • Latest release: Apr 3, 2019
  • Number of updates: 3
  • Update frequency: every 0.7 days
  • Top authors: jankimoradiya (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 1,252 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by Deligent - Variable Column Blocks
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.45 ▼3.11
Dashboard /wp-admin3.31 ▲0.0152.18 ▲3.11
Posts /wp-admin/edit.php3.36 ▲0.0046.04 ▼1.95
Add New Post /wp-admin/post-new.php5.89 ▲0.0087.79 ▼9.33
Media Library /wp-admin/upload.php3.23 ▲0.0034.27 ▼2.07

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Deligent - Variable Column Blocks
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲6714.74 ▲0.091.69 ▲0.0942.58 ▼5.74
Dashboard /wp-admin2,203 ▲154.88 ▼1.0196.25 ▼5.7939.70 ▼4.41
Posts /wp-admin/edit.php2,089 ▼02.01 ▲0.0033.72 ▼1.6034.35 ▲0.75
Add New Post /wp-admin/post-new.php6,585 ▲5,04329.26 ▲10.96908.67 ▲308.9166.13 ▲0.21
Media Library /wp-admin/upload.php1,385 ▲34.18 ▲0.03101.51 ▼4.8445.19 ▼4.21

Uninstaller [IO: ▲0.00MB] [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
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts

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 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: variable column width, column layout, gutenberg block, gutenberg

deligent-variable-block-width/deligent-variable-block-width.php Passed 13 tests

Analyzing the main PHP file in "Deligent - Variable Column Blocks" version 1.0.0
68 characters long description:
This plugin will work as Addons to Gutenberg’s ‘Column’ block.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin552 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript1166363525
PHP252125
CSS2002

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions2
▷ Named functions2100.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
No PNG images were found in this plugin