89% remove-try-gutenberg-dashboard-notification

Code Review | Remove Try Gutenberg Dashboard Notification

WordPress plugin Remove Try Gutenberg Dashboard Notification scored89%from 54 tests.

About plugin

  • Plugin page: remove-try-gutenb...
  • Plugin version: 1.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.9.8
  • WordPress version: 6.3.1
  • First release: Aug 4, 2018
  • Latest release: Aug 4, 2018
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: animejs (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /664 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▲0.46ms] Passed 4 tests

Analyzing server-side resources used by Remove Try Gutenberg Dashboard Notification
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.88 ▼4.09
Dashboard /wp-admin3.31 ▲0.0151.03 ▲0.83
Posts /wp-admin/edit.php3.37 ▲0.0148.70 ▲4.62
Add New Post /wp-admin/post-new.php5.90 ▲0.0193.38 ▲3.08
Media Library /wp-admin/upload.php3.24 ▲0.0136.26 ▲2.02

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

Remove Try Gutenberg Dashboard Notification: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.34 ▼0.011.73 ▼0.0741.95 ▼4.62
Dashboard /wp-admin2,198 ▲185.61 ▼0.0488.34 ▼6.6436.76 ▼1.22
Posts /wp-admin/edit.php2,097 ▼31.99 ▼0.0235.61 ▼4.0434.62 ▲2.06
Add New Post /wp-admin/post-new.php1,539 ▲1323.08 ▼0.03606.68 ▼39.5475.91 ▲18.70
Media Library /wp-admin/upload.php1,400 ▲34.19 ▼0.00106.84 ▼1.5543.16 ▲0.18

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
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% 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: try gutenberg, dismiss, remove gutenberg, gutenberg

remove-try-gutenberg-dashboard-notification/remove-try-gutenberg-dashboard-notification.php 77% from 13 tests

This is the main PHP file of "Remove Try Gutenberg Dashboard Notification" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • Requires at least: Required version must match the one declared in readme.txt ("4.9.8" instead of "4.0")
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Domain Path: The domain path folder was not found ("/languages")

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
No dangerous file extensions were detected34 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1221534

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods375.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin