77% easy-notify-lite

Code Review | Popup Builder

WordPress plugin Popup Builder scored 77% from 54 tests.

About plugin

  • Plugin page: easy-notify-lite
  • Plugin version: 1.1.29
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-6.3
  • WordPress version: 6.3.1
  • First release: Aug 22, 2014
  • Latest release: Aug 9, 2023
  • Number of updates: 183
  • Update frequency: every 17.9 days
  • Top authors: GhozyLab (100%)

Code review

54 tests

User reviews

18 reviews

Install metrics

800+ active / 72,937 total downloads

Benchmarks

Plugin footprint 82% 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.07MB] [CPU: ▼3.59ms] 75% from 4 tests

An overview of server-side resources used by Popup Builder
Please fix the following
  • CPU: Total CPU usage must kept under 500.00ms (currently 1,315.02ms on /wp-admin/edit.php?post_type=easynotify&page=enoty_featured_plugins)
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0635.67 ▼5.58
Dashboard /wp-admin3.38 ▲0.0748.03 ▲1.29
Posts /wp-admin/edit.php3.42 ▲0.0747.14 ▼2.13
Add New Post /wp-admin/post-new.php5.99 ▲0.1095.67 ▼7.93
Media Library /wp-admin/upload.php3.29 ▲0.0739.07 ▲4.99
Add New Notify /wp-admin/post-new.php?post_type=easynotify3.4555.34
Settings /wp-admin/edit.php?post_type=easynotify&page=easynotify_settings3.2737.25
DEMO /wp-admin/edit.php?post_type=easynotify&page=easynotify_demo3.2729.52
Overview /wp-admin/edit.php?post_type=easynotify3.3445.57
Free Install Plugins /wp-admin/edit.php?post_type=easynotify&page=easynotify_free_plugins3.60498.34
Premium Plugins /wp-admin/edit.php?post_type=easynotify&page=enoty_featured_plugins3.311,315.02
UPGRADE to PRO /wp-admin/edit.php?post_type=easynotify&page=enoty_comparison3.2731.61

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Popup Builder
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,953 ▲21813.57 ▼1.055.16 ▲3.3937.49 ▼4.56
Dashboard /wp-admin2,255 ▲645.86 ▲0.9795.38 ▼4.2260.81 ▲13.82
Posts /wp-admin/edit.php2,135 ▲462.00 ▼0.0135.85 ▼11.9834.78 ▼2.14
Add New Post /wp-admin/post-new.php1,561 ▲3218.38 ▲0.02682.82 ▲53.8061.19 ▲5.36
Media Library /wp-admin/upload.php1,437 ▲494.18 ▼0.0294.22 ▼10.5372.25 ▲26.01
Add New Notify /wp-admin/post-new.php?post_type=easynotify6,0509.87307.67285.06
Settings /wp-admin/edit.php?post_type=easynotify&page=easynotify_settings1,7182.9053.8566.16
DEMO /wp-admin/edit.php?post_type=easynotify&page=easynotify_demo2,20916.51495.6993.90
Overview /wp-admin/edit.php?post_type=easynotify1,1372.0037.3237.90
Free Install Plugins /wp-admin/edit.php?post_type=easynotify&page=easynotify_free_plugins1,6331.9634.0939.92
Premium Plugins /wp-admin/edit.php?post_type=easynotify&page=enoty_featured_plugins9392.0125.1729.72
UPGRADE to PRO /wp-admin/edit.php?post_type=easynotify&page=enoty_comparison1,3411.8928.1954.65

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options were found after uninstall: 7 options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • easynotify_opt
    • widget_recent-comments
    • theysaidso_admin_options
    • 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
Everything seems fine, however this is by no means an exhaustive test

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
  • 3× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/easy-notify-lite/layouts/enoty-preview.php
    • > /wp-content/plugins/easy-notify-lite/easy-notify-lite.php
    • > /wp-content/plugins/easy-notify-lite/inc/functions/enoty-loader.php
  • 5× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-notify-lite/inc/enoty-settings.php:13
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-notify-lite/inc/enoty-metaboxes.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/easy-notify-lite/inc/enoty-shortcode.php:67
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/easy-notify-lite/inc/enoty-frontend.php:125
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-notify-lite/inc/functions/enoty-functions.php:43

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
  • Tags: You are using too many tags: 12 tag instead of maximum 10
Please take inspiration from this readme.txt

easy-notify-lite/easy-notify-lite.php 92% from 13 tests

Analyzing the main PHP file in "Popup Builder" version 1.1.29
It is important to fix the following:
  • Description: The description should be shorter than 140 characters (currently 279 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin10,974 lines of code in 60 files:
LanguageFilesBlank linesComment linesLines of code
PHP169923143,551
CSS163681712,776
JavaScript115392012,613
PO File67201,4641,560
HTML107018245
SVG100229

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.39
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%
Functions85
▷ Named functions8498.82%
▷ Anonymous functions11.18%
Constants13
▷ Global constants13100.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
123 PNG files occupy 1.46MB with 0.77MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
inc/help/img/elements/bullets.png62.31KB25.66KB▼ 58.82%
inc/help/img/layouts/layout_five.png56.91KB18.77KB▼ 67.02%
inc/help/img/close/close-compare.png10.09KB3.03KB▼ 70.00%
inc/images/steps/step-four.png7.60KB2.60KB▼ 65.78%
css/enotybox/fancy_shadow_e.png0.10KB0.18KB0.00%