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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼1.15ms] Passed 4 tests
Analyzing server-side resources used by Hide WP Front Admin Bar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.05 | 44.13 ▲9.70 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.05 ▲2.09 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.09 ▲1.02 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.85 ▼7.40 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.24 ▼0.29 |
Hide WP Admin Bar /wp-admin/options-general.php?page=hide-wp-front-admin-bar | 3.18 | 30.85 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
_hide_admin_bar_settings |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Hide WP Front Admin Bar
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,619 ▼167 | 14.34 ▼0.02 | 1.30 ▼0.50 | 42.88 ▼0.95 |
Dashboard /wp-admin | 2,202 ▲28 | 5.58 ▲0.02 | 96.82 ▲9.56 | 42.63 ▲5.88 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.02 | 35.35 ▼1.87 | 34.13 ▲0.58 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.35 ▼0.45 | 636.78 ▼66.69 | 52.45 ▼4.24 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.24 ▲0.07 | 102.41 ▼4.97 | 46.32 ▲0.12 |
Hide WP Admin Bar /wp-admin/options-general.php?page=hide-wp-front-admin-bar | 868 | 2.03 | 23.13 | 26.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- _hide_admin_bar_settings
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=hide-wp-front-admin-bar
- > Notice in wp-content/plugins/hide-wp-front-admin-bar/hide-wp-front-admin-bar.php+107
Undefined index: frm-action
- > GET request to /wp-admin/options-general.php?page=hide-wp-front-admin-bar
- > Notice in wp-content/plugins/hide-wp-front-admin-bar/hide-wp-front-admin-bar.php+136
Undefined index: _user_roles
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hide-wp-front-admin-bar/hide-wp-front-admin-bar.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: hide wordpress admin bar for all users, hide, hide admin bar from front end, adminbar, hide wordpress admin bar...
hide-wp-front-admin-bar/hide-wp-front-admin-bar.php 92% from 13 tests
This is the main PHP file of "Hide WP Front Admin Bar" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 157 characters long)
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 plugin148 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 11 | 148 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG images were not found in this plugin