93% 11sight-video-audio-calls-and-text-chat

Code Review | 11Sight – Video, Audio calls and text chat

WordPress plugin 11Sight – Video, Audio calls and text chat scored 93% from 54 tests.

About plugin

  • Plugin page: 11sight-video-aud...
  • Plugin version: 1.4
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-5.8.2
  • WordPress version: 5.9.2
  • First release: Mar 27, 2020
  • Latest release: Nov 18, 2021
  • Number of updates: 19
  • Update frequency: every 31.7 days
  • Top authors: akin11sight (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 962 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

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

A check of server-side resources used by 11Sight – Video, Audio calls and text chat
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0152.83 ▲3.01
Dashboard /wp-admin3.42 ▲0.0131.89 ▼0.80
Posts /wp-admin/edit.php3.65 ▲0.0136.13 ▲0.71
Add New Post /wp-admin/post-new.php6.92 ▼0.0892.82 ▼1,181.15
Media Library /wp-admin/upload.php3.30 ▲0.0125.69 ▲2.28

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by 11Sight – Video, Audio calls and text chat
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,812 ▲6816.22 ▲0.5113.39 ▲7.804.22 ▲2.04
Dashboard /wp-admin2,907 ▲496.14 ▼0.03115.82 ▼15.34178.66 ▲22.75
Posts /wp-admin/edit.php2,709 ▲153.24 ▲0.0161.08 ▼3.99137.72 ▼6.96
Add New Post /wp-admin/post-new.php1,792 ▲10221.63 ▲0.28431.92 ▼36.07162.64 ▲3.31
Media Library /wp-admin/upload.php1,718 ▲265.52 ▲0.09122.47 ▼18.95201.22 ▲17.85

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 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
Almost there! Just fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/11sight-video-audio-calls-and-text-chat/core.php:47

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


Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
  • Tags: Please reduce the number of tags, currently 24 tag instead of maximum 10
You can look at the official readme.txt

11sight-video-audio-calls-and-text-chat/core.php 77% from 13 tests

The main PHP file in "11Sight – Video, Audio calls and text chat" ver. 1.4 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Requires at least: The required version number did not match the one declared in readme.txt ("4.8" instead of "5.3")
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("11sight-video-audio-calls-and-text-chat.php" instead of "core.php")
  • Requires PHP: The required version number did not match the one declared in readme.txt ("5.6" instead of "7.2")

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
Good job! No executable or dangerous file extensions detected340 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.40
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions14100.00%
▷ Anonymous functions00.00%
▷ 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.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
11Sight-icon.png5.21KB1.00KB▼ 80.86%