84% gutenbye

Code Review | Gutenbye

WordPress plugin Gutenbye scored84%from 54 tests.

About plugin

  • Plugin page: gutenbye
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.0
  • WordPress version: 6.3.1
  • First release: Dec 7, 2018
  • Latest release: Dec 7, 2018
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: imevilduckie (100%)

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active /3,862 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
This plugin's installer ran successfully

Server metrics [RAM: ▼0.62MB] [CPU: ▼13.82ms] Passed 4 tests

An overview of server-side resources used by Gutenbye
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0035.72 ▼2.39
Dashboard /wp-admin3.31 ▲0.0041.49 ▼7.06
Posts /wp-admin/edit.php3.36 ▲0.0048.63 ▲2.60
Add New Post /wp-admin/post-new.php3.39 ▼2.5051.33 ▼48.42
Media Library /wp-admin/upload.php3.23 ▲0.0038.03 ▲2.65

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Gutenbye
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7913.25 ▼1.051.98 ▲0.3040.05 ▲0.39
Dashboard /wp-admin2,206 ▲185.85 ▼0.02114.28 ▲9.8842.54 ▼19.90
Posts /wp-admin/edit.php2,089 ▼01.99 ▼0.0637.75 ▼3.6436.54 ▲1.26
Add New Post /wp-admin/post-new.php3,094 ▲1,5757.71 ▼15.57211.57 ▼443.4475.07 ▲27.02
Media Library /wp-admin/upload.php1,388 ▼34.25 ▼0.0796.68 ▼4.4138.86 ▼6.88

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

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/gutenbye/gutenbye.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: gutenberg, classic, editor, block

gutenbye/gutenbye.php Passed 13 tests

This is the main PHP file of "Gutenbye" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
124 characters long description:
A very simple plugin to disable the Block Editor (formerly known as Gutenberg) and restore the classic WordPress experience.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected6 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12126

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions1
▷ Named functions1100.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
There are no PNG files in this plugin