Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.40MB] [CPU: ▼14.32ms] Passed 4 tests
Analyzing server-side resources used by Disable Gutenberg
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 38.54 ▲0.72 |
Dashboard /wp-admin | 3.56 ▲0.21 | 49.50 ▼11.55 |
Posts /wp-admin/edit.php | 3.67 ▲0.32 | 50.97 ▲3.48 |
Add New Post /wp-admin/post-new.php | 3.70 ▼2.18 | 58.92 ▼49.91 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 41.82 ▲8.37 |
Disable Gutenberg /wp-admin/options-general.php?page=disable-gutenberg | 3.45 | 35.55 |
Server storage [IO: ▲0.99MB] [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: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
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,782 ▲36 | 14.15 ▼0.20 | 1.59 ▼0.07 | 36.18 ▼2.04 |
Dashboard /wp-admin | 2,199 ▲28 | 5.62 ▲0.05 | 85.92 ▼3.51 | 39.00 ▼4.61 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▼0.06 | 34.98 ▼7.02 | 31.95 ▼7.31 |
Add New Post /wp-admin/post-new.php | 3,112 ▲1,586 | 7.83 ▼15.88 | 173.19 ▼488.52 | 66.10 ▲12.73 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.16 ▼0.01 | 102.08 ▲6.69 | 46.06 ▲3.06 |
Disable Gutenberg /wp-admin/options-general.php?page=disable-gutenberg | 1,080 | 2.10 | 44.29 | 45.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: gutenberg, block editor, classic editor, editor
disable-gutenberg/disable-gutenberg.php 92% from 13 tests
The main PHP file in "Disable Gutenberg" ver. 3.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 167 characters long)
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
There were no executable files found in this plugin3,620 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 10 | 652 | 60 | 805 |
JavaScript | 1 | 25 | 1 | 101 |
CSS | 2 | 5 | 2 | 43 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 61 | |
▷ Named functions | 61 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin