10% bootstrap-column

Code Review | Bootstrap Column

WordPress plugin Bootstrap Column scored 10% from 54 tests.

About plugin

  • Plugin page: bootstrap-column
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Dec 23, 2013
  • Latest release: Dec 24, 2013
  • Number of updates: 3
  • Update frequency: every 1.0 days
  • Top authors: meigwil (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,216 total downloads


Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
  • The plugin cannot be installed
    • > Deprecated in wp-content/plugins/bootstrap-column/Bootstrap_column.php+14
    Methods with the same name as their class will not be constructors in a future version of PHP; Bootstrap_column has a deprecated constructor

Server metrics [RAM: ▼1.71MB] [CPU: ▼54.86ms] Passed 4 tests

Analyzing server-side resources used by Bootstrap Column
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.28 ▼1.189.65 ▼36.84
Dashboard /wp-admin2.29 ▼1.0113.10 ▼47.38
Posts /wp-admin/edit.php2.29 ▼1.0610.52 ▼55.73
Add New Post /wp-admin/post-new.php2.29 ▼3.5911.26 ▼79.48
Media Library /wp-admin/upload.php2.29 ▼0.9410.26 ▼24.52

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Bootstrap Column
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲1113.25 ▼1.171.76 ▼0.2542.97 ▼6.31
Dashboard /wp-admin2,206 ▼34.83 ▼1.02108.82 ▼9.2738.44 ▼7.46
Posts /wp-admin/edit.php2,092 ▼02.04 ▼0.0140.51 ▲3.0134.90 ▼0.96
Add New Post /wp-admin/post-new.php1,514 ▼2817.87 ▼0.14680.38 ▲47.7259.71 ▲5.71
Media Library /wp-admin/upload.php1,388 ▼34.20 ▼0.1896.97 ▼1.3042.72 ▼2.20

Uninstaller [IO: ✅] [DB: ▲0.00MB] 50% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • This plugin cannot be uninstalled
    • > User deprecated in wp-includes/functions.php+5546
    The called constructor method for WP_Widget class in Bootstrap_column is deprecated since version 4.3.0! Use __construct() instead.
  • Zombie WordPress options detected upon uninstall: 7 options
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_bootstrap_column
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

SRP 50% 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
Almost there! Just fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bootstrap-column/Bootstrap_column.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found


Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === bootstrap-column === )
  • Requires at least: Version not formatted correctly
You can look at the official readme.txt

bootstrap-column/Bootstrap_column.php 85% from 13 tests

"Bootstrap Column" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
  • Main file name: Name the main plugin file the same as the plugin slug ("bootstrap-column.php" instead of "Bootstrap_column.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected141 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.16
Average class complexity16.00
▷ Minimum class complexity16.00
▷ Maximum class complexity16.00
Average method complexity4.75
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions1100.00%
▷ Global constants00.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
There are no PNG files in this plugin