94% editor-full-width

Code Review | Editor Full Width Gutenberg

WordPress plugin Editor Full Width Gutenberg scored 94% from 54 tests.

About plugin

  • Plugin page: editor-full-width
  • Plugin version: 1.0.5
  • PHP compatiblity: 5.6.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9.8-5.5.0
  • WordPress version: 5.8.1
  • First release: Sep 21, 2018
  • Latest release: Aug 4, 2020
  • Number of updates: 12
  • Update frequency: every 56.9 days
  • Top authors: jackalpret (100%)

Code review

54 tests

User reviews

17 reviews

Install metrics

7,000+ active / 27,101 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

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

This is a short check of server-side resources used by Editor Full Width Gutenberg
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1238.25 ▲15.32
Dashboard /wp-admin3.06 ▲0.0152.77 ▲1.24
Posts /wp-admin/edit.php3.11 ▲0.0146.83 ▼1.78
Add New Post /wp-admin/post-new.php5.42 ▼0.0192.50 ▼560.76
Media Library /wp-admin/upload.php3.00 ▲0.0026.54 ▼8.37

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Editor Full Width Gutenberg
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,706 ▲11016.27 ▲0.679.94 ▼2.7743.21 ▼19.34
Dashboard /wp-admin2,976 ▲455.91 ▼0.09142.40 ▼9.07122.84 ▲4.87
Posts /wp-admin/edit.php2,742 ▲32.82 ▲0.0163.53 ▼1.0193.73 ▲5.15
Add New Post /wp-admin/post-new.php1,686 ▲318.83 ▲0.49381.32 ▼10.89120.09 ▲8.14
Media Library /wp-admin/upload.php1,809 ▲25.01 ▲0.01157.50 ▼18.87121.81 ▼9.63

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully

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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/editor-full-width/gutenbergfullwidth.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found


Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: width, blocks, editor width, editor, page builder...

editor-full-width/gutenbergfullwidth.php 85% from 13 tests

The entry point to "Editor Full Width Gutenberg" version 1.0.5 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("editor-full-width.php" instead of "gutenbergfullwidth.php")
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin17 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ 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
No PNG files were detected