Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.63ms] Passed 4 tests
This is a short check of server-side resources used by Toolbar Extras for MainWP Dashboard - Manage WordPress Websites Even Faster
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.34 ▼0.92 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.84 ▼4.76 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.67 ▼2.90 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.43 ▼1.95 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.86 ▲4.90 |
Server storage [IO: ▲0.70MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 75 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
tbex-options-mainwp |
tbexmwp-addon-version |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Toolbar Extras for MainWP Dashboard - Manage WordPress Websites Even Faster
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.19 ▼1.16 | 1.60 ▼0.13 | 29.78 ▼11.05 |
Dashboard /wp-admin | 2,228 ▲40 | 5.81 ▼0.00 | 110.18 ▲1.12 | 50.52 ▲7.97 |
Posts /wp-admin/edit.php | 2,113 ▲21 | 2.03 ▲0.03 | 40.55 ▼1.41 | 45.12 ▲6.89 |
Add New Post /wp-admin/post-new.php | 1,532 ▼2 | 17.64 ▼5.49 | 664.71 ▼2.81 | 54.20 ▼4.64 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.19 ▼0.03 | 100.79 ▼0.13 | 46.78 ▲4.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 51× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/toolbar-extras-mainwp/includes/extensions/items-google-analytics.php
- > /wp-content/plugins/toolbar-extras-mainwp/includes/functions-global.php
- > /wp-content/plugins/toolbar-extras-mainwp/includes/string-switcher.php
- > /wp-content/plugins/toolbar-extras-mainwp/includes/admin/tbexmwp-settings.php
- > /wp-content/plugins/toolbar-extras-mainwp/includes/extensions/items-yoast-seo.php
- > /wp-content/plugins/toolbar-extras-mainwp/includes/mainwp-extensions.php
- > /wp-content/plugins/toolbar-extras-mainwp/includes/extensions/items-branding.php
- > /wp-content/plugins/toolbar-extras-mainwp/includes/admin/admin-extras.php
- > /wp-content/plugins/toolbar-extras-mainwp/includes/tbexmwp-update-settings.php
- > /wp-content/plugins/toolbar-extras-mainwp/includes/extensions/items-file-uploader.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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 an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
toolbar-extras-mainwp/toolbar-extras-mainwp.php 92% from 13 tests
"Toolbar Extras for MainWP Dashboard - Manage WordPress Websites Even Faster" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 188 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected9,034 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 52 | 1,728 | 2,576 | 6,674 |
PO File | 2 | 911 | 1,423 | 1,994 |
Markdown | 3 | 166 | 0 | 283 |
CSS | 2 | 9 | 17 | 61 |
JSON | 1 | 0 | 0 | 22 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 165 | |
▷ Named functions | 165 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon-tbexmwp.png | 68.18KB | 16.59KB | ▼ 75.67% |