10% wp-jump

Code Review | WP Jump

WordPress plugin WP Jump scored10%from 54 tests.

About plugin

  • Plugin page: wp-jump
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-4.7
  • WordPress version: 6.3.1
  • First release: Feb 5, 2017
  • Latest release: Feb 6, 2017
  • Number of updates: 7
  • Update frequency: every 0.1 days
  • Top authors: goran321 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /548 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
  • The plugin cannot be installed
    • > Compile error in wp-content/plugins/wp-jump/framework/classes/class-meta-boxes.php+217
    Cannot use $this as parameter

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

An overview of server-side resources used by WP Jump
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0035.74 ▼4.58
Dashboard /wp-admin3.31 ▲0.0045.77 ▼4.50
Posts /wp-admin/edit.php3.36 ▲0.0046.32 ▲1.20
Add New Post /wp-admin/post-new.php5.89 ▲0.0093.49 ▼6.20
Media Library /wp-admin/upload.php3.23 ▲0.0035.53 ▲2.47

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for WP Jump
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.26 ▼1.071.67 ▼0.1040.16 ▼4.22
Dashboard /wp-admin2,209 ▲274.83 ▼1.0296.33 ▼6.2437.07 ▼6.66
Posts /wp-admin/edit.php2,089 ▼02.05 ▼0.0139.20 ▲1.4435.93 ▼3.21
Add New Post /wp-admin/post-new.php1,528 ▼1423.08 ▲4.71589.45 ▼45.7948.63 ▼10.01
Media Library /wp-admin/upload.php1,391 ▲64.18 ▼0.0294.75 ▼3.0741.12 ▼2.86

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
  • 4× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Cannot use $this as parameter in wp-content/plugins/wp-jump/framework/classes/class-meta-boxes.php on line 217
    • > PHP Fatal error
      Uncaught Error: Class 'WPJump\\Part' not found in wp-content/plugins/wp-jump/parts/Wpjump/Wpjump.php:14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function WPJump\\add_action() in wp-content/plugins/wp-jump/framework/classes/class-setting.php:13
    • > PHP Fatal error
      Uncaught Error: Call to undefined function WPJump\\plugin_dir_path() in wp-content/plugins/wp-jump/wp-jump.php:25

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 errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: navigation, menu, bookmark, multisite

wp-jump/wp-jump.php 92% from 13 tests

The principal PHP file in "WP Jump" v. 1.0.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Domain Path: The domain path points to a folder that does not exist ("/i18/")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin721 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PHP10416468686
PO File17931
JavaScript2524

PHP code Passed 2 tests

Analyzing 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.39
Average class complexity13.38
▷ Minimum class complexity2.00
▷ Maximum class complexity60.00
Average method complexity2.85
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods54
▷ Static methods1833.33%
▷ Public methods5296.30%
▷ Protected methods00.00%
▷ Private methods23.70%
Functions3
▷ Named functions133.33%
▷ Anonymous functions266.67%
Constants1
▷ Global constants1100.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
No PNG images were found in this plugin