77% lead-generation

Code Review | Popups by ActiveConvert - Best WordPress Lead Generation Plugin

WordPress plugin Popups by ActiveConvert - Best WordPress Lead Generation Plugin scored77%from 54 tests.

About plugin

  • Plugin page: lead-generation
  • Plugin version: 1.0.88
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-5.0.0
  • WordPress version: 6.3.1
  • First release: Jul 18, 2017
  • Latest release: Apr 12, 2019
  • Number of updates: 170
  • Update frequency: every 3.7 days
  • Top authors: activeconvert (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /8,732 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

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

A check of server-side resources used by Popups by ActiveConvert - Best WordPress Lead Generation Plugin
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.03 ▼0.49
Dashboard /wp-admin3.31 ▲0.0146.21 ▼1.31
Posts /wp-admin/edit.php3.37 ▲0.0145.02 ▼0.14
Add New Post /wp-admin/post-new.php5.90 ▲0.0184.21 ▼4.57
Media Library /wp-admin/upload.php3.24 ▲0.0138.56 ▲7.12
ActiveConvert /wp-admin/options-general.php?page=lead-generation3.2331.95

Server storage [IO: ▲2.09MB] [DB: ▲0.07MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Popups by ActiveConvert - Best WordPress Lead Generation Plugin
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,828 ▲9313.64 ▼0.724.69 ▲3.1844.29 ▼2.82
Dashboard /wp-admin2,231 ▲435.83 ▲0.94103.67 ▼2.4285.44 ▲42.94
Posts /wp-admin/edit.php2,120 ▲312.01 ▼0.0035.49 ▼2.3834.54 ▲2.18
Add New Post /wp-admin/post-new.php1,693 ▲17922.69 ▲5.03683.14 ▲41.5050.95 ▼6.73
Media Library /wp-admin/upload.php1,414 ▲324.31 ▲0.0293.03 ▼7.8475.99 ▲35.29
ActiveConvert /wp-admin/options-general.php?page=lead-generation8862.0729.4927.27

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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 take a closer look at the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/lead-generation/options.php
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/lead-generation/lead-generation.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
  • Tags: You are using too many tags: 36 tag instead of maximum 10
  • Screenshots: These screenshots do not have images: #1 (Example popup form), #2 (Email Sequence creator), #3 (Exit intent popup), #4 (Campaign designer), #5 (Leads pages)
The official readme.txt might help

lead-generation/lead-generation.php 92% from 13 tests

The main PHP script in "Popups by ActiveConvert - Best WordPress Lead Generation Plugin" version 1.0.88 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Description: The description should be shorter than 140 characters (currently 238 characters long)

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 plugin119 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2228119

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.26
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%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 1.29MB with 0.76MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
activeconvert.png13.15KB5.61KB▼ 57.30%
screenshot-4.png235.16KB64.78KB▼ 72.45%
screenshot-5.png186.53KB48.57KB▼ 73.96%
ac-small-white.png0.82KB0.55KB▼ 32.66%
screenshot-1.png641.19KB263.55KB▼ 58.90%