Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.61MB] [CPU: ▼9.34ms] Passed 4 tests
Server-side resources used by Disable Gutenberg
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.12 ▼5.07 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.14 ▼5.92 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.42 ▲2.67 |
Add New Post /wp-admin/post-new.php | 3.41 ▼2.48 | 57.83 ▼29.02 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.16 ▲3.00 |
Auto Disable Gutenburg /wp-admin/options-general.php?page=auto-disable-gutenburg | 3.22 | 28.59 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Disable Gutenberg
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.25 ▼1.33 | 1.70 ▲0.01 | 44.44 ▼0.16 |
Dashboard /wp-admin | 2,210 ▲19 | 4.89 ▼1.09 | 107.56 ▼12.37 | 38.04 ▼9.34 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.03 | 39.33 ▼0.94 | 34.64 ▼1.95 |
Add New Post /wp-admin/post-new.php | 3,092 ▲1,573 | 7.79 ▼15.34 | 197.89 ▼420.56 | 70.19 ▲10.33 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.18 ▼0.07 | 99.04 ▼24.31 | 39.30 ▼11.27 |
Auto Disable Gutenburg /wp-admin/options-general.php?page=auto-disable-gutenburg | 772 | 2.06 | 26.29 | 30.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/auto-disable-editor/auto-disable-editor.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auto-disable-editor/Admin/admin.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=auto-disable-gutenburg
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=auto-disable-gutenburg - Access to script at 'https://embed.tawk.to/5e20001027773e0d832dcb90/default' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/options-general.php?page=auto-disable-gutenburg
- > Network (severe)
https://embed.tawk.to/5e20001027773e0d832dcb90/default - Failed to load resource: net::ERR_FAILED
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: gutenberg, disable gutenberg, disable block editor, how to disable gutenberg, remove gutenberg...
auto-disable-editor/auto-disable-editor.php Passed 13 tests
"Disable Gutenberg" version 1.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
103 characters long description:
Auto Disable Gutenberg will help to enable classic editor. its will disable new gutenberg block plugin.
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
No dangerous file extensions were detected114 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 65 | 24 | 105 |
JavaScript | 1 | 3 | 0 | 9 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 4 | 50.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin