10% immediate-list-building-pro-lite

Code Review | Immediate List Building Pro Lite

WordPress plugin Immediate List Building Pro Lite scored 10% from 54 tests.

About plugin

  • Plugin page: immediate-list-bu...
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-4.0
  • WordPress version: 5.8.1
  • First release: Apr 13, 2014
  • Latest release: Sep 8, 2014
  • Number of updates: 14
  • Update frequency: every 10.7 days
  • Top authors: wpsmartapps (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 2,828 total downloads

Benchmarks

Plugin footprint 23% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
  • This plugin did not install gracefully
    • > Deprecated in wp-content/plugins/immediate-list-building-pro-lite/immediate-list-building-pro.php+41
    Methods with the same name as their class will not be constructors in a future version of PHP; EmailListBuildingProPlugin has a deprecated constructor

Server metrics [RAM: ▼1.49MB] [CPU: ▼185.68ms] Passed 4 tests

An overview of server-side resources used by Immediate List Building Pro Lite
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.14 ▼0.585.86 ▼18.78
Dashboard /wp-admin2.16 ▼0.896.34 ▼41.09
Posts /wp-admin/edit.php2.16 ▼0.957.17 ▼29.92
Add New Post /wp-admin/post-new.php2.16 ▼3.277.79 ▼645.82
Media Library /wp-admin/upload.php2.16 ▼0.845.95 ▼25.89
Immediate List Building Pro - Lite /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php2.165.91

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 141 new files
Database: 5 new tables, 1 new option
New tables
wp_elbp_optin_options
wp_elbp_autoresponder
wp_elbp_first_commentator
wp_elbp_optin_insidecomment
wp_elbp_optin_placement
New WordPress options
widget_elbproofa

Browser metrics Passed 4 tests

An overview of browser requirements for Immediate List Building Pro Lite
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,370 ▼22610.97 ▼4.6314.28 ▲4.9747.47 ▼5.16
Dashboard /wp-admin2,966 ▲326.34 ▲0.41138.74 ▼1.61112.44 ▲2.25
Posts /wp-admin/edit.php2,750 ▲112.80 ▲0.0977.48 ▲13.69103.49 ▲11.95
Add New Post /wp-admin/post-new.php1,624 ▼5922.56 ▲3.85277.11 ▼93.22106.25 ▼8.93
Media Library /wp-admin/upload.php1,821 ▲175.23 ▲0.17149.83 ▼5.11118.00 ▲3.46
Immediate List Building Pro - Lite /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php1,8602.6359.29188.15

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • This plugin cannot be uninstalled
    • > Deprecated in wp-content/plugins/immediate-list-building-pro-lite/immediate-list-building-pro.php+41
    Methods with the same name as their class will not be constructors in a future version of PHP; EmailListBuildingProPlugin has a deprecated constructor
  • The uninstall procedure failed, leaving 5 tables in the database
    • wp_elbp_optin_options
    • wp_elbp_autoresponder
    • wp_elbp_optin_insidecomment
    • wp_elbp_first_commentator
    • wp_elbp_optin_placement
  • This plugin did not uninstall successfully, leaving 1 option in the database
    • widget_elbproofa

Smoke tests 0% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Deprecated in wp-content/plugins/immediate-list-building-pro-lite/immediate-list-building-pro.php+41
    Methods with the same name as their class will not be constructors in a future version of PHP; EmailListBuildingProPlugin has a deprecated constructor
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Deprecated in wp-content/plugins/immediate-list-building-pro-lite/immediate-list-building-pro.php+1052
    Methods with the same name as their class will not be constructors in a future version of PHP; EmailListBuildingProPluginWidget has a deprecated constructor
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/immediate-list-building-pro.php+31
    Constant ELBPRO_ROWS_PER_SEGMENT already defined
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Deprecated in wp-content/plugins/immediate-list-building-pro-lite/immediate-list-building-pro.php+1117
    Function create_function() is deprecated
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > User deprecated in wp-includes/functions.php+5304
    The called constructor method for WP_Widget in EmailListBuildingProPluginWidget is deprecated since version 4.3.0! Use __construct() instead.
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > User deprecated in wp-includes/functions.php+5495
    has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+639
    Undefined index: elbpro
  • 18 occurences, only the last one shown
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+737
    Trying to access array offset on value of type null
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+666
    Undefined index: deleteFb
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+667
    Undefined index: deFb
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+668
    Undefined index: deletePB
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+669
    Undefined index: dePB
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+670
    Undefined index: deleteWbp
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+671
    Undefined index: deWbp
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+672
    Undefined index: deleteEP
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+673
    Undefined index: deEP
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+675
    Undefined index: editarp
  • 15 occurences, only the last one shown
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+977
    Undefined index: elbpg
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/include/process-optin-placement-data.php+366
    Undefined index: fup
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/include/process-optin-placement-data.php+369
    Undefined index: pup
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/include/process-optin-placement-data.php+372
    Undefined index: wup
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/include/process-optin-placement-data.php+375
    Undefined index: exitp
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+754
    Undefined index: cid
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+806
    Undefined variable: elbpro_option_msg
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/home.php+298
    Trying to access array offset on value of type bool
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+872
    Undefined index: enable_footerbar
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+884
    Undefined index: enable_popup
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+896
    Undefined index: enable_withinpost
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+908
    Undefined index: enable_chkbox
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+917
    Undefined index: enable_insideCommentBox
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+930
    Undefined index: enable_sidebar
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+942
    Undefined index: enable_registor
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+982
    Undefined variable: elbpro_css_active_co
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+983
    Undefined variable: elbpro_css_active_ao
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/immediate-list-building-pro.cls.php+984
    Undefined variable: elbpro_css_active_ug
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Notice in wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/home.php+307
    Undefined variable: dontShowPwdbyLink

SRP 0% 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
Please fix the following
  • 7× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/market.php
    • > /wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/upgrade.php
    • > /wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/js/optin-placement.php
    • > /wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/co-placement.php
    • > /wp-content/plugins/immediate-list-building-pro-lite/lib/user-tmp/wpfa-tools/elbpro-tools.php
    • > /wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/co-sidebar.php
    • > /wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/backup-and-restore.php
  • 112× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Using $this when not in object context in wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/header.php:4
    • > PHP Notice
      Undefined variable: process_insideCommentBox in wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/include/process-optin-placement-data.php on line 85
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/configure-optin.php on line 44
    • > PHP Notice
      Undefined variable: _elbpro_path in wp-content/plugins/immediate-list-building-pro-lite/lib/user-tmp/count.php on line 7
    • > PHP Notice
      Undefined variable: btm_bg_color in wp-content/plugins/immediate-list-building-pro-lite/lib/user-tmp/sidebar/1/template.php on line 11
    • > PHP Notice
      Undefined variable: block_name_fld in wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/configure-optin.php on line 63
    • > PHP Warning
      Use of undefined constant ELBPRO_FULLPATH - assumed 'ELBPRO_FULLPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/js/optin-placement.php on line 48
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/configure-optin.php on line 42
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/immediate-list-building-pro-lite/immediate-list-building-pro.php:14
    • > PHP Notice
      Undefined variable: sidebar_bg_checked2 in wp-content/plugins/immediate-list-building-pro-lite/lib/admin-pg/co-sidebar.php on line 52

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
    • > GET request to /wp-admin/tools.php?page=immediate-list-building-pro-lite/immediate-list-building-pro.php
    • > Javascript (severe) in unknown
    /wp-admin/tools.php?page=immediate-list-building-pro-lite%2Fimmediate-list-building-pro.php 142:319 Uncaught ReferenceError: __elbpSelectTab is not defined

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Tags: Too many tags (36 tag instead of maximum 10); only the first 5 tags are used in your directory listing
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (List of all available optin connections.), #2 (Analystics of the display optin form.), #3 (Footer optin form.), #4 (PopUp optin form.), #5 (Within post optin form.), #6 (Subscribe check box before comment box.), #7 (Optin inside comment box.), #8 (Optin sidebar.), #9 (Subscribe checkbox at register page.), #10 (Exit JS PopUp), #11 (Email to fist blog commentator.), #12 (Squeeze page builder.), #13 (Autoresponder Connection)
The official readme.txt is a good inspiration

immediate-list-building-pro-lite/immediate-list-building-pro.php 85% from 13 tests

The principal PHP file in "Immediate List Building Pro Lite" v. 1.2 is loaded by WordPress automatically on each request
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 209 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("immediate-list-building-pro-lite.php" instead of "immediate-list-building-pro.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin6,551 lines of code in 37 files:
LanguageFilesBlank linesComment linesLines of code
PHP239306845,012
JavaScript111971281,216
CSS35124323

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity162.33
▷ Minimum class complexity6.00
▷ Maximum class complexity307.00
Average method complexity6.26
▷ Minimum method complexity1.00
▷ Maximum method complexity40.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods92
▷ Static methods00.00%
▷ Public methods92100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants14
▷ Global constants14100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
45 PNG files occupy 0.69MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
lib/images/elbpro-logo.png17.19KB8.21KB▼ 52.23%
screenshot-9.png33.44KB12.30KB▼ 63.23%
lib/user-tmp/sidebar/1/images/bg-blue.png10.25KB13.80KB0.00%
screenshot-2.png37.14KB13.21KB▼ 64.44%
lib/user-tmp/sidebar/1/images/bg-black.png10.29KB13.80KB0.00%