94% jump-to-post-edit

Code Review | Jump to - Post Edit

WordPress plugin Jump to - Post Edit scored 94% from 54 tests.

About plugin

  • Plugin page: jump-to-post-edit
  • Plugin version: 1.0.6
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-3.5.1
  • WordPress version: 5.8.1
  • First release: Nov 26, 2012
  • Latest release: Feb 13, 2013
  • Number of updates: 42
  • Update frequency: every 1.9 days
  • Top authors: linkedbinary900 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,866 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼143.40ms] Passed 4 tests

A check of server-side resources used by Jump to - Post Edit
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1232.84 ▲10.61
Dashboard /wp-admin3.07 ▲0.0145.05 ▲5.55
Posts /wp-admin/edit.php3.12 ▲0.0137.71 ▼6.72
Add New Post /wp-admin/post-new.php5.43 ▼0.0182.97 ▼578.15
Media Library /wp-admin/upload.php3.01 ▲0.0135.35 ▲5.74

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Jump to - Post Edit
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10716.00 ▲0.059.72 ▼1.6648.76 ▼1.29
Dashboard /wp-admin2,972 ▲415.93 ▲0.02141.17 ▼2.97109.86 ▼4.69
Posts /wp-admin/edit.php2,739 ▼02.72 ▲0.0063.49 ▼0.3486.82 ▼0.01
Add New Post /wp-admin/post-new.php1,500 ▼18318.55 ▼0.16370.07 ▲2.34106.59 ▼3.69
Media Library /wp-admin/upload.php1,807 ▼05.03 ▼0.07143.53 ▲1.84118.83 ▲8.86

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 successfully, without leaving any zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jump-to-post-edit/jump-to-post-edit.php:29

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)
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: post, admin, edit

jump-to-post-edit/jump-to-post-edit.php 92% from 13 tests

The entry point to "Jump to - Post Edit" version 1.0.6 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 144 characters long)

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 plugin53 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1152145
CSS1008

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin