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
Installer ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▼1.77ms] Passed 4 tests
This is a short check of server-side resources used by Admin Bar & Dashboard Access Control
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 42.72 ▲2.84 |
Dashboard /wp-admin | 3.64 ▲0.34 | 48.25 ▼1.83 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 50.76 ▲3.19 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 82.08 ▼6.21 |
Media Library /wp-admin/upload.php | 3.58 ▲0.34 | 35.16 ▼1.87 |
Admin Bar & Dash /wp-admin/admin.php?page=admin-bar-dashboard-control | 3.47 | 33.86 |
User Sync NEW /wp-admin/admin.php?page=pabc-fusewp | 3.44 | 36.29 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
abdc_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Admin Bar & Dashboard Access Control
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲129 | 14.72 ▲0.16 | 1.53 ▼0.08 | 41.45 ▲3.53 |
Dashboard /wp-admin | 2,273 ▲93 | 5.66 ▼0.00 | 88.34 ▼16.35 | 52.79 ▲6.11 |
Posts /wp-admin/edit.php | 2,129 ▲26 | 1.98 ▼0.00 | 38.40 ▲2.93 | 37.45 ▲1.36 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.66 ▲0.14 | 666.61 ▼22.11 | 60.57 ▲5.51 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.17 ▲0.03 | 99.91 ▲4.46 | 43.10 ▼0.27 |
Admin Bar & Dash /wp-admin/admin.php?page=admin-bar-dashboard-control | 1,110 | 2.03 | 25.40 | 27.30 |
User Sync NEW /wp-admin/admin.php?page=pabc-fusewp | 909 | 2.05 | 26.92 | 38.76 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PABC_PluginSilentUpgraderSkin' not found in wp-content/plugins/admin-bar-dashboard-control/fuse/Installer/PABC_Install_Skin.php:8
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-upgrader.php): failed to open stream: No such file or directory in wp-content/plugins/admin-bar-dashboard-control/fuse/FuseWP.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-upgrader-skin.php): failed to open stream: No such file or directory in wp-content/plugins/admin-bar-dashboard-control/fuse/Installer/PluginSilentUpgraderSkin.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/admin-bar-dashboard-control/fuse/Installer/PluginSilentUpgrader.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-upgrader-skin.php' (include_path='.:/usr/share/php') in wp-content/plugins/admin-bar-dashboard-control/fuse/Installer/PluginSilentUpgraderSkin.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/admin-bar-dashboard-control/fuse/Installer/PluginSilentUpgraderSkin.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-upgrader.php): failed to open stream: No such file or directory in wp-content/plugins/admin-bar-dashboard-control/fuse/Installer/PluginSilentUpgrader.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-upgrader.php' (include_path='.:/usr/share/php') in wp-content/plugins/admin-bar-dashboard-control/fuse/Installer/PluginSilentUpgrader.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/admin-bar-dashboard-control/fuse/FuseWP.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-upgrader.php' (include_path='.:/usr/share/php') in wp-content/plugins/admin-bar-dashboard-control/fuse/FuseWP.php on line 4
- > 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)
There were no browser issues found
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:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
admin-bar-dashboard-control/admin-bar-dashboard-control.php Passed 13 tests
The entry point to "Admin Bar & Dashboard Access Control" version 1.2.9 is a PHP file that has certain tags in its header comment area
60 characters long description:
Disable admin bar and control access to WordPress dashboard.
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
Everything looks great! No dangerous files found in this plugin1,361 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 299 | 437 | 1,245 |
JavaScript | 1 | 43 | 23 | 112 |
SVG | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 19.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 3.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 10 | 20.00% |
▷ Public methods | 41 | 82.00% |
▷ Protected methods | 9 | 18.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.07MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
fuse/fusewp-user-sync-edit-screen.png | 69.11KB | 69.12KB | 0.00% |