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.08MB] [CPU: ▼6.08ms] Passed 4 tests
This is a short check of server-side resources used by Hide Admin Dashboard Notifications
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.38 ▲0.36 |
Dashboard /wp-admin | 3.39 ▲0.05 | 51.67 ▼11.74 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 48.87 ▲1.74 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 94.53 ▼14.37 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.60 ▲1.42 |
xxx /wp-admin/admin.php?page=admin-cod-menu-hack | 3.12 | 27.93 |
Hide dashboard notifications /wp-admin/admin.php?page=belo_main | 3.28 | 34.46 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Hide Admin Dashboard Notifications
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲171 | 13.65 ▼0.73 | 8.29 ▲6.27 | 43.95 ▲1.50 |
Dashboard /wp-admin | 2,225 ▲37 | 5.91 ▲0.97 | 99.00 ▼9.36 | 92.44 ▲48.09 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.04 ▲0.04 | 37.14 ▼0.11 | 33.13 ▼0.58 |
Add New Post /wp-admin/post-new.php | 1,698 ▲178 | 22.54 ▼0.75 | 675.01 ▲36.32 | 51.91 ▼13.77 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.25 ▲0.05 | 111.67 ▲11.48 | 46.13 ▲2.32 |
xxx /wp-admin/admin.php?page=admin-cod-menu-hack | 28 | 0.44 | 0.07 | 3.87 |
Hide dashboard notifications /wp-admin/admin.php?page=belo_main | 933 | 2.17 | 42.04 | 32.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 50% 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)
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/hide-admin-dashboard-notifications/public/partials/belo-hide-admin-notifications-public-display.php
- > /wp-content/plugins/hide-admin-dashboard-notifications/admin/partials/belo-hide-admin-notifications-admin-display.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=admin-cod-menu-hack
- > Network (severe)
wp-admin/admin.php?page=admin-cod-menu-hack - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Requires at least: Invalid plugin version format
hide-admin-dashboard-notifications/belo-hide-admin-notifications.php 85% from 13 tests
"Hide Admin Dashboard Notifications" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("hide-admin-dashboard-notifications.php" instead of "belo-hide-admin-notifications.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin4,928 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 11 | 79 | 3,805 |
CSS | 5 | 3 | 12 | 759 |
PHP | 12 | 168 | 541 | 364 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 2 | 7.69% |
▷ Public methods | 21 | 80.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 19.23% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/belo.png | 30.06KB | 14.31KB | ▼ 52.40% |
admin/logo.png | 21.80KB | 9.69KB | ▼ 55.56% |