Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.37ms] Passed 4 tests
This is a short check of server-side resources used by Disable WP admin bar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.06 | 31.87 ▼5.06 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.96 ▼7.58 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.21 ▼2.15 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 95.06 ▼6.68 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.66 ▲2.48 |
Admin Bar /wp-admin/options-general.php?page=admin-bar-settings-page | 3.20 | 31.20 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Disable WP admin bar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,630 ▼116 | 13.58 ▼0.73 | 1.07 ▼0.65 | 39.27 ▼2.39 |
Dashboard /wp-admin | 2,210 ▲19 | 5.88 ▲0.99 | 105.14 ▲1.22 | 43.15 ▼0.88 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.01 | 39.78 ▼4.21 | 33.96 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 23.12 ▲4.95 | 622.26 ▼40.98 | 57.00 ▲6.92 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.20 ▼0.06 | 95.91 ▼1.78 | 42.35 ▼2.38 |
Admin Bar /wp-admin/options-general.php?page=admin-bar-settings-page | 774 | 2.05 | 24.36 | 26.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/disable-wp-admin-bar/disable-wp-admin-bar.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (WP admin bar is removed from the fontend of the website.)
disable-wp-admin-bar/disable-wp-admin-bar.php Passed 13 tests
The main file in "Disable WP admin bar" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
82 characters long description:
This plugin disables the WordPress top admin bar from the frontend of the website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected20 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 5 | 11 | 20 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 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
1 PNG file occupies 0.21MB with 0.14MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 211.13KB | 66.51KB | ▼ 68.50% |