Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.35ms] Passed 4 tests
Analyzing server-side resources used by Hide Dashboard Notifications
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.39 ▲0.20 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.12 ▲0.75 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 43.93 ▼6.45 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 84.59 ▼11.23 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.13 ▲0.09 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
manage_warnings_notice |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Hide Dashboard Notifications
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲100 | 13.63 ▼0.80 | 1.91 ▲0.03 | 49.09 ▼1.21 |
Dashboard /wp-admin | 2,238 ▲47 | 4.92 ▼0.93 | 97.68 ▼8.51 | 75.68 ▲33.93 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.02 ▼0.01 | 35.02 ▼0.52 | 32.89 ▼1.84 |
Add New Post /wp-admin/post-new.php | 1,695 ▲162 | 22.50 ▼0.49 | 706.16 ▲63.38 | 47.77 ▼18.23 |
Media Library /wp-admin/upload.php | 1,417 ▲32 | 4.22 ▲0.08 | 111.12 ▲8.76 | 44.70 ▼0.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- manage_warnings_notice
- theysaidso_admin_options
Smoke tests 75% from 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 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
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-hide-backed-notices/public/partials/wp-hide-backed-notices-public-display.php
- > /wp-content/plugins/wp-hide-backed-notices/admin/partials/wp-hide-backed-notices-admin-display.php
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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Donate link: Please fix this invalid URI: ""
wp-hide-backed-notices/wp-hide-backed-notices.php 92% from 13 tests
The main PHP script in "Hide Dashboard Notifications" version 1.2.3 is automatically included on every request by WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 158 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected460 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 111 | 547 | 405 |
CSS | 2 | 1 | 8 | 29 |
JavaScript | 2 | 8 | 55 | 26 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 7.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.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 | 4 | |
▷ Named functions | 4 | 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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/notice.png | 1.39KB | 0.82KB | ▼ 41.49% |
admin/images/dash-hide-white.png | 1.76KB | 0.56KB | ▼ 68.17% |
admin/images/hide-dash-menu.png | 1.86KB | 0.73KB | ▼ 61.04% |
admin/images/hide-setting-white.png | 1.47KB | 0.62KB | ▼ 57.95% |