89% editor-blocks-border

Code Review | Gutenberg Editor Full Width Blocks Border

WordPress plugin Gutenberg Editor Full Width Blocks Border scored89%from 54 tests.

About plugin

  • Plugin page: editor-blocks-border
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8
  • WordPress version: 6.3.1
  • First release: Jul 8, 2021
  • Latest release: Jul 23, 2021
  • Number of updates: 12
  • Update frequency: every 1.3 days
  • Top authors: rahulkanojia (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /1,099 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

Analyzing server-side resources used by Gutenberg Editor Full Width Blocks Border
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0242.80 ▼5.85
Dashboard /wp-admin3.33 ▲0.0246.04 ▼6.54
Posts /wp-admin/edit.php3.38 ▲0.0248.96 ▲2.97
Add New Post /wp-admin/post-new.php5.91 ▲0.0285.62 ▼0.77
Media Library /wp-admin/upload.php3.25 ▲0.0234.59 ▲0.05

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Gutenberg Editor Full Width Blocks Border
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.74 ▼0.641.79 ▼0.3744.28 ▲2.07
Dashboard /wp-admin2,203 ▲125.82 ▲0.0195.34 ▼13.7940.39 ▼4.34
Posts /wp-admin/edit.php2,089 ▼02.01 ▼0.0235.07 ▼1.3835.94 ▲2.27
Add New Post /wp-admin/post-new.php6,244 ▲4,71121.70 ▼1.66856.81 ▲183.8857.49 ▼0.86
Media Library /wp-admin/upload.php1,388 ▼04.19 ▲0.0092.68 ▼16.3942.81 ▼0.69

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 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
These attributes need to be fixed:
  • Requires php: Version format is invalid
  • Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
You can take inspiration from this readme.txt

editor-blocks-border/editor-blocks-border.php 92% from 13 tests

The entry point to "Gutenberg Editor Full Width Blocks Border" version 1.1.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

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
There were no executable files found in this plugin166 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP3917126
CSS112040

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.53
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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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