89% easy-video-reviews

Code Review | Easy Video Reviews – Social Proof & Video Testimonials for Elementor, WooCommerce, Easy Digital Downloads

WordPress plugin Easy Video Reviews – Social Proof & Video Testimonials for Elementor, WooCommerce, Easy Digital Downloads scored89%from 54 tests.

About plugin

  • Plugin page: easy-video-reviews
  • Plugin version: 1.7.5
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4
  • WordPress version: 6.3.1
  • First release: Jul 14, 2021
  • Latest release: Nov 8, 2023
  • Number of updates: 70
  • Update frequency: every 12.1 days
  • Top authors: azizultex (82.86%)wppool (17.14%)iamjafran (2.86%)

Code review

54 tests

User reviews

7 reviews

Install metrics

100+ active /8,858 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.81MB] [CPU: ▲171.44ms] Passed 4 tests

This is a short check of server-side resources used by Easy Video Reviews – Social Proof & Video Testimonials for Elementor, WooCommerce, Easy Digital Downloads
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /4.04 ▲0.5744.02 ▲2.77
Dashboard /wp-admin4.24 ▲0.93275.41 ▲225.01
Posts /wp-admin/edit.php4.29 ▲0.92284.31 ▲235.19
Add New Post /wp-admin/post-new.php6.78 ▲0.89312.33 ▲222.80
Media Library /wp-admin/upload.php4.11 ▲0.87409.22 ▲375.28

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 135 new files
Database: no new tables, 16 new options
New WordPress options
evr_woocommerce
evr_recording_page_id
can_compress_scripts
db_upgraded
widget_theysaidso_widget
evr_recorder
evr_email_template
evr_redirected
evr_translations
evr_forms
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Easy Video Reviews – Social Proof & Video Testimonials for Elementor, WooCommerce, Easy Digital Downloads
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /5,080 ▲2,33323.48 ▲9.14136.14 ▲134.2947.07 ▲2.56
Dashboard /wp-admin2,403 ▲2236.19 ▲0.60106.99 ▲8.0941.16 ▼5.18
Posts /wp-admin/edit.php2,312 ▲2122.70 ▲0.7645.31 ▲7.5932.18 ▼5.81
Add New Post /wp-admin/post-new.php6,429 ▲4,90326.57 ▲3.161,031.35 ▲416.6732.03 ▼19.78
Media Library /wp-admin/upload.php1,608 ▲2114.81 ▲0.67115.74 ▲13.4546.89 ▲3.30

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • This plugin does not fully uninstall, leaving 15 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • evr_forms
    • evr_default_button
    • evr_translations
    • evr_review_page_id
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • evr_edd
    • ...

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7, #8 in easy-video-reviews/assets to your readme.txt
You can take inspiration from this readme.txt

easy-video-reviews/easy-video-reviews.php 92% from 13 tests

Analyzing the main PHP file in "Easy Video Reviews – Social Proof & Video Testimonials for Elementor, WooCommerce, Easy Digital Downloads" version 1.7.5
Please take the time to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 293 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin9,895 lines of code in 102 files:
LanguageFilesBlank linesComment linesLines of code
PHP781,8413,8406,460
JavaScript71,5321,6752,470
Markdown21470446
SVG906375
XML1173859
CSS31345
JSON20040

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.36
Average class complexity13.17
▷ Minimum class complexity1.00
▷ Maximum class complexity91.00
Average method complexity2.47
▷ Minimum method complexity1.00
▷ Maximum method complexity30.00
Code structure
Namespaces9
Interfaces0
Traits1
Classes35
▷ Abstract classes25.71%
▷ Concrete classes3394.29%
▷ Final classes00.00%
Methods293
▷ Static methods124.10%
▷ Public methods24182.25%
▷ Protected methods237.85%
▷ Private methods299.90%
Functions15
▷ Named functions16.67%
▷ Anonymous functions1493.33%
Constants8
▷ Global constants8100.00%
▷ Class constants00.00%
▷ Public constants00.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
6 compressed PNG files occupy 0.11MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
public/images/icons/edd.png5.35KB3.55KB▼ 33.67%
includes/wppool/EVR.png60.93KB65.92KB0.00%
public/images/icon.png0.60KB0.88KB0.00%
includes/wppool/background-image.png29.31KB32.11KB0.00%
public/images/icons/woocommerce.png4.44KB3.08KB▼ 30.61%