84% orchestrated-blocks

Code Review | Blocks for Gutenberg

WordPress plugin Blocks for Gutenberg scored84%from 54 tests.

About plugin

  • Plugin page: orchestrated-blocks
  • Plugin version: 1.0.9
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-5.7.1
  • WordPress version: 6.3.1
  • First release: May 4, 2021
  • Latest release: May 21, 2021
  • Number of updates: 6
  • Update frequency: every 2.8 days
  • Top authors: orchestrated (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /5,026 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

This is a short check of server-side resources used by Blocks for Gutenberg
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.03 ▼3.00
Dashboard /wp-admin3.32 ▼0.0343.79 ▼17.57
Posts /wp-admin/edit.php3.37 ▲0.0146.84 ▲2.83
Add New Post /wp-admin/post-new.php5.89 ▲0.0195.22 ▼7.52
Media Library /wp-admin/upload.php3.24 ▲0.0135.86 ▲4.79

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Blocks for Gutenberg
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.26 ▼1.061.93 ▲0.0143.31 ▼0.51
Dashboard /wp-admin2,205 ▲205.85 ▲0.9799.33 ▼16.5139.58 ▼6.58
Posts /wp-admin/edit.php2,091 ▲21.98 ▼0.0239.52 ▲0.9636.02 ▲0.17
Add New Post /wp-admin/post-new.php6,354 ▲4,84036.89 ▲19.431,148.26 ▲471.8555.19 ▲6.17
Media Library /wp-admin/upload.php1,384 ▼74.17 ▲0.00100.00 ▼0.4442.60 ▼1.78

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
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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 following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/orchestrated-blocks/orchestrated-blocks.php:42

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: block, feature, gutenberg, wordpress, plugin

orchestrated-blocks/orchestrated-blocks.php Passed 13 tests

The main PHP file in "Blocks for Gutenberg" ver. 1.0.9 adds more information about the plugin and also serves as the entry point for this plugin
55 characters long description:
A set of blocks for WordPress and the Gutenberg editor.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin145,496 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
CSS241,2550145,389
JavaScript2195674
PHP17633

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.00
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 functions685.71%
▷ Anonymous functions114.29%
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
There were not PNG files found in your plugin