100% admin-goto

Code Review | Admin Goto

WordPress plugin Admin Goto scored 100% from 54 tests.

About plugin

  • Plugin page: admin-goto
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.9
  • WordPress version: 5.9.2
  • First release: May 23, 2018
  • Latest release: May 23, 2018
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: imfaber (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 477 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼301.40ms] Passed 4 tests

This is a short check of server-side resources used by Admin Goto
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.0756.75 ▲7.47
Dashboard /wp-admin3.45 ▲0.0433.66 ▲1.20
Posts /wp-admin/edit.php3.68 ▲0.0438.28 ▲0.77
Add New Post /wp-admin/post-new.php6.93 ▼0.0494.61 ▼1,191.16
Media Library /wp-admin/upload.php3.33 ▲0.0325.17 ▼16.42

Server storage [IO: ▲0.03MB] [DB: ▲0.01MB] Passed 3 tests

Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Admin Goto: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /4,273 ▲53116.91 ▲1.2718.02 ▲12.162.61 ▲0.29
Dashboard /wp-admin3,068 ▲2076.26 ▲0.05124.88 ▼13.86173.35 ▲7.52
Posts /wp-admin/edit.php2,865 ▲1743.21 ▼0.0370.07 ▲5.80143.04 ▲3.18
Add New Post /wp-admin/post-new.php1,850 ▲9816.17 ▼5.75448.61 ▼0.57163.01 ▲7.24
Media Library /wp-admin/upload.php1,892 ▲2045.91 ▲0.37121.77 ▼63.65190.50 ▼47.81

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: backend menu, administration menu, admin menu

admin-goto/admin-goto.php Passed 13 tests

The primary PHP file in "Admin Goto" version 1.0.0 is used by WordPress to initiate all plugin functionality
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 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected439 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
CSS1174184
JavaScript12636128
PHP23158114
SVG10013

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.49
Average class complexity16.00
▷ Minimum class complexity16.00
▷ Maximum class complexity16.00
Average method complexity3.14
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods114.29%
▷ Public methods457.14%
▷ Protected methods114.29%
▷ Private methods228.57%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.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 were not PNG files found in your plugin