93% advanced-bootstrap-blocks

Code Review | Advanced Bootstrap Blocks

WordPress plugin Advanced Bootstrap Blocks scored 93% from 54 tests.

About plugin

  • Plugin page: advanced-bootstra...
  • Plugin version: 1.8
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-5.9
  • WordPress version: 5.9.2
  • First release: Jun 2, 2019
  • Latest release: Mar 13, 2022
  • Number of updates: 63
  • Update frequency: every 16.2 days
  • Top authors: helpfuldev (100%)

Code review

54 tests

User reviews

12 reviews

Install metrics

1,000+ active / 10,449 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

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

Server-side resources used by Advanced Bootstrap Blocks
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0359.23 ▲3.93
Dashboard /wp-admin3.43 ▲0.0341.34 ▲8.56
Posts /wp-admin/edit.php3.66 ▲0.0240.43 ▼12.12
Add New Post /wp-admin/post-new.php6.90 ▼0.0795.49 ▼1,252.81
Media Library /wp-admin/upload.php3.31 ▲0.0227.19 ▲0.06

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 59 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Advanced Bootstrap Blocks
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,810 ▲5615.30 ▼0.335.89 ▼1.163.26 ▲0.32
Dashboard /wp-admin2,903 ▲426.15 ▼0.01118.72 ▼14.29154.65 ▼6.94
Posts /wp-admin/edit.php2,706 ▲123.24 ▲0.0162.09 ▼3.26135.56 ▼6.86
Add New Post /wp-admin/post-new.php1,795 ▲14417.01 ▼2.50463.46 ▼23.90178.11 ▲18.93
Media Library /wp-admin/upload.php1,713 ▲275.54 ▲0.03141.19 ▼138.16180.44 ▼159.55

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
Uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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 plugin_dir_path() in wp-content/plugins/advanced-bootstrap-blocks/advanced-bootstrap-blocks.php:16

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found


Plugin configuration 90% from 29 tests

readme.txt 81% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
  • Contributors: The plugin contributors field is missing
  • Tags: There are too many tags (12 tag instead of maximum 10)
  • Screenshots: These screenshots lack descriptions #1, #2, #3 in advanced-bootstrap-blocks/assets to your readme.txt
The official readme.txt might help

advanced-bootstrap-blocks/advanced-bootstrap-blocks.php Passed 13 tests

"Advanced Bootstrap Blocks" version 1.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
85 characters long description:
Flexible Bootstrap 4 blocks for building custom page layouts in the WordPress editor.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin37,496 lines of code in 48 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of 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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions266.67%
▷ Anonymous functions133.33%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin