74% jumper

Code Review | Jumper - custom contact popup sidebar with floating button

WordPress plugin Jumper - custom contact popup sidebar with floating button scored74%from 54 tests.

About plugin

  • Plugin page: jumper
  • Plugin version: 1.1.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.0
  • WordPress version: 6.3.1
  • First release: Jun 16, 2022
  • Latest release: Jun 29, 2022
  • Number of updates: 20
  • Update frequency: every 0.7 days
  • Top authors: combar (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

70+ active /1,427 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.25MB] [CPU: ▼7.70ms] Passed 4 tests

A check of server-side resources used by Jumper - custom contact popup sidebar with floating button
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.67 ▲0.2026.69 ▼12.19
Dashboard /wp-admin3.59 ▲0.2452.56 ▼11.54
Posts /wp-admin/edit.php3.70 ▲0.3446.35 ▼5.67
Add New Post /wp-admin/post-new.php6.17 ▲0.2890.67 ▼1.38
Media Library /wp-admin/upload.php3.51 ▲0.2842.98 ▲4.92

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 40 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
combar_fs
can_compress_scripts
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Jumper - custom contact popup sidebar with floating button
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,162 ▲37613.54 ▼0.8118.76 ▲16.8377.71 ▲34.62
Dashboard /wp-admin2,210 ▲325.59 ▼0.1785.19 ▼16.7240.29 ▼5.23
Posts /wp-admin/edit.php2,094 ▼91.95 ▼0.1236.66 ▼7.0436.38 ▼1.31
Add New Post /wp-admin/post-new.php1,538 ▲1023.24 ▲0.28676.49 ▲6.3752.56 ▼13.84
Media Library /wp-admin/upload.php1,412 ▲124.17 ▼0.00110.39 ▲8.2246.61 ▲2.31

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
It is recommended to fix the following
  • This plugin cannot be uninstalled
    • > Notice in wp-content/plugins/jumper/combar-fs.php+243
    Undefined index: uninstall_delete
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_recent-comments
    • combar_fs
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts

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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/jumper/admin/main.php:7

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 93% 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
7 plugin tags: popup, sidebar, floating, sticky sidebar, contact...

jumper/combar-fs.php 85% from 13 tests

The principal PHP file in "Jumper - custom contact popup sidebar with floating button" v. 1.1.2 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("jumper.php" instead of "combar-fs.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin6,085 lines of code in 22 files:
LanguageFilesBlank linesComment linesLines of code
PHP44041672,540
JavaScript84032981,746
CSS622331,655
JSON10086
Markdown28042
SVG10116

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.14
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%
Functions24
▷ Named functions24100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin