Repository Analysis

coturn/coturn

coturn TURN server project

2.2 Likely human-written View on GitHub
2.2
Adjusted Score
2.2
Raw Score
100%
Time Factor
2026-05-26
Last Push
14,053
Stars
C
Language
72,313
Lines of Code
252
Files
143
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 5LOW 138

Pattern Findings

143 matches across 4 categories. Click a row to expand file-level details.

Over-Commented Block136 hits · 136 pts
SeverityFileLineSnippet
LOWCMakeLists.txt1##
LOWCMakeLists.txt21#
LOWCLAUDE.md41cd examples
LOW…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh1#!/usr/bin/env sh
LOW…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh21#/
LOWtests/test_sqlite_dbd.c21 */
LOWexamples/run_tests.sh61 $BINDIR/turnutils_peer -L 127.0.0.1 -L ::1 -L 0.0.0.0 > /dev/null &
LOWexamples/scripts/loadbalance/slave_relay_2.sh1#!/bin/sh
LOWexamples/scripts/loadbalance/tcp_c2c_tcp_relay.sh1#!/bin/sh
LOWexamples/scripts/loadbalance/slave_relay_1.sh1#!/bin/sh
LOWexamples/scripts/loadbalance/master_relay.sh1#!/bin/sh
LOWexamples/scripts/loadbalance/udp_c2c.sh1#!/bin/sh
LOW…scripts/longtermsecuredb/secure_relay_with_db_mongo.sh1#!/bin/sh
LOW…pts/longtermsecuredb/secure_relay_with_db_mysql_ssl.sh1#!/bin/sh
LOW…/scripts/longtermsecuredb/secure_relay_with_db_psql.sh1#!/bin/sh
LOW…scripts/longtermsecuredb/secure_relay_with_db_redis.sh1#!/bin/sh
LOW…scripts/longtermsecuredb/secure_relay_with_db_mysql.sh1#!/bin/sh
LOW…cripts/longtermsecuredb/secure_relay_with_db_sqlite.sh1#!/bin/sh
LOWexamples/scripts/basic/relay.sh1#!/bin/sh
LOWexamples/scripts/basic/tcp_client.sh1#!/bin/sh
LOWexamples/scripts/basic/tcp_client_c2c_tcp_relay.sh1#!/bin/sh
LOWexamples/scripts/basic/udp_client.sh1#!/bin/sh
LOWexamples/scripts/basic/udp_c2c_client.sh1#!/bin/sh
LOW…s/scripts/restapi/secure_relay_secret_with_db_redis.sh1#!/bin/sh
LOW…es/scripts/restapi/secure_relay_secret_with_db_psql.sh1#!/bin/sh
LOW…s/scripts/restapi/secure_relay_secret_with_db_mysql.sh1#!/bin/sh
LOW…mples/scripts/restapi/secure_udp_client_with_secret.sh1#!/bin/sh
LOW…s/scripts/restapi/secure_relay_secret_with_db_mongo.sh1#!/bin/sh
LOWexamples/scripts/restapi/secure_relay_secret.sh1#!/bin/sh
LOW…/scripts/restapi/secure_relay_secret_with_db_sqlite.sh1#!/bin/sh
LOWexamples/scripts/mobile/mobile_relay.sh1#!/bin/sh
LOWexamples/scripts/mobile/mobile_dtls_client.sh1#!/bin/sh
LOWexamples/scripts/mobile/mobile_udp_client.sh1#!/bin/sh
LOW…ples/scripts/mobile/mobile_tls_client_c2c_tcp_relay.sh1#!/bin/sh
LOWexamples/scripts/mobile/mobile_tcp_client.sh1#!/bin/sh
LOW…mples/scripts/longtermsecure/secure_tls_client_cert.sh1#!/bin/sh
LOWexamples/scripts/longtermsecure/secure_relay.sh1#!/bin/sh
LOWexamples/scripts/longtermsecure/secure_relay_cert.sh1#!/bin/sh
LOW…ples/scripts/longtermsecure/secure_dtls_client_cert.sh1#!/bin/sh
LOWexamples/scripts/longtermsecure/secure_udp_c2c.sh1#!/bin/sh
LOWexamples/scripts/longtermsecure/secure_tcp_client.sh1#!/bin/sh
LOW…ipts/longtermsecure/secure_tcp_client_c2c_tcp_relay.sh1#!/bin/sh
LOWexamples/scripts/longtermsecure/secure_udp_client.sh1#!/bin/sh
LOWexamples/scripts/longtermsecure/secure_sctp_client.sh1#!/bin/sh
LOW…ipts/longtermsecure/secure_tls_client_c2c_tcp_relay.sh1#!/bin/sh
LOWexamples/scripts/longtermsecure/secure_dtls_client.sh1#!/bin/sh
LOWexamples/scripts/longtermsecure/secure_tls_client.sh1#!/bin/sh
LOWexamples/scripts/selfloadbalance/secure_relay.sh1#!/bin/sh
LOWexamples/scripts/selfloadbalance/secure_relay.sh21# 4) use fingerprints (-f)
LOWscripts/install_coturn_on_aws_ec2.sh1#!/bin/bash
LOWsrc/ns_turn_defs.h41#define TURN_SERVER_BUILD_INFO ""
LOWsrc/ns_turn_defs.h61#include <strings.h>
LOWsrc/ns_turn_defs.h181#define DEFAULT_STUN_PORT (3478)
LOWsrc/ns_turn_defs.h221#endif
LOWsrc/ns_turn_defs.h241#if !defined(TURN_NO_SCTP)
LOWsrc/CMakeLists.txt1##
LOWsrc/CMakeLists.txt21#
LOWsrc/server/ns_turn_ioalib.h61#define strtok_r strtok_s
LOWsrc/server/CMakeLists.txt1##
LOWsrc/server/CMakeLists.txt21#
76 more matches not shown…
Decorative Section Separators4 hits · 14 pts
SeverityFileLineSnippet
MEDIUM…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh35# ===========
MEDIUM…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh48# ==========================
MEDIUM…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh58# ====================
MEDIUM…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh77# ================================
Redundant / Tautological Comments2 hits · 4 pts
SeverityFileLineSnippet
LOW…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh86 # Check if the input looks like an IPv4 address.
LOW…cker/coturn/rootfs/usr/local/bin/detect-external-ip.sh96 # Check if the input looks like an IPv6 address.
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMexamples/scripts/restapi/shared_secret_maintainer.pl69# Alternatively, you can use this link for compute-on-demand: