68% avchat-3

Code Review | Community Lite Video Chat

WordPress plugin Community Lite Video Chat scored68%from 54 tests.

About plugin

Code review

54 tests

User reviews

15 reviews

Install metrics

50+ active /43,940 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.04MB] [CPU: ▼5.01ms] Passed 4 tests

Server-side resources used by Community Lite Video Chat
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0439.79 ▼6.94
Dashboard /wp-admin3.36 ▲0.0146.13 ▼16.13
Posts /wp-admin/edit.php3.41 ▲0.0546.70 ▼0.83
Add New Post /wp-admin/post-new.php5.94 ▲0.0594.03 ▲3.85
Media Library /wp-admin/upload.php3.28 ▲0.0540.50 ▲6.62
Feedback /wp-admin/admin.php?page=avchat-3/feedback.php3.2632.09
Settings /wp-admin/admin.php?page=avchat-3/avchat3-settings.php3.3867.44
Enter Chat /wp-admin/admin.php?page=avchat-3/enter-chat.php3.2529.53

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: 2 new tables, 6 new options
New tables
wp_community_lite_permissions
wp_community_lite_general_settings
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Community Lite Video Chat
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,838 ▲7713.32 ▼1.074.15 ▲2.4044.28 ▲0.83
Dashboard /wp-admin2,250 ▲475.85 ▲0.03102.63 ▼6.3769.26 ▲21.79
Posts /wp-admin/edit.php2,123 ▲201.99 ▼0.0034.58 ▼1.1932.70 ▼4.67
Add New Post /wp-admin/post-new.php1,557 ▲2618.37 ▼4.47690.88 ▲64.7175.11 ▲22.98
Media Library /wp-admin/upload.php1,420 ▲174.19 ▼0.0794.97 ▼9.9661.69 ▲16.03
Feedback /wp-admin/admin.php?page=avchat-3/feedback.php8482.2026.8326.77
Settings /wp-admin/admin.php?page=avchat-3/avchat3-settings.php2,9191.7128.2864.01
Enter Chat /wp-admin/admin.php?page=avchat-3/enter-chat.php8272.0223.3525.89

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 2 tables in the database
    • wp_community_lite_general_settings
    • wp_community_lite_permissions
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
    • > GET request to /wp-admin/admin.php?page=avchat-3/feedback.php
    • > User deprecated in wp-includes/functions.php+5453
    Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 38× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Notice
      Undefined index: free_video_time in wp-content/plugins/avchat-3/integration.php on line 228
    • > PHP Notice
      Undefined index: user_role in wp-content/plugins/avchat-3/integration.php on line 70
    • > PHP Notice
      Undefined index: view_who_is_watching_me in wp-content/plugins/avchat-3/integration.php on line 170
    • > PHP Notice
      Undefined index: can_stop_viewer in wp-content/plugins/avchat-3/integration.php on line 197
    • > PHP Notice
      Undefined index: can_send_files_to_rooms in wp-content/plugins/avchat-3/integration.php on line 110
    • > PHP Notice
      Undefined index: can_send_files_to_users in wp-content/plugins/avchat-3/integration.php on line 116
    • > PHP Notice
      Undefined index: max_rooms in wp-content/plugins/avchat-3/integration.php on line 249
    • > PHP Notice
      Undefined index: max_streams in wp-content/plugins/avchat-3/integration.php on line 242
    • > PHP Notice
      Undefined index: flip_tab_menu in wp-content/plugins/avchat-3/integration.php on line 45
    • > PHP Notice
      Undefined index: p2t_default in wp-content/plugins/avchat-3/integration.php on line 57

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Tags: There are too many tags (21 tag instead of maximum 10)
You can look at the official readme.txt

avchat-3/avchat3.php 85% from 13 tests

The principal PHP file in "Community Lite Video Chat" v. 2.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 383 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("avchat-3.php" instead of "avchat3.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,198 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP52512351,198

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.48
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%
Functions15
▷ Named functions15100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
logo-avchat-18x18.png2.07KB1.18KB▼ 42.81%