73% autocomplete-post-search-dashboard

Code Review | Jump to Post/Page

WordPress plugin Jump to Post/Page scored73%from 54 tests.

About plugin

  • Plugin page: autocomplete-post...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.0-4.5.3
  • WordPress version: 6.3.1
  • First release: Aug 2, 2016
  • Latest release: Aug 17, 2016
  • Number of updates: 6
  • Update frequency: every 2.5 days
  • Top authors: hussainarsh (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /834 total downloads


Plugin footprint 65% from 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: ▼1.87MB] [CPU: ▼52.27ms] Passed 4 tests

A check of server-side resources used by Jump to Post/Page
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.43 ▼0.16
Dashboard /wp-admin2.07 ▼1.236.06 ▼46.49
Posts /wp-admin/edit.php2.07 ▼1.286.02 ▼40.55
Add New Post /wp-admin/post-new.php2.07 ▼3.816.05 ▼93.17
Media Library /wp-admin/upload.php2.07 ▼1.156.54 ▼28.85

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Jump to Post/Page
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,840 ▲9413.24 ▼1.362.05 ▲0.2237.82 ▼5.56
Dashboard /wp-admin2,246 ▲585.05 ▲0.18106.30 ▼3.9340.88 ▼3.84
Posts /wp-admin/edit.php2,082 ▼102.01 ▼0.0338.84 ▲3.7434.44 ▼3.82
Add New Post /wp-admin/post-new.php6,214 ▲4,80726.03 ▲5.89950.98 ▲367.5461.93 ▲15.03
Media Library /wp-admin/upload.php1,394 ▲154.30 ▲0.08111.61 ▲9.2348.12 ▲2.15

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Uninstall procedure validation failed for this plugin
    • > User notice in wp-includes/functions.php+5905
    Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-autocomplete handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts

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 have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/autocomplete-post-search-dashboard/jump-to-post-page.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
  • Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
Please take inspiration from this readme.txt

autocomplete-post-search-dashboard/jump-to-post-page.php 85% from 13 tests

The main file in "Jump to Post/Page" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 144 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("autocomplete-post-search-dashboard.php" instead of "jump-to-post-page.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
No dangerous file extensions were detected57 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity2.75
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin