94% admin-quick-jump

Code Review | Admin Quick Jump

WordPress plugin Admin Quick Jump scored 94% from 54 tests.

About plugin

  • Plugin page: admin-quick-jump
  • Plugin version: 1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 2.0.2-3.5.1
  • WordPress version: 5.9.2
  • First release: Oct 25, 2011
  • Latest release: Dec 3, 2013
  • Number of updates: 15
  • Update frequency: every 51.3 days
  • Top authors: jamesckemp (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

500+ active / 5,700 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

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

A check of server-side resources used by Admin Quick Jump
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0354.42 ▲4.86
Dashboard /wp-admin3.44 ▲0.0435.70 ▲2.24
Posts /wp-admin/edit.php3.67 ▲0.0339.41 ▲3.57
Add New Post /wp-admin/post-new.php6.92 ▼0.0594.97 ▼1,162.95
Media Library /wp-admin/upload.php3.32 ▲0.0325.26 ▲2.73

Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests

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

Browser metrics Passed 4 tests

An overview of browser requirements for Admin Quick Jump
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,801 ▲4715.89 ▲0.127.52 ▲1.724.01 ▲1.23
Dashboard /wp-admin2,895 ▲376.23 ▲0.04115.49 ▼17.34159.48 ▼0.94
Posts /wp-admin/edit.php2,694 ▲63.26 ▲0.0369.74 ▲6.64140.31 ▼3.69
Add New Post /wp-admin/post-new.php1,735 ▲7420.23 ▲3.67403.54 ▲10.64193.08 ▲38.21
Media Library /wp-admin/upload.php1,704 ▲65.58 ▲0.05150.66 ▲10.35185.29 ▲6.40

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-quick-jump/jck-quick-jump.php:163

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: custom post, navigation, admin, edit page, quick jump...

admin-quick-jump/jck-quick-jump.php 85% from 13 tests

"Admin Quick Jump" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("admin-quick-jump.php" instead of "jck-quick-jump.php")
  • Description: The description should be shorter than 140 characters (currently 355 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin225 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP15918111
CSS120107
JavaScript2387

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity13.00
▷ Minimum class complexity13.00
▷ Maximum class complexity13.00
Average method complexity2.71
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods00.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/select-icons.png1.22KB0.22KB▼ 82.10%