72% jumplead

Code Review | Jumplead Marketing Software

WordPress plugin Jumplead Marketing Software scored 72% from 54 tests.

About plugin

  • Plugin page: jumplead
  • Plugin version: 3.3.4
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8.6-5.0.2
  • WordPress version: 6.3.1
  • First release: Apr 20, 2012
  • Latest release: Dec 18, 2018
  • Number of updates: 130
  • Update frequency: every 18.7 days
  • Top authors: nojacko (87.69%)jumplead (13.08%)

Code review

54 tests

User reviews

2 reviews

Install metrics

80+ active / 13,849 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

A check of server-side resources used by Jumplead Marketing Software
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.52 ▼0.45
Dashboard /wp-admin3.32 ▲0.0244.11 ▼3.81
Posts /wp-admin/edit.php3.37 ▲0.0148.86 ▲5.69
Add New Post /wp-admin/post-new.php5.90 ▲0.0196.47 ▲9.01
Media Library /wp-admin/upload.php3.24 ▲0.0148.44 ▲13.40
Settings /wp-admin/admin.php?page=jumplead_settings3.2431.37
Jumplead /wp-admin/admin.php?page=jumplead3.2430.85
Integrations /wp-admin/admin.php?page=jumplead_integrations3.0532.53

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 29 new files
Database: 1 new table, 7 new options
New tables
wp_jumplead_mapping
New WordPress options
jumplead_version
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-comments
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Jumplead Marketing Software
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,838 ▲10313.21 ▼1.053.37 ▲1.6742.69 ▼3.74
Dashboard /wp-admin2,238 ▲535.84 ▲0.0495.76 ▼4.7078.44 ▲34.95
Posts /wp-admin/edit.php2,124 ▲351.99 ▼0.0337.35 ▲2.1329.69 ▼6.64
Add New Post /wp-admin/post-new.php1,694 ▲15221.85 ▲3.43666.56 ▲25.2760.45 ▼4.08
Media Library /wp-admin/upload.php1,414 ▲294.21 ▼0.0792.28 ▼18.7476.92 ▲27.28
Settings /wp-admin/admin.php?page=jumplead_settings9922.0122.9027.87
Jumplead /wp-admin/admin.php?page=jumplead1,5899.20273.7986.97
Integrations /wp-admin/admin.php?page=jumplead_integrations9952.1926.5824.75

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 25% 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 0% 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
The following issues need your attention
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/jumplead/views/integrations.php
  • 34× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Warning
      include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/jumplead/Jumplead/Integration.php on line 6
    • > PHP Warning
      include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/jumplead/Jumplead/Integration.php on line 6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/jumplead/views/includes/footer.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'JumpleadIntegration' not found in wp-content/plugins/jumplead/Jumplead/Integration/Comment.php:7
    • > PHP Warning
      include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/jumplead/Jumplead/Integration.php on line 6
    • > PHP Warning
      include(): Failed opening 'JUMPLEAD_PATH_VIEWincludes/header.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/jumplead/views/integrations.php on line 2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/jumplead/views/settings.php:9
    • > PHP Warning
      Use of undefined constant JUMPLEAD_PATH_VIEW - assumed 'JUMPLEAD_PATH_VIEW' (this will throw an Error in a future version of PHP) in wp-content/plugins/jumplead/views/integrations.php on line 161
    • > PHP Notice
      Undefined variable: formCount in wp-content/plugins/jumplead/views/integrations.php on line 7
    • > PHP Warning
      Use of undefined constant JUMPLEAD_PATH_VIEW - assumed 'JUMPLEAD_PATH_VIEW' (this will throw an Error in a future version of PHP) in wp-content/plugins/jumplead/views/settings.php on line 2

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
    • > GET request to /wp-admin/admin.php?page=jumplead
    • > Network (severe)
    http://jumplead.com/i/feature-grid-identify.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
    • > GET request to /wp-admin/admin.php?page=jumplead
    • > Network (severe)
    http://jumplead.com/i/feature-grid-convert.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
    • > GET request to /wp-admin/admin.php?page=jumplead
    • > Network (severe)
    http://jumplead.com/i/feature-grid-automation.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
    • > GET request to /wp-admin/admin.php?page=jumplead
    • > Network (severe)
    http://jumplead.com/i/feature-grid-email.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
    • > GET request to /wp-admin/admin.php?page=jumplead
    • > Network (severe)
    http://jumplead.com/i/feature-grid-contacts.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
    • > GET request to /wp-admin/admin.php?page=jumplead
    • > Network (severe)
    http://jumplead.com/i/feature-grid-analytics.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: email marketing, live chat, marketing, marketing automation, autoresponders

jumplead/jumplead.php 92% from 13 tests

The entry point to "Jumplead Marketing Software" version 3.3.4 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Description: Keep the plugin description shorter than 140 characters (currently 148 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,571 lines of code in 25 files:
LanguageFilesBlank linesComment linesLines of code
PHP172994401,195
CSS1362173
JavaScript281276
Markdown131062
SVG10021
Bourne Shell16016
JSON10014
YAML12014

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity18.83
▷ Minimum class complexity4.00
▷ Maximum class complexity53.00
Average method complexity3.43
▷ Minimum method complexity1.00
▷ Maximum method complexity22.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods44
▷ Static methods2454.55%
▷ Public methods4397.73%
▷ Protected methods12.27%
▷ Private methods00.00%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/robot-white.png20.36KB8.46KB▼ 58.43%
assets/jumplead-icon.png0.61KB0.72KB0.00%