94% disable-wp-5x-update-nag

Code Review | Disable WordPress "Gutenberg" Update

WordPress plugin Disable WordPress "Gutenberg" Update scored 94% from 54 tests.

About plugin

  • Plugin page: disable-wp-5x-upd...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.9
  • WordPress version: 5.8.1
  • First release: Dec 21, 2018
  • Latest release: Feb 16, 2019
  • Number of updates: 6
  • Update frequency: every 9.5 days
  • Top authors: rvola (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 408 total downloads


Plugin footprint Passed 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.00MB] [CPU: ▼171.23ms] Passed 4 tests

An overview of server-side resources used by Disable WordPress "Gutenberg" Update
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0139.86 ▲5.01
Dashboard /wp-admin3.06 ▲0.0148.02 ▼2.57
Posts /wp-admin/edit.php3.12 ▲0.0148.20 ▲0.39
Add New Post /wp-admin/post-new.php5.42 ▼0.0192.61 ▼687.67
Media Library /wp-admin/upload.php3.01 ▲0.0136.85 ▲4.92

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Disable WordPress "Gutenberg" Update
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,664 ▲9215.72 ▲0.0911.07 ▲1.1547.88 ▼3.50
Dashboard /wp-admin2,928 ▼95.93 ▼0.22164.00 ▲17.40101.76 ▼12.46
Posts /wp-admin/edit.php2,706 ▼332.70 ▼0.0063.86 ▼2.7582.98 ▼5.22
Add New Post /wp-admin/post-new.php1,657 ▲7618.88 ▼1.39404.64 ▲5.83108.76 ▼10.96
Media Library /wp-admin/upload.php1,713 ▼975.01 ▲0.00161.74 ▼16.44106.69 ▼20.74

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

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
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/disable-wp-5x-update-nag/disable-wp-5x-update-nag.php:29

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side


Plugin configuration Passed 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
4 plugin tags: autoupdater, gutenberg, wordpress, update

disable-wp-5x-update-nag/disable-wp-5x-update-nag.php Passed 13 tests

The primary PHP file in "Disable WordPress "Gutenberg" Update" version 1.0.1 is used by WordPress to initiate all plugin functionality
119 characters long description:
Disable the update to WordPress 5.X (Gutenberg), while keeping the possibility of automatic updates and lower than 5.X.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected26 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.45
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions2100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin