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.07MB] [CPU: ▲11.27ms] Passed 4 tests
Analyzing server-side resources used by AdminQuickbar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 61.48 ▲21.18 |
Dashboard /wp-admin | 3.37 ▲0.02 | 65.21 ▲0.22 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 67.53 ▲14.58 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 102.27 ▲9.08 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 60.80 ▲23.59 |
Server storage [IO: ▲0.34MB] [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: 52 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
category_children |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for AdminQuickbar
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,643 ▲897 | 13.81 ▼0.44 | 9.33 ▲7.04 | 39.89 ▼1.30 |
Dashboard /wp-admin | 2,596 ▲408 | 5.04 ▲0.17 | 110.03 ▼6.11 | 44.95 ▲3.88 |
Posts /wp-admin/edit.php | 2,479 ▲390 | 2.29 ▲0.24 | 44.59 ▲4.53 | 43.57 ▲7.60 |
Add New Post /wp-admin/post-new.php | 1,973 ▲438 | 22.96 ▼0.28 | 691.29 ▲20.30 | 67.61 ▲14.46 |
Media Library /wp-admin/upload.php | 1,772 ▲381 | 4.37 ▲0.14 | 100.32 ▼6.76 | 44.11 ▼3.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- category_children
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
- 6× PHP files output text when accessed directly:
- > /wp-content/plugins/adminquickbar/Lib/partials/loop-posts.php
- > /wp-content/plugins/adminquickbar/Lib/partials/loop-post-types.php
- > /wp-content/plugins/adminquickbar/Lib/partials/language-flag.php
- > /wp-content/plugins/adminquickbar/Lib/partials/thumbnail.php
- > /wp-content/plugins/adminquickbar/Lib/partials/settings.php
- > /wp-content/plugins/adminquickbar/Lib/partials/toolbar-item.php
- 41× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: postTypeInfo in wp-content/plugins/adminquickbar/Lib/partials/loop-posts.php on line 31
- > PHP Notice
Undefined variable: style in wp-content/plugins/adminquickbar/Lib/partials/loop-posts.php on line 18
- > PHP Notice
Undefined variable: thumb in wp-content/plugins/adminquickbar/Lib/partials/loop-posts.php on line 23
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/adminquickbar/Lib/partials/settings.php on line 7
- > PHP Notice
Undefined variable: flagUrl in wp-content/plugins/adminquickbar/Lib/partials/language-flag.php on line 9
- > PHP Notice
Undefined variable: languageFlag in wp-content/plugins/adminquickbar/Lib/partials/loop-posts.php on line 26
- > PHP Notice
Undefined variable: postTypeInfo in wp-content/plugins/adminquickbar/Lib/partials/loop-posts.php on line 37
- > PHP Notice
Undefined variable: contextMenuData in wp-content/plugins/adminquickbar/Lib/partials/loop-posts.php on line 19
- > PHP Notice
Trying to get property 'label' of non-object in wp-content/plugins/adminquickbar/Lib/partials/loop-post-types.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/adminquickbar/Lib/partials/loop-posts.php on line 31
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
6 plugin tags: post, elementor, rtode, post list, rto...
adminquickbar/admin-quickbar.php 85% from 13 tests
The principal PHP file in "AdminQuickbar" v. 1.8.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("adminquickbar.php" instead of "admin-quickbar.php")
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
No dangerous file extensions were detected7,745 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 4,701 |
PHP | 30 | 372 | 999 | 1,343 |
Sass | 10 | 171 | 2 | 878 |
JavaScript | 7 | 193 | 214 | 786 |
PO File | 1 | 12 | 0 | 36 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 10.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 85 | |
▷ Static methods | 7 | 8.24% |
▷ Public methods | 72 | 84.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 15.29% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 7 | |
▷ Global constants | 3 | 42.86% |
▷ Class constants | 4 | 57.14% |
▷ Public constants | 4 | 100.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
There are no PNG files in this plugin