89% apprised

Code Review | Social Proof, WordPress Lead Generation Opt in,Exit-intent Email Popup , Emoji Feedback – Apprised

WordPress plugin Social Proof, WordPress Lead Generation Opt in,Exit-intent Email Popup , Emoji Feedback – Apprised scored89%from 54 tests.

About plugin

  • Plugin page: apprised
  • Plugin version: 1.3.5
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1.0-5.2.3
  • WordPress version: 6.3.1
  • First release: Oct 5, 2019
  • Latest release: Oct 5, 2019
  • Number of updates: 10
  • Update frequency: every 0.1 days
  • Top authors: iambilalazhar (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

10+ active /1,126 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▼7.84ms] Passed 4 tests

This is a short check of server-side resources used by Social Proof, WordPress Lead Generation Opt in,Exit-intent Email Popup , Emoji Feedback – Apprised
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0141.00 ▲0.44
Dashboard /wp-admin3.31 ▲0.0146.00 ▼7.00
Posts /wp-admin/edit.php3.36 ▲0.0147.60 ▲1.70
Add New Post /wp-admin/post-new.php5.89 ▲0.0180.09 ▼22.00
Media Library /wp-admin/upload.php3.24 ▲0.0135.73 ▼2.78

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Social Proof, WordPress Lead Generation Opt in,Exit-intent Email Popup , Emoji Feedback – Apprised
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5414.28 ▼0.341.72 ▲0.1142.81 ▼0.75
Dashboard /wp-admin2,215 ▲405.55 ▼0.1983.47 ▼27.2739.43 ▼3.98
Posts /wp-admin/edit.php2,120 ▲172.01 ▲0.0434.31 ▼1.4332.34 ▲0.41
Add New Post /wp-admin/post-new.php1,552 ▲2618.21 ▼5.39598.85 ▼47.2377.10 ▲23.69
Media Library /wp-admin/upload.php1,423 ▲234.19 ▲0.01103.08 ▼7.2644.29 ▼0.57

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

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

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:
  • Tags: Please delete some tags, you are using 19 tag instead of maximum 10
The official readme.txt might help

apprised/apprised.php 92% from 13 tests

"Social Proof, WordPress Lead Generation Opt in,Exit-intent Email Popup , Emoji Feedback – Apprised" version 1.3.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin347 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP14924239
CSS2161107
SVG1001

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods2100.00%
▷ Public methods2100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
14 PNG files occupy 3.56MB with 2.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/screenshot-9.png1,140.69KB459.05KB▼ 59.76%
assets/screenshot-5.png9.78KB4.32KB▼ 55.80%
assets/screenshot-7.png14.51KB6.41KB▼ 55.84%
assets/screenshot-1.png290.00KB77.39KB▼ 73.32%
assets/banner-1544X500.png72.38KB36.52KB▼ 49.55%