Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.75ms] Passed 4 tests
Server-side resources used by Blue Admin Bar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.04 ▼0.41 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.43 ▼3.20 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.19 ▼8.79 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.41 ▼10.60 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.94 ▲3.17 |
Server storage [IO: ▲0.82MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Blue Admin Bar
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 14.80 ▲0.62 | 1.83 ▼0.11 | 44.69 ▲3.69 |
Dashboard /wp-admin | 2,208 ▲17 | 5.80 ▲0.92 | 97.93 ▼8.13 | 39.61 ▼0.70 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 2.18 ▲0.12 | 36.13 ▼1.65 | 33.17 ▲1.07 |
Add New Post /wp-admin/post-new.php | 1,516 ▼21 | 23.18 ▲0.15 | 676.89 ▲3.44 | 54.72 ▼3.85 |
Media Library /wp-admin/upload.php | 1,387 ▲2 | 4.17 ▼0.06 | 99.65 ▲0.96 | 43.29 ▲0.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blue-admin-bar/blue-admin-bar.php:11
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Screenshots: Screenshot #1 (3.2.1, Twenty Ten) image required
- Tested up to: Version not formatted correctly
blue-admin-bar/blue-admin-bar.php Passed 13 tests
The principal PHP file in "Blue Admin Bar" v. 1.3 is loaded by WordPress automatically on each request
124 characters long description:
A pretty WordPress blue version of the admin bar. Supports BuddyPress when BP_USE_WP_ADMIN_BAR is true. RTL support for 3.3.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin170 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 34 | 11 | 158 |
PHP | 1 | 1 | 10 | 12 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
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 | 1 | |
▷ Named functions | 1 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.81MB with 0.48MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-7.png | 57.51KB | 21.69KB | ▼ 62.28% |
images/admin-bar-sprite.png | 1.93KB | 1.13KB | ▼ 41.44% |
screenshot-10.png | 96.85KB | 33.71KB | ▼ 65.19% |
screenshot-8.png | 110.84KB | 42.09KB | ▼ 62.03% |
screenshot-4.png | 51.84KB | 17.77KB | ▼ 65.72% |