84% gutenverse

Code Review | Gutenverse - Gutenberg Blocks - Page Builder for Site Editor

WordPress plugin Gutenverse - Gutenberg Blocks - Page Builder for Site Editor scored84%from 54 tests.

About plugin

  • Plugin page: gutenverse
  • Plugin version: 1.8.9
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Feb 9, 2022
  • Latest release: Nov 15, 2023
  • Number of updates: 62
  • Update frequency: every 10.4 days
  • Top authors: jegstudio (66.13%)yogajegstudio (35.48%)

Code review

54 tests

User reviews

123 reviews

Install metrics

30,000+ active /336,394 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: ▲2.98MB] [CPU: ▲9.33ms] Passed 4 tests

Server-side resources used by Gutenverse - Gutenberg Blocks - Page Builder for Site Editor
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /6.64 ▲3.1760.34 ▲17.64
Dashboard /wp-admin6.25 ▲2.9156.06 ▼7.07
Posts /wp-admin/edit.php6.30 ▲2.9561.79 ▲17.50
Add New Post /wp-admin/post-new.php10.00 ▲4.11112.22 ▲14.27
Media Library /wp-admin/upload.php6.11 ▲2.8847.29 ▲12.62
Form Action /wp-admin/edit.php?post_type=gutenverse-form6.6854.40
Entries /wp-admin/edit.php?post_type=gutenverse-entries6.2244.43
Dashboard /wp-admin/admin.php?page=gutenverse6.18374.23

Server storage [IO: ▲21.05MB] [DB: ▲0.07MB] Passed 3 tests

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 290 new files
Database: no new tables, 8 new options
New WordPress options
theysaidso_admin_options
gutenverse-meta-option
db_upgraded
gutenverse_twentytwentyone_upgrader_page_content
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Gutenverse - Gutenberg Blocks - Page Builder for Site Editor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,135 ▲36316.50 ▲2.1844.16 ▲42.1646.31 ▲2.42
Dashboard /wp-admin2,337 ▲1595.59 ▼0.1393.33 ▼24.3483.47 ▲36.25
Posts /wp-admin/edit.php2,263 ▲1632.01 ▲0.0638.50 ▲3.4339.08 ▲3.38
Add New Post /wp-admin/post-new.php11,036 ▲9,51031.74 ▲8.921,401.57 ▲759.1047.39 ▼6.75
Media Library /wp-admin/upload.php1,548 ▲1484.24 ▲0.06100.81 ▲5.0174.46 ▲32.75
Form Action /wp-admin/edit.php?post_type=gutenverse-form1,4254.3064.29102.03
Entries /wp-admin/edit.php?post_type=gutenverse-entries1,2961.9233.4536.36
Dashboard /wp-admin/admin.php?page=gutenverse1,17516.05470.24124.20

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • This plugin did not uninstall successfully, leaving 8 options in the database
    • theysaidso_admin_options
    • gutenverse-meta-option
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • gutenverse_twentytwentyone_upgrader_page_content
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for 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
Please fix the following
  • 86× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Style\\Style_Abstract' not found in wp-content/plugins/gutenverse/includes/style/class-section.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Block\\Block_Abstract' not found in wp-content/plugins/gutenverse/includes/block/class-social-share-vk.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Style\\Style_Abstract' not found in wp-content/plugins/gutenverse/includes/style/class-progress-bar.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Style\\Style_Abstract' not found in wp-content/plugins/gutenverse/includes/style/class-form-input-text.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Block\\Block_Abstract' not found in wp-content/plugins/gutenverse/includes/block/class-post-content.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Block\\Block_Abstract' not found in wp-content/plugins/gutenverse/includes/block/class-social-share-stumbleupon.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Style\\Style_Abstract' not found in wp-content/plugins/gutenverse/includes/style/class-form-input-radio.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Style\\Style_Abstract' not found in wp-content/plugins/gutenverse/includes/style/class-divider.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Style\\Style_Abstract' not found in wp-content/plugins/gutenverse/includes/style/class-icon.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'Gutenverse\\Style\\Style_Abstract' not found in wp-content/plugins/gutenverse/includes/style/class-star-rating.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt is a good inspiration

gutenverse/gutenverse.php Passed 13 tests

Analyzing the main PHP file in "Gutenverse - Gutenberg Blocks - Page Builder for Site Editor" version 1.8.9
137 characters long description:
Collection of easy to use and customizable blocks for WordPress Block Editor. Build a great website using block provided with Gutenverse.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin62,893 lines of code in 216 files:
LanguageFilesBlank linesComment linesLines of code
PHP1143,0964,74723,155
CSS256,5197416,752
SVG60012,377
JSON645010,596
JavaScript702613

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.49
Average class complexity23.06
▷ Minimum class complexity1.00
▷ Maximum class complexity204.00
Average method complexity2.95
▷ Minimum method complexity1.00
▷ Maximum method complexity71.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes106
▷ Abstract classes43.77%
▷ Concrete classes10296.23%
▷ Final classes00.00%
Methods512
▷ Static methods265.08%
▷ Public methods45288.28%
▷ Protected methods377.23%
▷ Private methods234.49%
Functions1,117
▷ Named functions353.13%
▷ Anonymous functions1,08296.87%
Constants18
▷ Global constants1266.67%
▷ Class constants633.33%
▷ Public constants6100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
20 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/post-block-4.png2.52KB1.79KB▼ 28.88%
assets/img/popup-builder-8.png5.60KB3.92KB▼ 29.97%
assets/img/popup-builder-2.png6.48KB4.81KB▼ 25.77%
assets/img/popup-builder-10.png5.59KB3.99KB▼ 28.70%
assets/img/popup-builder-4.png6.69KB4.94KB▼ 26.24%