Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/toolbar-extras/includes/functions-global-info.php+29
Trying to access array offset on value of type bool
Server metrics [RAM: ▼0.60MB] [CPU: ▼41.40ms] Passed 4 tests
Server-side resources used by Toolbar Extras for Elementor & More - WordPress Admin Bar Enhanced
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.37 ▼0.09 | 15.70 ▼27.59 |
Dashboard /wp-admin | 3.41 ▲0.10 | 28.79 ▼23.63 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 19.06 ▼31.60 |
Add New Post /wp-admin/post-new.php | 3.41 ▼2.48 | 20.75 ▼82.79 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 20.95 ▼14.66 |
Add New /wp-admin/post-new.php?post_type=wp_block | 3.41 | 18.16 |
Blocks /wp-admin/edit.php?post_type=wp_block | 3.41 | 21.64 |
Toolbar Extras /wp-admin/options-general.php?page=toolbar-extras | 3.41 | 17.55 |
Server storage [IO: ▲6.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 664 new files
Database: no new tables, 11 new options
New WordPress options |
---|
tbex-options-development |
tbex-options-general |
tbex-plugin-version |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
tbex-plugin-old-setup |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Toolbar Extras for Elementor & More - WordPress Admin Bar Enhanced
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,504 ▲1,718 | 13.24 ▼1.16 | 2.14 ▲0.13 | 30.48 ▼13.37 |
Dashboard /wp-admin | 3,136 ▲956 | 5.83 ▼0.02 | 105.74 ▲5.46 | 82.12 ▲38.09 |
Posts /wp-admin/edit.php | 2,902 ▲805 | 2.20 ▲0.18 | 45.68 ▲7.72 | 34.13 ▲0.27 |
Add New Post /wp-admin/post-new.php | 2,313 ▲787 | 23.23 ▲0.11 | 636.72 ▼62.57 | 53.07 ▼7.59 |
Media Library /wp-admin/upload.php | 2,217 ▲820 | 4.33 ▲0.12 | 115.52 ▼1.92 | 44.60 ▼3.52 |
Add New /wp-admin/post-new.php?post_type=wp_block | 6,988 | 22.46 | 939.73 | 39.24 |
Blocks /wp-admin/edit.php?post_type=wp_block | 1,929 | 6.60 | 75.47 | 28.44 |
Toolbar Extras /wp-admin/options-general.php?page=toolbar-extras | 3,396 | 2.62 | 60.13 | 64.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/toolbar-extras/includes/admin/tbex-addons.php+96
Array and string offset access syntax with curly braces is deprecated
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 26 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=toolbar-extras
- > Deprecated in wp-content/plugins/toolbar-extras/includes/admin/tbex-addons.php+97
Array and string offset access syntax with curly braces is deprecated
- > GET request to /wp-admin/options-general.php?page=toolbar-extras
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 593× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/toolbar-extras/includes/elementor-addons/items-elements-plus.php
- > /wp-content/plugins/toolbar-extras/includes/plugins/items-easy-updates-manager.php
- > /wp-content/plugins/toolbar-extras/includes/block-editor-addons/items-ultimate-blocks.php
- > /wp-content/plugins/toolbar-extras/includes/elementor-official/items-layers-for-elementor.php
- > /wp-content/plugins/toolbar-extras/includes/plugins/items-edd.php
- > /wp-content/plugins/toolbar-extras/includes/plugins/items-bsf-aiosrs.php
- > /wp-content/plugins/toolbar-extras/includes/elementor-addons/items-total-recipe-generator.php
- > /wp-content/plugins/toolbar-extras/includes/plugins-genesis/items-genesis-simple-edits.php
- > /wp-content/plugins/toolbar-extras/includes/admin/views/settings-tab-general.php
- > /wp-content/plugins/toolbar-extras/includes/elementor-addons/items-massive-addons-for-elementor.php
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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
toolbar-extras/toolbar-extras.php 92% from 13 tests
"Toolbar Extras for Elementor & More - WordPress Admin Bar Enhanced" version 1.4.9'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 167 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin98,721 lines of code in 628 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 599 | 18,933 | 25,705 | 78,187 |
PO File | 2 | 7,059 | 16,012 | 15,997 |
Markdown | 3 | 624 | 0 | 2,563 |
CSS | 12 | 366 | 122 | 1,459 |
JavaScript | 10 | 220 | 312 | 472 |
JSON | 1 | 0 | 0 | 22 |
SVG | 1 | 0 | 1 | 21 |
PHP code Passed 2 tests
Analyzing 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 | 0.36 |
Average class complexity | 26.21 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 112 | |
▷ Static methods | 41 | 36.61% |
▷ Public methods | 96 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 14.29% |
Functions | 1,451 | |
▷ Named functions | 1,450 | 99.93% |
▷ Anonymous functions | 1 | 0.07% |
Constants | 11 | |
▷ Global constants | 11 | 100.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.08MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/classes/ddwlib-plir/deckerweb-plugins-logo.png | 15.80KB | 6.20KB | ▼ 60.78% |
assets/images/tbex-icon.png | 63.41KB | 15.36KB | ▼ 75.78% |