Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/admin-bar-hide/admin-bar-hide.php+45
require_once(wp-content/plugins/admin-bar-hide/freemius/start.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.72ms] Passed 4 tests
An overview of server-side resources used by Admin Bar Hide
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.60 ▼7.25 |
Dashboard /wp-admin | 3.31 ▼0.04 | 49.92 ▼20.94 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.17 ▼2.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.23 ▼16.13 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.01 ▼1.42 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Admin Bar Hide
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.22 ▼1.16 | 1.67 ▼0.06 | 42.89 ▼2.32 |
Dashboard /wp-admin | 2,206 ▲14 | 4.88 ▼0.09 | 109.31 ▼17.58 | 38.29 ▼9.03 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.00 ▼0.03 | 38.81 ▲4.03 | 34.86 ▲0.61 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.25 ▼4.92 | 615.13 ▼45.37 | 54.61 ▲0.81 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.17 ▼0.14 | 94.43 ▼9.65 | 42.19 ▼4.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
require_once(wp-content/plugins/admin-bar-hide/freemius/start.php): failed to open stream: No such file or directory in wp-content/plugins/admin-bar-hide/admin-bar-hide.php on line 45
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/admin-bar-hide/freemius/start.php' (include_path='.:/usr/share/php') in wp-content/plugins/admin-bar-hide/admin-bar-hide.php on line 45
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: hide, hide admin bar, header toolbar hide, admin toolbar, admin bar hide...
admin-bar-hide/admin-bar-hide.php Passed 13 tests
The entry point to "Admin Bar Hide" version 0.1.0.2 is a PHP file that has certain tags in its header comment area
73 characters long description:
Hide admin toolbar for all other users. Only admin can have that toolbar.
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
Everything looks great! No dangerous files found in this plugin61 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 31 | 100 | 59 |
JavaScript | 1 | 3 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 1 | 14.29% |
▷ 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin