84% exit-intent-conversion-rate-optimisation-popups-by-bouncezap

Code Review | Popups by Bouncezap – Best WordPress Lead Generation Plugin

WordPress plugin Popups by Bouncezap – Best WordPress Lead Generation Plugin scored 84% from 54 tests.

About plugin

  • Plugin page: exit-intent-conve...
  • Plugin version: 2.0.5
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8.0-4.7.1
  • WordPress version: 6.3.1
  • First release: Nov 1, 2015
  • Latest release: Apr 5, 2018
  • Number of updates: 38
  • Update frequency: every 23.4 days
  • Top authors: bouncezap (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

10+ active / 1,069 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼2.16ms] Passed 4 tests

Server-side resources used by Popups by Bouncezap – Best WordPress Lead Generation Plugin
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0439.49 ▼0.72
Dashboard /wp-admin3.34 ▲0.0347.45 ▲3.43
Posts /wp-admin/edit.php3.39 ▲0.0351.15 ▲2.98
Add New Post /wp-admin/post-new.php5.92 ▲0.0387.76 ▼14.34
Media Library /wp-admin/upload.php3.26 ▲0.0340.13 ▲5.00
Bouncezap /wp-admin/themes.php?page=bouncezap3.2334.52

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Popups by Bouncezap – Best WordPress Lead Generation Plugin
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.32 ▼0.971.67 ▼0.0843.30 ▼6.52
Dashboard /wp-admin2,210 ▲224.87 ▼0.05110.62 ▼5.6546.32 ▲4.42
Posts /wp-admin/edit.php2,096 ▲41.97 ▼0.0440.75 ▼2.5835.51 ▲0.17
Add New Post /wp-admin/post-new.php1,535 ▲2122.22 ▲4.69680.62 ▲67.1457.62 ▲9.30
Media Library /wp-admin/upload.php1,395 ▲74.27 ▲0.02101.37 ▼7.2044.95 ▲3.16
Bouncezap /wp-admin/themes.php?page=bouncezap7642.0627.6225.98

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

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

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
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/exit-intent-conversion-rate-optimisation-popups-by-bouncezap/bouncezap.php:18

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
  • Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
The official readme.txt is a good inspiration

exit-intent-conversion-rate-optimisation-popups-by-bouncezap/bouncezap.php 92% from 13 tests

The entry point to "Popups by Bouncezap – Best WordPress Lead Generation Plugin" version 2.0.5 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("exit-intent-conversion-rate-optimisation-popups-by-bouncezap.php" instead of "bouncezap.php")

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 detected129 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.16
Average class complexity3.50
▷ Minimum class complexity2.00
▷ Maximum class complexity5.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
▷ Static methods330.00%
▷ Public methods990.00%
▷ Protected methods110.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin