Repository Analysis

webrtc/samples

WebRTC Web demos and samples

2.5 Likely human-written View on GitHub
2.5
Adjusted Score
2.5
Raw Score
100%
Time Factor
2026-04-26
Last Push
14,614
Stars
JavaScript
Language
23,673
Lines of Code
233
Files
57
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 57

Pattern Findings

57 matches across 2 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers54 hits · 56 pts
SeverityFileLineSnippet
LOWtest/steps.js25function waitAllVideosHaveEnoughData(driver) {
LOWsrc/js/third_party/webgl_teapot/webgl-debug.js466function makeLostContextSimulatingCanvas(canvas) {
LOWsrc/js/third_party/webgl_teapot/webgl-debug.js638 function makeLostContextFunctionWrapper(ctx, functionName) {
LOWsrc/js/third_party/webgl_teapot/webgl-debug.js685 function makeLostContextSimulatingContext(ctx) {
LOWsrc/content/capture/video-contenthint/js/main.js46function setVideoTrackContentHints(stream, hint) {
LOWsrc/content/capture/video-contenthint/js/main.js105function onSetSessionDescriptionError(error) {
LOWsrc/content/capture/canvas-pc/js/main.js81function onCreateSessionDescriptionError(error) {
LOWsrc/content/capture/canvas-pc/js/main.js106function onSetSessionDescriptionError(error) {
LOWsrc/content/capture/video-pc/js/main.js98function onCreateSessionDescriptionError(error) {
LOWsrc/content/capture/video-pc/js/main.js124function onSetSessionDescriptionError(error) {
LOWsrc/content/datachannel/basic/js/main.js64function onCreateSessionDescriptionError(error) {
LOWsrc/content/datachannel/basic/js/main.js165function onReceiveChannelStateChange() {
LOWsrc/content/datachannel/channel/js/main.js159function onReceiveChannelMessageCallback(event) {
LOWsrc/content/datachannel/channel/js/main.js164function onSendChannelMessageCallback(event) {
LOWsrc/content/datachannel/channel/js/main.js184function onReceiveChannelStateChange() {
LOWsrc/content/datachannel/filetransfer/js/main.js236async function onReceiveChannelStateChange() {
LOW…content/insertable-streams/video-processing/js/main.js67function createProcessedMediaStreamTrack(sourceTrack, transform, signal) {
LOW…content/insertable-streams/video-processing/js/main.js145 function updatePipelineSourceIfSet() {
LOW…content/insertable-streams/video-processing/js/main.js191 function updatePipelineSourceVisibility() {
LOW…ent/insertable-streams/video-processing/js/pipeline.js24function createProcessedMediaStream(sourceStream, transform, signal) {
LOW…c/content/insertable-streams/video-analyzer/js/main.js126function onCreateSessionDescriptionError(error) {
LOW…c/content/insertable-streams/video-analyzer/js/main.js165function onSetSessionDescriptionError(error) {
LOWsrc/content/peerconnection/pc1/js/main.js110function onCreateSessionDescriptionError(error) {
LOWsrc/content/peerconnection/pc1/js/main.js152function onSetSessionDescriptionError(error) {
LOWsrc/content/peerconnection/bandwidth/js/main.js90function onCreateSessionDescriptionError(error) {
LOWsrc/content/peerconnection/bandwidth/js/main.js195function onSetSessionDescriptionError(error) {
LOWsrc/content/peerconnection/bandwidth/js/main.js249function updateBandwidthRestriction(sdp, bandwidth) {
LOWsrc/content/peerconnection/bandwidth/js/main.js264function removeBandwidthRestriction(sdp) {
LOWsrc/content/peerconnection/upgrade/js/main.js110function onCreateSessionDescriptionError(error) {
LOWsrc/content/peerconnection/upgrade/js/main.js135function onSetSessionDescriptionError(error) {
LOWsrc/content/peerconnection/constraints/js/main.js140function displayGetUserMediaConstraints() {
LOWsrc/content/peerconnection/change-codecs/js/main.js118function onCreateSessionDescriptionError(error) {
LOWsrc/content/peerconnection/change-codecs/js/main.js157function onSetSessionDescriptionError(error) {
LOW…c/content/peerconnection/per-frame-callback/js/main.js129function onCreateSessionDescriptionError(error) {
LOW…c/content/peerconnection/per-frame-callback/js/main.js216function onSetSessionDescriptionError(error) {
LOWsrc/content/peerconnection/pr-answer/js/main.js79function onCreateSessionDescriptionError(error) {
LOWsrc/content/peerconnection/pr-answer/js/main.js89function onSetLocalDescriptionError(error) {
LOWsrc/content/peerconnection/pr-answer/js/main.js94function onSetLocalDescriptionSuccess() {
LOWsrc/content/peerconnection/restart-ice/js/main.js133function onCreateSessionDescriptionError(error) {
LOWsrc/content/peerconnection/restart-ice/js/main.js158function onSetSessionDescriptionError(error) {
LOWsrc/content/peerconnection/audio/js/main.js123function onCreateSessionDescriptionError(error) {
LOWsrc/content/peerconnection/audio/js/main.js240function onSetSessionDescriptionError(error) {
LOWsrc/content/peerconnection/trickle-ice/js/main.js47function writeServersToLocalStorage() {
LOWsrc/content/peerconnection/trickle-ice/js/main.js53function readServersFromLocalStorage() {
LOWsrc/content/peerconnection/states/js/main.js101function onCreateSessionDescriptionError(error) {
LOWsrc/content/peerconnection/munge-sdp/js/main.js104function onSetSessionDescriptionSuccess() {
LOWsrc/content/peerconnection/munge-sdp/js/main.js108function onSetSessionDescriptionError(error) {
LOWsrc/content/peerconnection/munge-sdp/js/main.js122function onCreateSessionDescriptionError(error) {
LOWsrc/content/peerconnection/munge-sdp/js/main.js311function onReceiveChannelStateChange() {
LOWsrc/content/peerconnection/webaudio-output/js/main.js113function onCreateSessionDescriptionError(error) {
LOWsrc/content/peerconnection/webaudio-output/js/main.js138function onSetSessionDescriptionError(error) {
LOWsrc/content/extensions/multipleroutes/src/options.js70function browserSupportsIPHandlingPolicy() {
LOWsrc/content/extensions/svc/js/main.js230function onCreateSessionDescriptionError(error) {
LOWsrc/content/extensions/svc/js/main.js272function onSetSessionDescriptionError(error) {
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippet
LOWsrc/js/videopipe.js1/*
LOW…insertable-streams/endtoend-encryption/js/videopipe.js1/*
LOWsrc/content/peerconnection/trickle-ice/js/main.js201 const types = candidates.map((cand) => cand.type);