84% remove-try-gutenberg-callout

Code Review | Remove 'Try Gutenberg' callout

WordPress plugin Remove 'Try Gutenberg' callout scored84%from 54 tests.

About plugin

  • Plugin page: remove-try-gutenb...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9.8-4.9.8
  • WordPress version: 6.3.1
  • First release: Aug 3, 2018
  • Latest release: Aug 3, 2018
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: neojp (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active /770 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: ▼0.01MB] [CPU: ▼7.91ms] Passed 4 tests

A check of server-side resources used by Remove 'Try Gutenberg' callout
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0046.75 ▼0.98
Dashboard /wp-admin3.31 ▼0.0449.58 ▼18.57
Posts /wp-admin/edit.php3.36 ▲0.0051.09 ▼9.68
Add New Post /wp-admin/post-new.php5.89 ▲0.0092.52 ▼2.42
Media Library /wp-admin/upload.php3.23 ▲0.0036.33 ▲1.99

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Remove 'Try Gutenberg' callout
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.14 ▼0.231.66 ▼0.3140.58 ▼1.68
Dashboard /wp-admin2,195 ▲185.65 ▼0.0191.38 ▼2.9336.63 ▼3.74
Posts /wp-admin/edit.php2,100 ▼32.05 ▲0.0639.23 ▼6.8136.45 ▼7.97
Add New Post /wp-admin/post-new.php1,526 ▼617.71 ▼5.64692.25 ▼15.6450.56 ▼7.78
Media Library /wp-admin/upload.php1,403 ▲34.24 ▼0.0199.88 ▼7.4744.87 ▼0.99

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • 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
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
Almost there! Just fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/remove-try-gutenberg-callout/remove-try-gutenberg-callout.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: disable, gutenberg, remove, callout, hide

remove-try-gutenberg-callout/remove-try-gutenberg-callout.php Passed 13 tests

The main PHP file in "Remove 'Try Gutenberg' callout" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
129 characters long description:
Starting WordPress 4.9.8 a new 'Try Gutenberg' callout will be displayed, use this to disable such message. http://bit.ly/2nbVRv7

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected3 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP18193

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.50
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%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin