84% bamboo-columns

Code Review | Bamboo Columns

WordPress plugin Bamboo Columns scored84%from 54 tests.

About plugin

  • Plugin page: bamboo-columns
  • Plugin version: 1.6.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.0
  • WordPress version: 6.3.1
  • First release: Aug 11, 2014
  • Latest release: Mar 2, 2018
  • Number of updates: 26
  • Update frequency: every 50.0 days
  • Top authors: bamboosolutions (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

1,000+ active /21,982 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼10.06ms] Passed 4 tests

Server-side resources used by Bamboo Columns
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0336.92 ▲0.23
Dashboard /wp-admin3.34 ▼0.0144.50 ▼19.09
Posts /wp-admin/edit.php3.39 ▲0.0350.21 ▲9.22
Add New Post /wp-admin/post-new.php5.92 ▲0.0381.85 ▼16.73
Media Library /wp-admin/upload.php3.26 ▲0.0337.39 ▼4.66

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Bamboo Columns
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲3414.25 ▼0.401.64 ▲0.0640.08 ▼3.29
Dashboard /wp-admin2,197 ▲205.59 ▲0.0783.71 ▼5.7237.89 ▼10.71
Posts /wp-admin/edit.php2,105 ▲82.03 ▲0.0140.13 ▼0.4435.79 ▼6.99
Add New Post /wp-admin/post-new.php1,530 ▼723.01 ▲4.93679.09 ▲52.6962.97 ▼17.45
Media Library /wp-admin/upload.php1,399 ▲54.25 ▲0.0396.53 ▼7.1241.93 ▼1.52

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-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget

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
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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 following issues need your attention
  • 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/bamboo-columns/bamboo-columns.php:22

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

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: columns, layout, shortcodes

bamboo-columns/bamboo-columns.php 92% from 13 tests

The primary PHP file in "Bamboo Columns" version 1.6.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 202 characters long)

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 detected285 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP112128205
Sass124079
CSS1011

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.14
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%
Functions18
▷ Named functions18100.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