79% personizely

Code Review | Popups, Email Popup, Exit Intent Pop Up, Upsell Pop Up, Cart Abandonment Popups, Contact Form Builder – Personizely

WordPress plugin Popups, Email Popup, Exit Intent Pop Up, Upsell Pop Up, Cart Abandonment Popups, Contact Form Builder – Personizely scored79%from 54 tests.

About plugin

  • Plugin page: personizely
  • Plugin version: 0.9
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-6.4.1
  • WordPress version: 6.3.1
  • First release: Sep 8, 2019
  • Latest release: Nov 29, 2023
  • Number of updates: 44
  • Update frequency: every 35.1 days
  • Top authors: personizely (100%)

Code review

54 tests

User reviews

24 reviews

Install metrics

400+ active /9,143 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.00MB] [CPU: ▼7.12ms] Passed 4 tests

This is a short check of server-side resources used by Popups, Email Popup, Exit Intent Pop Up, Upsell Pop Up, Cart Abandonment Popups, Contact Form Builder – Personizely
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.51 ▼4.30
Dashboard /wp-admin3.32 ▼0.0354.36 ▼12.04
Posts /wp-admin/edit.php3.37 ▲0.0150.80 ▲7.24
Add New Post /wp-admin/post-new.php5.90 ▲0.0191.19 ▼13.50
Media Library /wp-admin/upload.php3.24 ▲0.0136.46 ▲1.35

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 8 new options
New WordPress options
widget_recent-comments
personizely_api_key
widget_recent-posts
db_upgraded
theysaidso_admin_options
can_compress_scripts
personizely_async
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Popups, Email Popup, Exit Intent Pop Up, Upsell Pop Up, Cart Abandonment Popups, Contact Form Builder – Personizely
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲6314.25 ▼0.511.63 ▼0.0241.49 ▼2.08
Dashboard /wp-admin2,230 ▲565.54 ▲0.0097.83 ▼10.7474.51 ▲29.75
Posts /wp-admin/edit.php2,138 ▲381.98 ▲0.0139.23 ▲2.7334.75 ▲2.07
Add New Post /wp-admin/post-new.php1,713 ▲18722.32 ▼0.44690.42 ▲59.0753.83 ▼1.20
Media Library /wp-admin/upload.php1,438 ▲354.15 ▲0.0293.69 ▼7.4665.79 ▲19.64

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin does not fully uninstall, leaving 8 options in the database
    • personizely_async
    • widget_theysaidso_widget
    • db_upgraded
    • personizely_api_key
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 50% 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 no errors were found, this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 3× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/personizely/views/settings-main.php
    • > /wp-content/plugins/personizely/index.php
    • > /wp-content/plugins/personizely/personizely.php
  • 10× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Notice
      Undefined variable: data in wp-content/plugins/personizely/views/settings-main.php on line 43
    • > PHP Notice
      Undefined variable: data in wp-content/plugins/personizely/views/settings-main.php on line 3
    • > PHP Notice
      Undefined variable: data in wp-content/plugins/personizely/views/settings-main.php on line 44
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/personizely/views/settings-main.php on line 43
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/personizely/views/settings-main.php on line 44
    • > PHP Notice
      Undefined variable: data in wp-content/plugins/personizely/views/settings-main.php on line 44
    • > PHP Notice
      Undefined variable: data in wp-content/plugins/personizely/views/settings-main.php on line 43
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/personizely/views/settings-main.php on line 3
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/personizely/views/settings-main.php on line 43
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/personizely/views/settings-main.php on line 44

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: pop ups, contact form builder, newsletter popup, exit intent popup, popups

personizely/personizely.php Passed 13 tests

The primary PHP file in "Popups, Email Popup, Exit Intent Pop Up, Upsell Pop Up, Cart Abandonment Popups, Contact Form Builder – Personizely" version 0.9 is used by WordPress to initiate all plugin functionality
61 characters long description:
Personizely Widgets and Website Personalization for WordPress

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin255 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP55014225
SVG10030

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity14.50
▷ Minimum class complexity9.00
▷ Maximum class complexity20.00
Average method complexity2.28
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods19
▷ Static methods19100.00%
▷ Public methods19100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants9
▷ Global constants9100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected