84% no-gutenberg

Code Review | No Gutenberg - Disable Gutenberg Blocks Editor and FSE Global Styles

WordPress plugin No Gutenberg - Disable Gutenberg Blocks Editor and FSE Global Styles scored84%from 54 tests.

About plugin

  • Plugin page: no-gutenberg
  • Plugin version: 1.0.7
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.4
  • WordPress version: 6.3.1
  • First release: Apr 18, 2018
  • Latest release: Nov 6, 2023
  • Number of updates: 24
  • Update frequency: every 84.5 days
  • Top authors: fernandot (100%)

Code review

54 tests

User reviews

14 reviews

Install metrics

10,000+ active /114,713 total downloads

Benchmarks

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: ▼0.63MB] [CPU: ▼17.48ms] Passed 4 tests

Server-side resources used by No Gutenberg - Disable Gutenberg Blocks Editor and FSE Global Styles
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▼0.0034.44 ▼9.57
Dashboard /wp-admin3.31 ▼0.0342.84 ▼19.07
Posts /wp-admin/edit.php3.37 ▲0.0148.10 ▼1.91
Add New Post /wp-admin/post-new.php3.40 ▼2.4956.32 ▼39.38
Media Library /wp-admin/upload.php3.24 ▲0.0138.13 ▲3.66

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by No Gutenberg - Disable Gutenberg Blocks Editor and FSE Global Styles
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,812 ▲5014.34 ▼0.061.95 ▲0.1537.16 ▼8.17
Dashboard /wp-admin2,195 ▲185.59 ▼0.1398.43 ▼2.6743.76 ▲0.20
Posts /wp-admin/edit.php2,100 ▼01.97 ▲0.0240.52 ▲3.5436.49 ▲1.99
Add New Post /wp-admin/post-new.php3,102 ▲1,5767.76 ▼15.35205.75 ▼484.2674.13 ▲11.56
Media Library /wp-admin/upload.php1,397 ▼04.22 ▲0.04105.66 ▼6.2944.29 ▼1.60

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

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
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/no-gutenberg/no-gutenberg.php

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: gutenberg, classic editor, disable gutenberg, fse, gutenfree...

no-gutenberg/no-gutenberg.php 85% from 13 tests

"No Gutenberg - Disable Gutenberg Blocks Editor and FSE Global Styles" version 1.0.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 243 characters long)
  • Plugin Name: Keep the plugin name shorter than 70 characters (currently 79 characters long)

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
Everything looks great! No dangerous files found in this plugin16 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP173716

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin