Repository Analysis

coredns/coredns

CoreDNS is a DNS server that chains plugins

0.3 Likely human-written View on GitHub
0.3
Adjusted Score
0.3
Raw Score
100%
Time Factor
2026-05-29
Last Push
14,083
Stars
Go
Language
100,608
Lines of Code
854
Files
27
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 1LOW 26

Pattern Findings

27 matches across 3 categories. Click a row to expand file-level details.

Over-Commented Block25 hits · 25 pts
SeverityFileLineSnippet
LOWplugin.cfg1# Directives are registered in the order they should be executed.
LOWcore/dnsserver/config.go61 TLSConfig *tls.Config
LOWcore/dnsserver/config.go81 // datagrams from the same remote address that carry no PROXY Protocol header
LOWcore/dnsserver/server_quic.go21
LOWcore/dnsserver/server_quic.go341 // implementation.
LOWtest/cache_test.go161 t.Fatalf("Expected no OPT RR, but got: %s", resp.Extra[0])
LOWtest/view_test.go161 t.Error(err)
LOWplugin/plugin.go21 // Handler is like dns.Handler except ServeDNS may return an rcode
LOWplugin/plugin.go41 // so it can be logged by designated error-handling plugin.
LOWplugin/test/scrape.go1// Adapted by Miek Gieben for CoreDNS testing.
LOWplugin/file/lookup.go61 )
LOWplugin/file/xfr_test.go21 for _, r := range records {
LOWplugin/file/tree/tree.go1// Copyright ©2012 The bíogo Authors. All rights reserved.
LOWplugin/kubernetes/parse.go21 service string
LOWplugin/kubernetes/object/object.go1// Package object holds functions that convert the objects from the k8s API in
LOWplugin/metadata/provider.go1// Package metadata provides an API that allows plugins to add metadata to the context.
LOWplugin/metadata/provider.go21// if cached != "" {
LOWplugin/pkg/proxyproto/proxyproto.go21
LOWplugin/pkg/proxyproto/proxyproto.go41type PacketConn struct {
LOWplugin/pkg/tls/tls.go21 tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,
LOWplugin/pkg/tls/tls.go41// - creates a Config with a cert, using system CAs to validate the other end
LOWplugin/pkg/up/up.go1// Package up is used to run a function for some duration. If a new function is added while a previous run is
LOWplugin/pkg/fall/fall.go1// Package fall handles the fallthrough logic used in plugins that support it. Be careful when including this
LOWplugin/route53/route53.go161// "If the domain name includes any characters other than a to z, 0 to 9, -
LOWplugin/deprecated/setup.go1// Package deprecated is used when we deprecated plugin. In plugin.cfg just go from
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMplugin/etcd/setup.go168 // Use Go's standard time.ParseDuration for robust parsing
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippet
LOWplugin/dnssec/black_lies.go19// This inturn makes every NXDOMAIN answer a NODATA one, don't forget to flip