10% webincrement

Code Review | Chat Rooms, Video Calls, Games & Apps for Websites

WordPress plugin Chat Rooms, Video Calls, Games & Apps for Websites scored10%from 54 tests.

About plugin

  • Plugin page: webincrement
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.1.1
  • WordPress version: 6.3.1
  • First release: Apr 27, 2022
  • Latest release: Dec 20, 2022
  • Number of updates: 13
  • Update frequency: every 18.2 days
  • Top authors: sandyrg (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,777 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Notice in wp-content/plugins/webincrement/webincrement.php+42
    Undefined index: winc_webincrementIdCode

Server metrics [RAM: ▼1.96MB] [CPU: ▼52.46ms] Passed 4 tests

Analyzing server-side resources used by Chat Rooms, Video Calls, Games & Apps for Websites
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.434.48 ▼34.45
Dashboard /wp-admin2.05 ▼1.267.94 ▼42.93
Posts /wp-admin/edit.php2.05 ▼1.315.58 ▼39.20
Add New Post /wp-admin/post-new.php2.05 ▼3.845.17 ▼93.27
Media Library /wp-admin/upload.php2.05 ▼1.186.34 ▼27.64

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Chat Rooms, Video Calls, Games & Apps for Websites
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲8013.33 ▼1.301.96 ▲0.2944.30 ▼3.89
Dashboard /wp-admin2,224 ▲365.95 ▲0.04100.21 ▼1.7373.93 ▲31.56
Posts /wp-admin/edit.php2,110 ▲211.97 ▼0.0838.34 ▲3.5235.99 ▲0.86
Add New Post /wp-admin/post-new.php1,690 ▲15624.76 ▲1.52636.24 ▲18.6057.99 ▲8.62
Media Library /wp-admin/upload.php1,403 ▲124.25 ▲0.01107.81 ▲7.2342.62 ▼1.76

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • This plugin cannot be uninstalled
    • > Notice in wp-content/plugins/webincrement/webincrement.php+42
    Undefined index: winc_webincrementIdCode
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% 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
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/webincrement/webincrement.php

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 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can take inspiration from this readme.txt

webincrement/webincrement.php Passed 13 tests

The entry point to "Chat Rooms, Video Calls, Games & Apps for Websites" version 1.0.0 is a PHP file that has certain tags in its header comment area
109 characters long description:
Enrich your Website with Chat Rooms and Private Chat, Video/Audio Calls, Games, Subscription Forms, and More!

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected515 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13231515

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.15
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
12 PNG files occupy 1.18MB with 0.73MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
includes/images/wilogo3.png116.46KB72.36KB▼ 37.87%
includes/images/signIn.png3.47KB0.58KB▼ 83.22%
includes/images/wilogo2.png82.54KB46.26KB▼ 43.95%
includes/images/signOut.png3.23KB0.53KB▼ 83.48%
includes/images/bg2.png734.35KB271.43KB▼ 63.04%