Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.11ms] Passed 4 tests
A check of server-side resources used by Elvez Hide Admin Bar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.42 ▼0.04 | 30.26 ▼6.88 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.08 ▼2.47 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 45.20 ▼0.83 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 89.51 ▼5.44 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 31.86 ▼1.63 |
Hide Admin Bar /wp-admin/admin.php?page=elvez-hide-admin-bar | 3.22 | 29.39 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
plugin_name_hide_admin_bar |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Elvez Hide Admin Bar: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,738 ▼33 | 13.94 ▼0.50 | 5.17 ▲3.31 | 41.50 ▼0.18 |
Dashboard /wp-admin | 2,233 ▲42 | 4.85 ▼0.04 | 118.04 ▲14.32 | 43.06 ▲0.62 |
Posts /wp-admin/edit.php | 2,119 ▲27 | 2.02 ▲0.00 | 39.93 ▲3.31 | 34.76 ▲1.78 |
Add New Post /wp-admin/post-new.php | 1,542 ▲15 | 22.99 ▼0.24 | 597.51 ▼76.84 | 52.43 ▲2.00 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.23 ▼0.12 | 96.40 ▼1.59 | 42.07 ▼1.87 |
Hide Admin Bar /wp-admin/admin.php?page=elvez-hide-admin-bar | 832 | 2.05 | 22.52 | 26.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- plugin_name_hide_admin_bar
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/elvez-hide-admin-bar/public/partials/elvez-hide-admin-bar-public-display.php
- > /wp-content/plugins/elvez-hide-admin-bar/admin/partials/elvez-hide-admin-bar-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Screenshots: A description for screenshot #2 is missing in elvez-hide-admin-bar/assets to your readme.txt
elvez-hide-admin-bar/elvez-hide-admin-bar.php 85% from 13 tests
The entry point to "Elvez Hide Admin Bar" version 1.0.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "5.2")
- Requires PHP: The required version number must match the one declared in readme.txt ("7.4" instead of "7.2")
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 plugin475 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 141 | 584 | 268 |
CSS | 2 | 28 | 38 | 204 |
JavaScript | 1 | 2 | 27 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 2.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 30 | |
▷ Static methods | 3 | 10.00% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 1 | 9.09% |
▷ Class constants | 10 | 90.91% |
▷ Public constants | 10 | 100.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
No PNG files were detected