Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.79MB] [CPU: ▼32.34ms] Passed 4 tests
Server-side resources used by Dismiss Gutenberg Nag
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.07 | 46.28 ▲2.05 |
Dashboard /wp-admin | 3.43 ▼0.14 | 31.77 ▼24.86 |
Posts /wp-admin/edit.php | 3.43 ▼0.25 | 29.60 ▼23.56 |
Add New Post /wp-admin/post-new.php | 3.43 ▼2.72 | 28.20 ▼72.38 |
Media Library /wp-admin/upload.php | 3.43 ▼0.06 | 27.52 ▼8.55 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
dismiss_gutenberg_nag_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Dismiss Gutenberg Nag
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.27 ▼0.16 | 2.09 ▼0.46 | 44.40 ▲1.25 |
Dashboard /wp-admin | 2,192 ▲15 | 5.57 ▼0.06 | 84.88 ▼9.80 | 38.33 ▼10.29 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.02 | 35.65 ▼5.48 | 33.40 ▼3.77 |
Add New Post /wp-admin/post-new.php | 1,526 ▼19 | 17.70 ▼5.49 | 620.54 ▼14.61 | 48.94 ▼4.09 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.20 ▼0.04 | 98.04 ▼16.71 | 46.39 ▲0.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5453
Function add_option_whitelist is deprecated since version 5.5.0! Use add_allowed_options() instead.
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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
5 plugin tags: dismiss-gutenberg-nag, dismiss-gutenberg-widget, gutenberg, dismiss-dashboard-widget, luciano-croce
dismiss-gutenberg-nag/dismiss-gutenberg-nag.php Passed 13 tests
The main PHP file in "Dismiss Gutenberg Nag" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
120 characters long description:
Dismiss "try Gutenberg" nag, dashboard widget, and demo menu, when it is activated, or if it is in mu-plugins directory.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin536 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 94 | 379 | 536 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin