72% conversion-popup

Code Review | Popups - WordPress Popup

WordPress plugin Popups - WordPress Popup scored72%from 54 tests.

About plugin

  • Plugin page: conversion-popup
  • Plugin version: 1.4.66
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-5.6
  • WordPress version: 6.3.1
  • First release: Feb 22, 2016
  • Latest release: Jan 2, 2021
  • Number of updates: 606
  • Update frequency: every 2.9 days
  • Top authors: socialintents (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /26,334 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼7.62ms] Passed 4 tests

An overview of server-side resources used by Popups - WordPress Popup
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0337.11 ▼2.45
Dashboard /wp-admin3.34 ▼0.0046.07 ▼16.74
Posts /wp-admin/edit.php3.39 ▲0.0347.74 ▲5.53
Add New Post /wp-admin/post-new.php5.92 ▲0.0390.10 ▼15.54
Media Library /wp-admin/upload.php3.26 ▲0.0337.29 ▲4.27
Conversion Popup /wp-admin/options-general.php?page=conversion-popup3.2029.34

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Popups - WordPress Popup
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲8313.30 ▼1.124.83 ▲3.0640.03 ▲0.24
Dashboard /wp-admin2,235 ▲465.83 ▼0.07106.48 ▼0.0076.93 ▲37.54
Posts /wp-admin/edit.php2,125 ▲362.02 ▼0.1639.27 ▲4.1134.35 ▼1.59
Add New Post /wp-admin/post-new.php1,695 ▲18122.69 ▲5.05718.99 ▲111.4852.06 ▼9.42
Media Library /wp-admin/upload.php1,421 ▲364.20 ▲0.0397.31 ▼3.3993.30 ▲52.00
Conversion Popup /wp-admin/options-general.php?page=conversion-popup9462.2025.1327.58

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=conversion-popup
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=conversion-popup
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP 0% 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 perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/conversion-popup/options.php
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/conversion-popup/conversion-popup.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 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Screenshots: These screenshots require images: #1 (Popup Modal Example), #2 (Conversion Templates), #3 (Call To Action Popup), #4 (Social Intents Dashboard), #5 (Survey Example), #6 (Exit Action Example), #7 (Call To Action), #8 (Twitter and Facebook Sharing)
The official readme.txt is a good inspiration

conversion-popup/conversion-popup.php 92% from 13 tests

The primary PHP file in "Popups - WordPress Popup" version 1.4.66 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 227 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
There were no executable files found in this plugin158 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2238158

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.21
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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 PNG files occupy 1.41MB with 1.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
si-small.png3.71KB1.27KB▼ 65.90%
screenshot-1.png492.24KB131.38KB▼ 73.31%
screenshot-7.png127.73KB32.46KB▼ 74.59%
screenshot-2.png152.29KB42.46KB▼ 72.12%
screenshot-8.png118.07KB31.34KB▼ 73.45%