Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.94MB] [CPU: ▼32.06ms] Passed 4 tests
A check of server-side resources used by Hide Administrator Bar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.41 ▼3.52 |
Dashboard /wp-admin | 3.00 ▼0.31 | 24.62 ▼24.54 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 25.46 ▼21.14 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 25.12 ▼73.77 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 24.98 ▼8.80 |
Admin Bar Settings /wp-admin/tools.php?page=hide-admin-bar-settings | 3.00 | 22.88 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Hide Administrator Bar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 14.48 ▲0.01 | 1.96 ▼0.06 | 41.57 ▼8.16 |
Dashboard /wp-admin | 2,207 ▲19 | 5.77 ▼0.11 | 99.24 ▼1.00 | 39.48 ▼3.83 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.02 | 34.97 ▼2.21 | 33.48 ▲0.45 |
Add New Post /wp-admin/post-new.php | 1,517 ▼17 | 17.81 ▼5.68 | 685.26 ▲98.88 | 52.44 ▲1.71 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.18 ▼0.01 | 94.57 ▼4.87 | 43.80 ▲1.33 |
Admin Bar Settings /wp-admin/tools.php?page=hide-admin-bar-settings | 960 | 2.21 | 29.89 | 63.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/tools.php?page=hide-admin-bar-settings
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/hide-administrator-bar/hide-administrator-bar.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/hide-administrator-bar/views/admin-bar-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hide-administrator-bar/classes/class.hide.adminbar.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/tools.php?page=hide-admin-bar-settings
- > Network (severe)
wp-content/plugins/hide-administrator-bar/assets/fonts/glyphicons-halflings-regular.woff2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/tools.php?page=hide-admin-bar-settings
- > Network (severe)
wp-content/plugins/hide-administrator-bar/assets/fonts/glyphicons-halflings-regular.woff - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/tools.php?page=hide-admin-bar-settings
- > Network (severe)
wp-content/plugins/hide-administrator-bar/assets/fonts/glyphicons-halflings-regular.ttf - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Requires at least: Version not formatted correctly
hide-administrator-bar/hide-administrator-bar.php 92% from 13 tests
The entry point to "Hide Administrator Bar" version 3.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin566 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 68 | 19 | 333 |
PHP | 3 | 40 | 35 | 139 |
CSS | 2 | 15 | 7 | 94 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.00 |
▷ 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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin