99% ultimate-bootstrap-blocks

Code Review | Ultimate Bootstrap Blocks

WordPress plugin Ultimate Bootstrap Blocks scored 99% from 54 tests.

About plugin

  • Plugin page: ultimate-bootstra...
  • Plugin version: 1.2.4
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.6
  • WordPress version: 5.9.2
  • First release: Feb 25, 2020
  • Latest release: Dec 16, 2020
  • Number of updates: 31
  • Update frequency: every 9.6 days
  • Top authors: gutenberglab (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

90+ active / 2,184 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▼0.23MB] [CPU: ▼303.16ms] Passed 4 tests

A check of server-side resources used by Ultimate Bootstrap Blocks
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0254.39 ▲0.68
Dashboard /wp-admin3.44 ▲0.0338.08 ▲4.62
Posts /wp-admin/edit.php3.67 ▲0.0239.94 ▲2.16
Add New Post /wp-admin/post-new.php5.99 ▼0.9963.07 ▼1,209.92
Media Library /wp-admin/upload.php3.31 ▲0.0126.42 ▼5.57

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Ultimate Bootstrap Blocks
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,795 ▲4116.20 ▲0.385.90 ▼0.132.72 ▼0.44
Dashboard /wp-admin2,895 ▲376.13 ▼0.05121.90 ▼14.23161.69 ▼2.15
Posts /wp-admin/edit.php2,688 ▼63.23 ▲0.0064.13 ▼0.45142.46 ▼3.46
Add New Post /wp-admin/post-new.php1,720 ▲3021.86 ▲1.31447.02 ▲20.37176.19 ▲18.65
Media Library /wp-admin/upload.php1,698 ▼05.52 ▼0.04142.17 ▼7.24186.28 ▼7.02

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success

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

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
  • Donate link: Please fix this invalid URI: ""
You can take inspiration from this readme.txt

ultimate-bootstrap-blocks/plugin.php 92% from 13 tests

The primary PHP file in "Ultimate Bootstrap Blocks" version 1.2.4 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ultimate-bootstrap-blocks.php" instead of "plugin.php")

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 plugin160 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
Markdown125062
PHP2116158
JavaScript33326
Sass11111
CSS2003

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.27
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
dist/img/720.png2.87KB2.73KB▼ 4.80%