Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.19ms] Passed 4 tests
Server-side resources used by Remove Admin Toolbar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.13 ▼5.38 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.99 ▼5.95 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.24 ▼4.65 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 90.79 ▼8.79 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.10 ▲2.39 |
RA Toolbar /wp-admin/options-general.php?page=rat_toolbar | 3.22 | 35.57 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Remove Admin Toolbar
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.75 ▲0.47 | 1.77 ▼0.30 | 39.44 ▼8.68 |
Dashboard /wp-admin | 2,207 ▲19 | 4.87 ▼1.03 | 101.52 ▼9.95 | 38.51 ▼2.68 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.99 ▼0.02 | 39.25 ▲1.69 | 36.31 ▲2.52 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.29 ▲0.02 | 648.96 ▼27.22 | 49.12 ▼9.17 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.24 ▲0.04 | 112.47 ▲9.16 | 46.01 ▼0.80 |
RA Toolbar /wp-admin/options-general.php?page=rat_toolbar | 837 | 2.01 | 28.60 | 27.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Contributors: The plugin contributors field is not present
- Screenshots: A description for screenshot #1 is missing in remove-admin-toolbar/assets to your readme.txt
remove-admin-toolbar/remove-admin-toolbar.php Passed 13 tests
The entry point to "Remove Admin Toolbar" version 0.2.6 is a PHP file that has certain tags in its header comment area
60 characters long description:
Remove admin toolbar completely or partially within seconds.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin261 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 36 | 40 | 123 |
Markdown | 1 | 13 | 0 | 53 |
CSS | 1 | 17 | 4 | 52 |
PO File | 1 | 5 | 6 | 28 |
JavaScript | 1 | 1 | 3 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.06 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
2 PNG files occupy 0.29MB with 0.13MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/netdesignr-blog-dark.png | 4.34KB | 2.22KB | ▼ 48.82% |
assets/screenshot-1.png | 294.94KB | 185.73KB | ▼ 37.03% |