Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.64ms] Passed 4 tests
Server-side resources used by Admin Goto
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.54 ▼10.89 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.51 ▼1.49 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 54.50 ▲4.31 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 88.64 ▼5.41 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.79 ▲3.23 |
Server storage [IO: ▲0.03MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Admin Goto: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,071 ▲336 | 14.23 ▼0.19 | 14.15 ▲11.93 | 40.07 ▼6.31 |
Dashboard /wp-admin | 2,297 ▲106 | 5.07 ▲0.21 | 100.29 ▼10.12 | 42.17 ▼0.57 |
Posts /wp-admin/edit.php | 2,162 ▲73 | 2.26 ▲0.24 | 47.56 ▲13.42 | 38.91 ▲2.07 |
Add New Post /wp-admin/post-new.php | 1,554 ▲19 | 23.23 ▼0.02 | 629.75 ▼46.92 | 38.47 ▼17.02 |
Media Library /wp-admin/upload.php | 1,487 ▲105 | 4.37 ▲0.20 | 90.83 ▼24.27 | 42.14 ▼3.54 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: administration menu, backend menu, admin menu
admin-goto/admin-goto.php Passed 13 tests
The main PHP file in "Admin Goto" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
122 characters long description:
The Admin Goto plugin helps you to navigate through the Wordpress admin faster, inspired by Mac apps Alfred and Spotlight.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin439 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 17 | 4 | 184 |
JavaScript | 1 | 26 | 36 | 128 |
PHP | 2 | 31 | 58 | 114 |
SVG | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
This is a very shot review of 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.49 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 4 | 57.14% |
▷ Protected methods | 1 | 14.29% |
▷ Private methods | 2 | 28.57% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin