84% rise-blocks

Code Review | Rise Blocks - A Complete Gutenberg Page Builder

WordPress plugin Rise Blocks - A Complete Gutenberg Page Builder scored84%from 54 tests.

About plugin

  • Plugin page: rise-blocks
  • Plugin version: 3.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.4.1
  • WordPress version: 6.3.1
  • First release: Sep 6, 2019
  • Latest release: Nov 28, 2023
  • Number of updates: 55
  • Update frequency: every 28.2 days
  • Top authors: risethemes (98.18%)eaglethemes (3.64%)

Code review

54 tests

User reviews

8 reviews

Install metrics

3,000+ active /84,303 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲1.84MB] [CPU: ▲7.87ms] Passed 4 tests

Analyzing server-side resources used by Rise Blocks - A Complete Gutenberg Page Builder
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /5.42 ▲1.9654.05 ▲12.00
Dashboard /wp-admin5.10 ▲1.8051.71 ▼0.93
Posts /wp-admin/edit.php5.16 ▲1.8056.58 ▲6.75
Add New Post /wp-admin/post-new.php8.12 ▲2.23114.25 ▲25.80
Media Library /wp-admin/upload.php5.03 ▲1.8050.62 ▲13.66

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 256 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Rise Blocks - A Complete Gutenberg Page Builder
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,997 ▲22513.46 ▼0.878.50 ▲6.6638.44 ▼8.98
Dashboard /wp-admin2,221 ▲445.53 ▼0.1391.49 ▼29.4772.77 ▲13.86
Posts /wp-admin/edit.php2,141 ▲411.94 ▼0.0838.30 ▼0.4235.32 ▼4.45
Add New Post /wp-admin/post-new.php1,971 ▲42925.69 ▲0.30947.75 ▲322.8171.75 ▲8.12
Media Library /wp-admin/upload.php1,441 ▲384.14 ▼0.09109.11 ▲3.6570.45 ▲24.89

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
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • widget_recent-comments
    • rise_blocks_do_redirect
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP 50% from 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 following issues need your attention
  • 32× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/buttons.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/heading.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/news-1.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/carousel-post.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/slider.php:10
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_remote_get() in wp-content/plugins/rise-blocks/classes/marketplace/template.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/accordion-item.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Rise_Blocks_Helper' not found in wp-content/plugins/rise-blocks/classes/admin.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/accordion.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Rise_Blocks_Base' not found in wp-content/plugins/rise-blocks/classes/blocks/section.php:11

User-side errors Passed 1 test

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


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: gutenberg blocks, gutenberg, fse, block, editor...

rise-blocks/plugin.php 92% from 13 tests

Analyzing the main PHP file in "Rise Blocks - A Complete Gutenberg Page Builder" version 3.2
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("rise-blocks.php" instead of "plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin163,603 lines of code in 164 files:
LanguageFilesBlank linesComment linesLines of code
PO File1138170294

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity15.28
▷ Minimum class complexity1.00
▷ Maximum class complexity92.00
Average method complexity3.48
▷ Minimum method complexity1.00
▷ Maximum method complexity25.00
Code structure
▷ Abstract classes13.45%
▷ Concrete classes2896.55%
▷ Final classes00.00%
▷ Static methods8450.30%
▷ Public methods15190.42%
▷ Protected methods169.58%
▷ Private methods00.00%
▷ Named functions240.00%
▷ Anonymous functions360.00%
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
19 PNG files occupy 1.00MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
templates/img/rate.png68.23KB22.18KB▼ 67.50%
templates/img/logo.png1.52KB1.51KB▼ 0.51%
templates/img/drag-drop.png72.87KB28.02KB▼ 61.55%
img/logo.png1.52KB1.51KB▼ 0.51%