Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.02MB] [CPU: ▼298.35ms] Passed 4 tests
Server-side resources used by Admin bar Plugin Shortcut
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 62.37 ▲6.48 |
Dashboard /wp-admin | 3.41 ▲0.01 | 33.03 ▼0.60 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 40.49 ▲0.64 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 97.74 ▼1,175.24 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 25.12 ▼18.20 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Admin bar Plugin Shortcut
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,775 ▲21 | 16.19 ▲1.12 | 6.39 ▲0.27 | 2.46 ▼0.80 |
Dashboard /wp-admin | 2,903 ▲45 | 6.14 ▼0.03 | 155.29 ▲18.42 | 160.98 ▼63.97 |
Posts /wp-admin/edit.php | 2,695 ▲4 | 3.23 ▼0.02 | 69.16 ▼3.22 | 181.95 ▲37.62 |
Add New Post /wp-admin/post-new.php | 1,782 ▲63 | 21.45 ▼1.15 | 484.64 ▲49.48 | 166.49 ▲1.14 |
Media Library /wp-admin/upload.php | 1,702 ▲4 | 5.51 ▼0.00 | 171.96 ▲27.01 | 188.69 ▼2.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
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 | 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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-bar-plugin-shortcut/admin-bar-plugin-shortcut.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Drop-down Menu along with new integration to install plugins), #2 (After clicking it takes to the install page.)
admin-bar-plugin-shortcut/admin-bar-plugin-shortcut.php Passed 13 tests
"Admin bar Plugin Shortcut" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
51 characters long description:
Adds a shortcut to install plugin in the admin bar.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected16 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 4 | 9 | 16 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 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 were not PNG files found in your plugin