84% welcome-to-the-block-editor-b-gone

Code Review | Welcome to the block editor B gone

WordPress plugin Welcome to the block editor B gone scored84%from 54 tests.

About plugin

  • Plugin page: welcome-to-the-bl...
  • Plugin version: 1.04
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.0.1
  • WordPress version: 6.3.1
  • First release: Mar 27, 2021
  • Latest release: Jul 31, 2022
  • Number of updates: 10
  • Update frequency: every 49.1 days
  • Top authors: jonkastonka (100%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active /1,822 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.41ms] Passed 4 tests

Analyzing server-side resources used by Welcome to the block editor B gone
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.59 ▼2.72
Dashboard /wp-admin3.31 ▲0.0044.83 ▼2.18
Posts /wp-admin/edit.php3.36 ▲0.0045.31 ▼8.38
Add New Post /wp-admin/post-new.php5.91 ▲0.0291.33 ▼4.35
Media Library /wp-admin/upload.php3.23 ▲0.0036.24 ▼1.93

Server storage [IO: ▲0.00MB] [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: 3 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Welcome to the block editor B gone
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲6713.19 ▼1.192.19 ▼0.1841.96 ▼3.13
Dashboard /wp-admin2,208 ▲175.83 ▼0.07103.30 ▲0.5939.65 ▼2.06
Posts /wp-admin/edit.php2,091 ▲22.02 ▼0.0339.29 ▼3.6934.41 ▼1.61
Add New Post /wp-admin/post-new.php1,495 ▼4023.13 ▲0.20621.06 ▼19.0851.73 ▲2.32
Media Library /wp-admin/upload.php1,393 ▲54.24 ▲0.03102.59 ▲4.2644.21 ▲2.18

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/welcome-to-the-block-editor-b-gone/welcome-to-the-block-editor-b-gone.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 93% from 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: welcome to the block editor, block editor, gutenberg, welcome

welcome-to-the-block-editor-b-gone/welcome-to-the-block-editor-b-gone.php 85% from 13 tests

"Welcome to the block editor B gone" version 1.04's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
  • Domain Path: The domain path is invalid: folder "/languages" does not exist

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
No dangerous file extensions were detected20 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP121012
JavaScript1108

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
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%
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

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin