83% 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 scored83%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: 6.3.1
  • 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

50+ active /1,460 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.05MB] [CPU: ▼5.40ms] Passed 4 tests

Server-side resources used by 11Sight – Video, Audio calls and text chat
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0535.63 ▼5.08
Dashboard /wp-admin3.36 ▲0.0646.24 ▼1.91
Posts /wp-admin/edit.php3.41 ▲0.0644.91 ▼2.34
Add New Post /wp-admin/post-new.php5.94 ▲0.0694.55 ▼12.28
Media Library /wp-admin/upload.php3.28 ▲0.0643.46 ▲7.22

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for 11Sight – Video, Audio calls and text chat
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲6813.59 ▼0.7910.82 ▲9.0441.60 ▼7.99
Dashboard /wp-admin2,224 ▲395.84 ▲0.9899.33 ▼22.7271.50 ▲24.88
Posts /wp-admin/edit.php2,101 ▲121.99 ▼0.0439.09 ▼4.9238.80 ▲5.59
Add New Post /wp-admin/post-new.php1,680 ▲13721.73 ▲3.51748.10 ▲87.8645.99 ▼8.41
Media Library /wp-admin/upload.php1,397 ▲124.18 ▼0.0396.98 ▼3.4374.60 ▲31.60

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts

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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > 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
No browser issues were found

Optimizations

Plugin configuration 86% 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
Please fix the following attributes:
  • Tags: Please delete some tags, you are using 24 tag instead of maximum 10
The official readme.txt might help

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

Analyzing the main PHP file in "11Sight – Video, Audio calls and text chat" version 1.4
The following require your attention:
  • Main file name: Name the main plugin file the same as the plugin slug ("11sight-video-audio-calls-and-text-chat.php" instead of "core.php")
  • Requires at least: Required version does not match the one declared in readme.txt ("4.8" instead of "5.3")
  • Requires PHP: Required version does 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 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin340 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP16774340

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
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
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%
Functions14
▷ Named functions14100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
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%