Files Coverage
api/api.go 100.00%
authcache/authserver.go 94.29%
authcache/ns_cache.go 80.95%
cache/cache.go 100.00%
cache/hash.go 100.00%
cache/shard.go 100.00%
config/config.go 55.26%
dnsutil/dnsutil.go 80.45%
dnsutil/ttl.go 100.00%
middleware/accesslist/accesslist.go 60.00%
middleware/accesslog/accesslog.go 40.63%
middleware/as112/as112.go 97.30%
middleware/blocklist/blocklist.go 100.00%
middleware/blocklist/updater.go 66.67%
middleware/cache/cache.go 70.35%
middleware/cache/item.go 100.00%
middleware/chain.go 100.00%
middleware/chaos/chaos.go 93.48%
middleware/edns/edns.go 86.21%
middleware/failover/failover.go 100.00%
middleware/hostsfile/hostsfile.go 85.06%
middleware/metrics/metrics.go 96.30%
middleware/middleware.go 75.86%
middleware/ratelimit/ratelimit.go 90.32%
middleware/recovery/recovery.go 100.00%
middleware/resolver/client.go 68.57%
middleware/resolver/handler.go 44.86%
middleware/resolver/nsec3.go 94.12%
middleware/resolver/resolver.go 63.52%
middleware/resolver/singleinflight.go 78.26%
middleware/resolver/utils.go 65.43%
middleware/response_writer.go 88.24%
mock/writer.go 91.43%
response/typify.go 96.30%
sdns.go 50.00%
server/doh/doh.go 72.63%
server/doh/msg.go 100.00%
server/doh/qtype.go 100.00%
server/server.go 96.92%
waitgroup/waitgroup.go 80.65%
Project Totals (40 files) 75.71%
Loading