84% advanced-gutenberg

Code Review | Gutenberg Blocks - PublishPress Blocks Gutenberg Editor Plugin

WordPress plugin Gutenberg Blocks - PublishPress Blocks Gutenberg Editor Plugin scored 84% from 54 tests.

About plugin

  • Plugin page: advanced-gutenberg
  • Plugin version: 2.12.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.9.2
  • WordPress version: 5.9.2
  • First release: Dec 27, 2017
  • Latest release: Mar 30, 2022
  • Number of updates: 294
  • Update frequency: every 5.3 days
  • Top authors: JoomUnited (64.97%)publishpress (29.93%)advancedgutenberg (5.78%)

Code review

54 tests

User reviews

163 reviews

Install metrics

30,000+ active / 1,006,166 total downloads


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: ▲1.38MB] [CPU: ▼275.52ms] Passed 4 tests

A check of server-side resources used by Gutenberg Blocks - PublishPress Blocks Gutenberg Editor Plugin
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /4.69 ▲1.1891.10 ▲19.94
Dashboard /wp-admin4.83 ▲1.4347.25 ▲5.18
Posts /wp-admin/edit.php5.09 ▲1.4459.23 ▲10.44
Add New Post /wp-admin/post-new.php8.63 ▲1.66139.21 ▼1,128.75
Media Library /wp-admin/upload.php4.79 ▲1.4943.10 ▲11.06
Block Config /wp-admin/admin.php?&page=advgb-woo-products4.8836.93
Block Config /wp-admin/admin.php?&page=advgb-newsletter4.8836.26
Block Config /wp-admin/admin.php?&page=advgb-image4.8837.01
Block Config /wp-admin/admin.php?&page=advgb-images-slider4.8833.82
Block Config /wp-admin/admin.php?&page=advgb-recent-posts4.8430.94
Block Config /wp-admin/admin.php?&page=advgb-contact-form4.8833.91
Block Config /wp-admin/admin.php?&page=advgb-button4.8834.80
Block Config /wp-admin/admin.php?&page=advgb-icon4.8835.04
Block Config /wp-admin/admin.php?&page=advgb-summary4.8832.36
Block Config /wp-admin/admin.php?&page=advgb-list4.8834.94

Server storage [IO: ▲7.03MB] [DB: ▲0.06MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 221 new files
Database: no new tables, 4 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Gutenberg Blocks - PublishPress Blocks Gutenberg Editor Plugin
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /4,309 ▲55528.10 ▲12.3614.67 ▲1.443.62 ▼0.20
Dashboard /wp-admin2,947 ▲646.47 ▲0.10189.99 ▲4.17210.00 ▼0.35
Posts /wp-admin/edit.php2,714 ▲293.56 ▲0.1386.24 ▼3.86168.93 ▼15.36
Add New Post /wp-admin/post-new.php1,810 ▲17519.33 ▼3.18626.99 ▼19.62197.57 ▲2.03
Media Library /wp-admin/upload.php1,722 ▲255.67 ▼0.02176.13 ▼8.91247.70 ▲9.24
Block Config /wp-admin/admin.php?&page=advgb-woo-products1,1073.0475.96108.03
Block Config /wp-admin/admin.php?&page=advgb-newsletter1,5513.2098.99121.05
Block Config /wp-admin/admin.php?&page=advgb-image1,4163.1783.00117.61
Block Config /wp-admin/admin.php?&page=advgb-images-slider1,3923.1782.72110.59
Block Config /wp-admin/admin.php?&page=advgb-recent-posts8352.5350.1069.42
Block Config /wp-admin/admin.php?&page=advgb-contact-form1,5343.2099.67119.06
Block Config /wp-admin/admin.php?&page=advgb-button1,6923.26103.49108.76
Block Config /wp-admin/admin.php?&page=advgb-icon1,0963.0673.1989.38
Block Config /wp-admin/admin.php?&page=advgb-summary1,1973.1173.17108.85
Block Config /wp-admin/admin.php?&page=advgb-list1,2843.0789.48110.64

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 4 options
    • advgb_settings
    • advgb_blocks_list
    • advanced-gutenberg_wp_reviews_installed_on
    • advgb_version

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-gutenberg/review/review-request.php:44

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: gutenberg block, gutenberg, blocks, gutenberg blocks, block editor

advanced-gutenberg/advanced-gutenberg.php Passed 13 tests

"Gutenberg Blocks - PublishPress Blocks Gutenberg Editor Plugin" version 2.12.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
101 characters long description:
PublishPress Blocks has everything you need to build professional websites with the Gutenberg 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
No dangerous file extensions were detected82,780 lines of code in 124 files:
LanguageFilesBlank linesComment linesLines of code
PO File1111,96615,84524,428

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.52
Average class complexity94.62
▷ Minimum class complexity1.00
▷ Maximum class complexity597.00
Average method complexity5.57
▷ Minimum method complexity1.00
▷ Maximum method complexity63.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
▷ Static methods1810.98%
▷ Public methods14588.41%
▷ Protected methods10.61%
▷ Private methods1810.98%
▷ Named functions4086.96%
▷ Anonymous functions613.04%
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
58 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/blocks/recent-posts/icons/np-1-5-r.png0.36KB0.10KB▼ 71.70%
assets/blocks/recent-posts/icons/1-3.png0.37KB0.10KB▼ 71.66%