Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.36MB] [CPU: ▼3.42ms] Passed 4 tests
Server-side resources used by WordPress All In One Admin Bar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 46.81 ▲7.79 |
Dashboard /wp-admin | 3.76 ▲0.42 | 54.15 ▼8.31 |
Posts /wp-admin/edit.php | 3.81 ▲0.46 | 51.31 ▲1.46 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.39 | 94.92 ▼7.77 |
Media Library /wp-admin/upload.php | 3.62 ▲0.39 | 38.38 ▲0.94 |
WPAIO Adminbar /wp-admin/options-general.php?page=wp-all-in-one-admin-bar | 4.08 | 35.47 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 38 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
wpaioab_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WordPress All In One Admin Bar
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲115 | 13.84 ▼0.51 | 9.13 ▲7.20 | 42.13 ▼1.26 |
Dashboard /wp-admin | 2,196 ▲16 | 5.62 ▼0.26 | 94.86 ▲0.61 | 44.19 ▼0.67 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▲0.00 | 36.98 ▼5.61 | 32.03 ▼6.42 |
Add New Post /wp-admin/post-new.php | 1,540 ▲3 | 23.29 ▲4.98 | 662.00 ▲3.31 | 62.43 ▼0.97 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.23 ▲0.07 | 100.14 ▼4.90 | 47.72 ▲4.05 |
WPAIO Adminbar /wp-admin/options-general.php?page=wp-all-in-one-admin-bar | 6,443 | 3.71 | 181.86 | 77.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- wpaioab_settings
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-all-in-one-admin-bar
- > Deprecated in wp-content/plugins/wp-all-in-one-admin-bar/admin/includes/class-wordpress-all-in-one-adminbar-custom-menu.php+137
The each() function is deprecated. This message will be suppressed on further calls
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wp-all-in-one-admin-bar/admin/views/admin.php:33
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=wp-all-in-one-admin-bar
- > Network (severe)
wp-content/plugins/wp-all-in-one-admin-bar/admin/assets/css/images/ui-bg_flat_75_ffffff_40x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=wp-all-in-one-admin-bar
- > Network (severe)
wp-content/plugins/wp-all-in-one-admin-bar/admin/assets/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=wp-all-in-one-admin-bar
- > Network (severe)
wp-content/plugins/wp-all-in-one-admin-bar/admin/assets/css/images/ui-bg_glass_65_ffffff_1x400.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=wp-all-in-one-admin-bar
- > Network (severe)
wp-content/plugins/wp-all-in-one-admin-bar/admin/assets/css/images/ui-bg_glass_75_e6e6e6_1x400.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wp-all-in-one-admin-bar ===
) - Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Requires at least: Invalid version format
wp-all-in-one-admin-bar/wp-all-in-one-admin-bar.php 92% from 13 tests
"WordPress All In One Admin Bar" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 211 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin4,900 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 978 | 74 | 2,810 |
CSS | 2 | 85 | 35 | 1,275 |
JavaScript | 9 | 172 | 29 | 438 |
PO File | 1 | 177 | 191 | 377 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.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 | 95 | |
▷ Static methods | 12 | 12.63% |
▷ Public methods | 68 | 71.58% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 27 | 28.42% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin