84% admin-quick-jump

Code Review | Admin Quick Jump

WordPress plugin Admin Quick Jump scored 84% 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: 6.3.1
  • 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

300+ active / 5,979 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

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

This is a short check of server-side resources used by Admin Quick Jump
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0134.95 ▼3.41
Dashboard /wp-admin3.31 ▲0.0145.34 ▼9.78
Posts /wp-admin/edit.php3.36 ▲0.0148.03 ▲1.44
Add New Post /wp-admin/post-new.php5.92 ▲0.0395.51 ▲9.14
Media Library /wp-admin/upload.php3.23 ▲0.0139.43 ▲6.03

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, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Admin Quick Jump
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲7113.27 ▼1.114.43 ▲2.7545.46 ▲4.62
Dashboard /wp-admin2,212 ▲275.88 ▲0.02101.37 ▲3.2840.67 ▲2.09
Posts /wp-admin/edit.php2,098 ▲92.03 ▲0.0139.66 ▲4.2633.67 ▼6.39
Add New Post /wp-admin/post-new.php6,477 ▲4,94823.41 ▲4.84954.49 ▲287.8864.79 ▲12.57
Media Library /wp-admin/upload.php1,394 ▲34.39 ▲0.20111.85 ▲12.8848.34 ▲2.84

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

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
Please fix 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-quick-jump/jck-quick-jump.php:163

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: admin, custom post, quick jump, edit page, edit post...

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

The primary PHP file in "Admin Quick Jump" version 1.4 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 355 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("admin-quick-jump.php" instead of "jck-quick-jump.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
Good job! No executable or dangerous file extensions detected225 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP15918111
CSS120107
JavaScript2387

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
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

All PNG images should be compressed to minimize bandwidth usage for end users
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%