78% vouchkick

Code Review | Sales Notifications, Reviews, Testimonials, Polls, and Feedback Widgets by Vouchkick

WordPress plugin Sales Notifications, Reviews, Testimonials, Polls, and Feedback Widgets by Vouchkick scored78%from 54 tests.

About plugin

  • Plugin page: vouchkick
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.8
  • WordPress version: 6.3.1
  • First release: Aug 21, 2021
  • Latest release: Aug 23, 2021
  • Number of updates: 5
  • Update frequency: every 1.2 days
  • Top authors: vouchkick (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /322 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

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

An overview of server-side resources used by Sales Notifications, Reviews, Testimonials, Polls, and Feedback Widgets by Vouchkick
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0144.62 ▲3.85
Dashboard /wp-admin3.32 ▲0.0145.98 ▼1.21
Posts /wp-admin/edit.php3.37 ▲0.0148.24 ▼0.85
Add New Post /wp-admin/post-new.php5.90 ▲0.0192.40 ▼15.91
Media Library /wp-admin/upload.php3.24 ▲0.0136.24 ▲1.42
Sign up /wp-admin/admin.php?page=vouchkick_sign_up3.2031.45
Sign in /wp-admin/admin.php?page=vouchkick_sign_in3.21371.87

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Sales Notifications, Reviews, Testimonials, Polls, and Feedback Widgets by Vouchkick
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲9413.15 ▼1.301.85 ▲0.1240.21 ▲1.46
Dashboard /wp-admin2,235 ▲465.86 ▲0.81106.59 ▼0.0845.14 ▼3.13
Posts /wp-admin/edit.php2,118 ▲292.06 ▲0.0140.78 ▼2.3535.54 ▼0.09
Add New Post /wp-admin/post-new.php1,538 ▲517.57 ▼5.64629.65 ▼49.4851.30 ▲1.20
Media Library /wp-admin/upload.php1,417 ▲294.25 ▲0.0398.07 ▼13.2241.38 ▼2.75
Sign up /wp-admin/admin.php?page=vouchkick_sign_up7982.0322.7332.01
Sign in /wp-admin/admin.php?page=vouchkick_sign_in8042.0323.9027.04

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
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
    • > GET request to /wp-admin/admin.php?page=vouchkick_sign_in
    • > Warning in wp-content/plugins/vouchkick/vouchkick.php+103
    Use of undefined constant status_code - assumed 'status_code' (this will throw an Error in a future version of PHP)
    • > GET request to /wp-admin/admin.php?page=vouchkick_sign_in
    • > Warning in wp-content/plugins/vouchkick/vouchkick.php+104
    Use of undefined constant message - assumed 'message' (this will throw an Error in a future version of PHP)

SRP 50% from 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
The following issues need your attention
  • 1× 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/vouchkick/vouchkick.php:16

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were 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
Attributes that require attention:
  • Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt might help

vouchkick/vouchkick.php Passed 13 tests

The entry point to "Sales Notifications, Reviews, Testimonials, Polls, and Feedback Widgets by Vouchkick" version 1.0.1 is a PHP file that has certain tags in its header comment area
34 characters long description:
Integrate Vouchkick with Wordpress

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin257 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1449188
CSS10069

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.09
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%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin