78% nudgify

Code Review | Nudgify Social Proof, Sales Popup & FOMO – Best WordPress Social Proof Plugin

WordPress plugin Nudgify Social Proof, Sales Popup & FOMO – Best WordPress Social Proof Plugin scored78%from 54 tests.

About plugin

  • Plugin page: nudgify
  • Plugin version: 1.3.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.3.1
  • WordPress version: 6.3.1
  • First release: Dec 6, 2019
  • Latest release: Oct 6, 2023
  • Number of updates: 47
  • Update frequency: every 29.9 days
  • Top authors: convertize (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

1,000+ active /17,259 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.30MB] [CPU: ▼1.40ms] Passed 4 tests

This is a short check of server-side resources used by Nudgify Social Proof, Sales Popup & FOMO – Best WordPress Social Proof Plugin
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.81 ▲0.3443.63 ▲3.65
Dashboard /wp-admin3.65 ▲0.3046.58 ▼13.83
Posts /wp-admin/edit.php3.70 ▲0.3457.06 ▲10.76
Add New Post /wp-admin/post-new.php6.17 ▲0.2892.77 ▼5.25
Media Library /wp-admin/upload.php3.51 ▲0.2844.19 ▲9.83

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 12 new options
New WordPress options
db_upgraded
nudgify-enabled
widget_recent-comments
can_compress_scripts
nudgify-connected
theysaidso_admin_options
widget_theysaidso_widget
nudgify-saved
widget_recent-posts
nudgify-api-token
...

Browser metrics Passed 4 tests

Nudgify Social Proof, Sales Popup & FOMO – Best WordPress Social Proof Plugin: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲8013.31 ▼1.351.64 ▼0.3044.96 ▼0.81
Dashboard /wp-admin2,221 ▲304.92 ▲0.06107.02 ▼2.5269.06 ▲25.45
Posts /wp-admin/edit.php2,107 ▲212.03 ▲0.0443.97 ▲7.3348.80 ▲12.79
Add New Post /wp-admin/post-new.php1,681 ▲13922.39 ▲3.97742.05 ▲114.1148.67 ▲1.00
Media Library /wp-admin/upload.php1,406 ▲184.19 ▲0.00100.54 ▲2.9968.91 ▲26.34

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting 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 fix the following items
  • 4× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/nudgify/includes/settings.php
    • > /wp-content/plugins/nudgify/includes/options.php
    • > /wp-content/plugins/nudgify/includes/functions.php
    • > /wp-content/plugins/nudgify/nudgify.php
  • 11× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Interface 'NudgifySentryEventCapture' not found in wp-content/plugins/nudgify/sentry/NudgifySentryDirectEventCapture.php:7
    • > PHP Fatal error
      Uncaught Error: Interface 'NudgifySentryClientExtension' not found in wp-content/plugins/nudgify/sentry/NudgifySentryRequestReporter.php:6
    • > PHP Fatal error
      Uncaught Error: Interface 'NudgifySentryContext' not found in wp-content/plugins/nudgify/sentry/NudgifySentryBrowserContext.php:6
    • > PHP Fatal error
      Uncaught Error: Interface 'NudgifySentryClientExtension' not found in wp-content/plugins/nudgify/sentry/NudgifySentryBreadcrumbLogger.php:12
    • > PHP Fatal error
      Uncaught Error: Interface 'NudgifySentryClientExtension' not found in wp-content/plugins/nudgify/sentry/NudgifySentryEnvironmentReporter.php:6
    • > PHP Fatal error
      Uncaught Error: Interface 'NudgifySentryContext' not found in wp-content/plugins/nudgify/sentry/NudgifySentryRuntimeContext.php:3
    • > PHP Fatal error
      Uncaught Error: Interface 'NudgifySentryClientExtension' not found in wp-content/plugins/nudgify/sentry/NudgifySentryClientSniffer.php:8
    • > PHP Fatal error
      Uncaught Error: Interface 'NudgifySentryContext' not found in wp-content/plugins/nudgify/sentry/NudgifySentryOSContext.php:3
    • > PHP Fatal error
      Uncaught Error: Interface 'NudgifySentryEventCapture' not found in wp-content/plugins/nudgify/sentry/NudgifySentryBufferedEventCapture.php:12
    • > PHP Fatal error
      Uncaught Error: Interface 'NudgifySentryClientExtension' not found in wp-content/plugins/nudgify/sentry/NudgifySentryExceptionReporter.php:6

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: fomo, sales pop, notifications, recent sales, social proof

nudgify/nudgify.php 92% from 13 tests

This is the main PHP file of "Nudgify Social Proof, Sales Popup & FOMO – Best WordPress Social Proof Plugin" version 1.3.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 154 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,767 lines of code in 30 files:
LanguageFilesBlank linesComment linesLines of code
PHP304506501,767

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.30
Average class complexity6.44
▷ Minimum class complexity1.00
▷ Maximum class complexity63.00
Average method complexity2.40
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
Namespaces0
Interfaces3
Traits0
Classes24
▷ Abstract classes14.17%
▷ Concrete classes2395.83%
▷ Final classes00.00%
Methods104
▷ Static methods00.00%
▷ Public methods7168.27%
▷ Protected methods2120.19%
▷ Private methods1211.54%
Functions7
▷ Named functions685.71%
▷ Anonymous functions114.29%
Constants28
▷ Global constants1035.71%
▷ Class constants1864.29%
▷ Public constants18100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
icon.png0.32KB0.29KB▼ 10.57%