78% column-separator-for-beaver-builder

Code Review | Column Separator for Beaver Builder

WordPress plugin Column Separator for Beaver Builder scored78%from 54 tests.

About plugin

  • Plugin page: column-separator-...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.3
  • WordPress version: 6.3.1
  • First release: Dec 14, 2016
  • Latest release: Aug 17, 2023
  • Number of updates: 15
  • Update frequency: every 162.3 days
  • Top authors: brainstormworg (73.33%)Nikschavan (26.67%)patilvikasj (13.33%)

Code review

54 tests

User reviews

2 reviews

Install metrics

700+ active /9,169 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

A check of server-side resources used by Column Separator for Beaver Builder
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0143.26 ▲1.32
Dashboard /wp-admin3.32 ▲0.0149.16 ▼9.79
Posts /wp-admin/edit.php3.37 ▲0.0147.65 ▼3.24
Add New Post /wp-admin/post-new.php5.90 ▲0.0183.86 ▼23.83
Media Library /wp-admin/upload.php3.24 ▲0.0136.22 ▼2.79

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
db_upgraded
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Column Separator for Beaver Builder
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,799 ▲1314.74 ▲0.391.63 ▼0.6942.23 ▼6.41
Dashboard /wp-admin2,205 ▲255.56 ▼0.1192.04 ▼6.0145.61 ▲6.37
Posts /wp-admin/edit.php2,110 ▲101.96 ▼0.0336.42 ▲0.3739.14 ▲7.23
Add New Post /wp-admin/post-new.php1,536 ▲1023.26 ▲0.09668.42 ▲42.8858.33 ▼4.66
Media Library /wp-admin/upload.php1,413 ▲164.22 ▲0.0494.93 ▼11.0042.31 ▼3.10

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
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/column-separator-for-beaver-builder/column-separator-for-beaver-builder-module/includes/frontend.js.php
  • 64× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Notice
      Trying to get property 'bbcs_shape' of non-object in wp-content/plugins/column-separator-for-beaver-builder/column-separator-for-beaver-builder-module/includes/frontend.php on line 24
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/column-separator-for-beaver-builder/column-separator-for-beaver-builder-module/includes/frontend.php on line 9
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/column-separator-for-beaver-builder/column-separator-for-beaver-builder-module/includes/frontend.php on line 15
    • > PHP Notice
      Trying to get property 'bbcs_shape' of non-object in wp-content/plugins/column-separator-for-beaver-builder/column-separator-for-beaver-builder-module/includes/frontend.php on line 18
    • > PHP Notice
      Trying to get property 'bbcs_shape' of non-object in wp-content/plugins/column-separator-for-beaver-builder/column-separator-for-beaver-builder-module/includes/frontend.css.php on line 20
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/column-separator-for-beaver-builder/column-separator-for-beaver-builder-module/includes/frontend.css.php on line 116
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/column-separator-for-beaver-builder/column-separator-for-beaver-builder-module/includes/frontend.css.php on line 51
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/column-separator-for-beaver-builder/column-separator-for-beaver-builder-module/includes/frontend.css.php on line 1
    • > PHP Notice
      Trying to get property 'bbcs_shape' of non-object in wp-content/plugins/column-separator-for-beaver-builder/column-separator-for-beaver-builder-module/includes/frontend.css.php on line 77
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/column-separator-for-beaver-builder/column-separator-for-beaver-builder-module/includes/frontend.php on line 9

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: page builder plugin, style, simple column, beaver builder, separator...

column-separator-for-beaver-builder/column-separator-for-beaver-builder.php 92% from 13 tests

The main PHP file in "Column Separator for Beaver Builder" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin295 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP51014278
CSS10017

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.95
Average class complexity2.50
▷ Minimum class complexity1.00
▷ Maximum class complexity4.00
Average method complexity1.60
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected