84% socialproofy

Code Review | Social Proofy - FOMO, Social Proof, Sales Popup & WooCommerce - the Social Proof App for WordPress

WordPress plugin Social Proofy - FOMO, Social Proof, Sales Popup & WooCommerce - the Social Proof App for WordPress scored 84% from 54 tests.

About plugin

  • Plugin page: socialproofy
  • Plugin version: 1.0.7
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Apr 15, 2021
  • Latest release: Jan 5, 2023
  • Number of updates: 65
  • Update frequency: every 9.7 days
  • Top authors: socialproofy (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active / 1,113 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.08MB] [CPU: ▼0.76ms] Passed 4 tests

An overview of server-side resources used by Social Proofy - FOMO, Social Proof, Sales Popup & WooCommerce - the Social Proof App for WordPress
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0835.91 ▼5.78
Dashboard /wp-admin3.38 ▲0.0848.57 ▼0.96
Posts /wp-admin/edit.php3.50 ▲0.1453.65 ▲9.22
Add New Post /wp-admin/post-new.php5.96 ▲0.0893.72 ▲3.16
Media Library /wp-admin/upload.php3.31 ▲0.0835.42 ▲0.54

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
socialproofy_connected
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Social Proofy - FOMO, Social Proof, Sales Popup & WooCommerce - the Social Proof App for WordPress
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,833 ▲9814.81 ▲0.461.85 ▲0.0940.82 ▲1.70
Dashboard /wp-admin2,239 ▲515.85 ▲0.9598.04 ▼7.2067.96 ▲27.29
Posts /wp-admin/edit.php2,122 ▲332.03 ▼0.0140.13 ▲7.5336.94 ▲6.15
Add New Post /wp-admin/post-new.php1,550 ▲1523.06 ▼0.33677.69 ▼16.9852.77 ▼1.11
Media Library /wp-admin/upload.php1,421 ▲334.18 ▼0.0195.53 ▼4.4170.58 ▲26.13

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • The uninstall procedure has failed, leaving 7 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • socialproofy_connected
    • widget_recent-comments
    • widget_theysaidso_widget

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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/socialproofy/socialproofy.php:17

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Tags: Please delete some tags, you are using 30 tag instead of maximum 10
The official readme.txt might help

socialproofy/socialproofy.php Passed 13 tests

This is the main PHP file of "Social Proofy - FOMO, Social Proof, Sales Popup & WooCommerce - the Social Proof App for WordPress" version 1.0.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
121 characters long description:
Social Proofy is a social proof marketing platform that works with your Wordpress and WooCommerce websites out of the box

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected463 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP16412463

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions22
▷ Named functions2195.45%
▷ Anonymous functions14.55%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/icon-1200x1200.png64.47KB15.27KB▼ 76.32%
assets/icon.png0.60KB0.34KB▼ 42.60%