78% gutenify

Code Review | Gutenify - Visual Site Builder Blocks & Site Templates.

WordPress plugin Gutenify - Visual Site Builder Blocks & Site Templates. scored 78% from 54 tests.

About plugin

  • Plugin page: gutenify
  • Plugin version: 1.3.8
  • PHP compatiblity: 5.5+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.1-6.2
  • WordPress version: 6.3.1
  • First release: Jan 5, 2020
  • Latest release: Aug 6, 2023
  • Number of updates: 52
  • Update frequency: every 25.3 days
  • Top authors: gutenifydev (78.85%)codeyatri (23.08%)

Code review

54 tests

User reviews

4 reviews

Install metrics

8,000+ active / 90,964 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲2.53MB] [CPU: ▲20.43ms] Passed 4 tests

Server-side resources used by Gutenify - Visual Site Builder Blocks & Site Templates.
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /5.76 ▲2.2973.87 ▲26.68
Dashboard /wp-admin5.91 ▲2.6170.42 ▲22.47
Posts /wp-admin/edit.php5.96 ▲2.6162.01 ▲12.57
Add New Post /wp-admin/post-new.php9.63 ▲3.75127.97 ▲36.34
Media Library /wp-admin/upload.php5.83 ▲2.6151.83 ▲19.98
Gutenify /wp-admin/admin.php?page=gutenify5.8551.66
Add New /wp-admin/post-new.php?post_type=gutenify_template9.62119.87
Templates /wp-admin/edit.php?post_type=gutenify_template5.8851.55
Categories /wp-admin/edit-tags.php?taxonomy=gutenify_template_category&post_type=gutenify_template5.8346.67
Settings /wp-admin/admin.php?page=gutenify-settings5.8853.82
Demo Importer /wp-admin/admin.php?page=gutenify-demo-importer5.8554.72

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 520 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Gutenify - Visual Site Builder Blocks & Site Templates.
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,107 ▲36114.24 ▼0.5215.26 ▲12.9948.71 ▲5.30
Dashboard /wp-admin2,303 ▲1125.85 ▲0.9397.23 ▼18.4637.88 ▼7.84
Posts /wp-admin/edit.php2,187 ▲982.06 ▲0.0539.62 ▲4.1335.32 ▲1.35
Add New Post /wp-admin/post-new.php6,651 ▲5,11722.94 ▼0.141,032.48 ▲374.9337.94 ▼26.12
Media Library /wp-admin/upload.php1,488 ▲1004.26 ▼0.0294.30 ▼4.7043.34 ▲0.24
Gutenify /wp-admin/admin.php?page=gutenify1,1839.53216.4961.18
Add New /wp-admin/post-new.php?post_type=gutenify_template6,57323.05869.5932.64
Templates /wp-admin/edit.php?post_type=gutenify_template1,1611.9337.9532.96
Categories /wp-admin/edit-tags.php?taxonomy=gutenify_template_category&post_type=gutenify_template1,3562.1527.0630.33
Settings /wp-admin/admin.php?page=gutenify-settings1,14414.74138.7327.69
Demo Importer /wp-admin/admin.php?page=gutenify-demo-importer2,65010.39107.9957.58

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

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

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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
  • 169× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Monolog\\TestCase' not found in wp-content/plugins/gutenify/core/inc/lib/WordPress-Importer/vendor/monolog/monolog/tests/Monolog/Handler/SlackbotHandlerTest.php:22
    • > PHP Fatal error
      Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/gutenify/core/inc/lib/WordPress-Importer/vendor/monolog/monolog/src/Monolog/Handler/IFTTTHandler.php:27
    • > PHP Fatal error
      Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/gutenify/core/inc/lib/WordPress-Importer/vendor/monolog/monolog/src/Monolog/Handler/ElasticSearchHandler.php:36
    • > PHP Fatal error
      Uncaught Error: Class 'Monolog\\TestCase' not found in wp-content/plugins/gutenify/core/inc/lib/WordPress-Importer/vendor/monolog/monolog/tests/Monolog/Handler/TestHandlerTest.php:20
    • > PHP Fatal error
      Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/gutenify/core/inc/lib/WordPress-Importer/vendor/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php:22
    • > PHP Fatal error
      Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/gutenify/core/inc/lib/WordPress-Importer/vendor/monolog/monolog/tests/Monolog/Formatter/LogstashFormatterTest.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/gutenify/core/inc/lib/WordPress-Importer/vendor/monolog/monolog/src/Monolog/Handler/GroupHandler.php:21
    • > PHP Fatal error
      Uncaught Error: Class 'Monolog\\TestCase' not found in wp-content/plugins/gutenify/core/inc/lib/WordPress-Importer/vendor/monolog/monolog/tests/Monolog/Handler/BufferHandlerTest.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'Monolog\\TestCase' not found in wp-content/plugins/gutenify/core/inc/lib/WordPress-Importer/vendor/monolog/monolog/tests/Monolog/Handler/AbstractHandlerTest.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/gutenify/core/inc/lib/WordPress-Importer/vendor/monolog/monolog/src/Monolog/Handler/FirePHPHandler.php:21

User-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
    • > GET request to /wp-admin/admin.php?page=gutenify-settings
    • > Console-api (severe) in wp-includes/js/dist/data.min.js?ver=ff7eb3945f963be850ff+1:19276
    Store \"gutenify/settings\" is already registered.

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 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
7 plugin tags: count down, gutenberg, editor, google maps, blocks...

gutenify/gutenify.php 92% from 13 tests

The main PHP file in "Gutenify - Visual Site Builder Blocks & Site Templates." ver. 1.3.8 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 278 characters long)

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
There were no executable files found in this plugin38,403 lines of code in 438 files:
LanguageFilesBlank linesComment linesLines of code
PHP2854,5848,79024,937
CSS491,146644,691
SVG60124,487
JSON32001,940
JavaScript564022031,547
Markdown92450785
XML13016

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity9.98
▷ Minimum class complexity1.00
▷ Maximum class complexity289.00
Average method complexity2.48
▷ Minimum method complexity1.00
▷ Maximum method complexity33.00
Code structure
Namespaces15
Interfaces5
Traits2
Classes211
▷ Abstract classes73.32%
▷ Concrete classes20496.68%
▷ Final classes00.00%
Methods1,374
▷ Static methods775.60%
▷ Public methods1,04876.27%
▷ Protected methods24417.76%
▷ Private methods825.97%
Functions164
▷ Named functions9658.54%
▷ Anonymous functions6841.46%
Constants66
▷ Global constants710.61%
▷ Class constants5989.39%
▷ Public constants59100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
36 PNG files occupy 0.41MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
core/assets/images/layouts/slider/layout-4.png2.50KB1.43KB▼ 42.78%
core/assets/images/layouts/info-box/layout-3.png1.21KB1.13KB▼ 6.16%
core/assets/images/layouts/team-member/layout-5.png2.09KB1.14KB▼ 45.40%
core/assets/images/admin/gutenify-template-kits.png133.93KB134.07KB0.00%
core/assets/images/layouts/info-box/layout-5.png1.69KB0.95KB▼ 43.45%