Repository Analysis

cloudflare/quiche

🥧 Savoury implementation of the QUIC transport protocol and HTTP/3

4.1 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of cloudflare/quiche, a Rust project with 11,724 GitHub stars. SynthScan v2.0 examined 147,713 lines of code across 284 source files, recording 663 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 4.1 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

4.1
Adjusted Score
4.1
Raw Score
100%
Time Factor
2026-07-30
Last Push
11.7K
Stars
Rust
Language
147.7K
Lines of Code
284
Files
663
Pattern Hits
2026-08-02
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 0MEDIUM 4LOW 659

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 663 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block642 hits · 572 pts
SeverityFileLineSnippetContext
LOWCross.toml1# Use `cross`'s `edge` images instead of the default `latest` (pinned toCOMMENT
LOWqlog/tests/writer_roundtrip.rs1// Copyright (C) 2026, Cloudflare, Inc.COMMENT
LOWqlog/tests/writer_roundtrip.rs21// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOWqlog/tests/writer_roundtrip.rs201 // If `ZstdFinishOnDrop::drop` failed to write the trailer,COMMENT
LOWqlog/src/lib.rs1// Copyright (C) 2019, Cloudflare, Inc.COMMENT
LOWqlog/src/lib.rs21// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOWqlog/src/lib.rs41//! https://datatracker.ietf.org/doc/html/draft-ietf-quic-qlog-h3-events.htmlCOMMENT
LOWqlog/src/lib.rs61//! data in the [`Event`] array.COMMENT
LOWqlog/src/lib.rs81//!COMMENT
LOWqlog/src/lib.rs101//! # );COMMENT
LOWqlog/src/lib.rs121//! let raw = qlog::events::RawInfo {COMMENT
LOWqlog/src/lib.rs141//! ```COMMENT
LOWqlog/src/lib.rs161//! # );COMMENT
LOWqlog/src/lib.rs181//! "name": "quic:packet_sent",COMMENT
LOWqlog/src/lib.rs201//! }COMMENT
LOWqlog/src/lib.rs221//! ### Creating a TraceSeqCOMMENT
LOWqlog/src/lib.rs241//!COMMENT
LOWqlog/src/lib.rs261//! # let mut file = std::fs::File::create("foo.sqlog").unwrap();COMMENT
LOWqlog/src/lib.rs281//!COMMENT
LOWqlog/src/lib.rs301//! # qlog::streamer::EventTimePrecision::NanoSeconds,COMMENT
LOWqlog/src/lib.rs321//! length: None,COMMENT
LOWqlog/src/lib.rs341//!COMMENT
LOWqlog/src/lib.rs361//! # );COMMENT
LOWqlog/src/lib.rs381//! [`TraceSeq`]: struct.TraceSeq.htmlCOMMENT
LOWqlog/src/streamer.rs1// Copyright (C) 2021, Cloudflare, Inc.COMMENT
LOWqlog/src/streamer.rs21// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOWqlog/src/writer.rs1// Copyright (C) 2026, Cloudflare, Inc.COMMENT
LOWqlog/src/writer.rs21// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOWqlog/src/writer.rs41//!COMMENT
LOWqlog/src/writer.rs61use crate::SQLOG_ZST_EXT;COMMENT
LOWqlog/src/writer.rs161/// [`make_qlog_writer`].COMMENT
LOWqlog/src/reader.rs1// Copyright (C) 2023, Cloudflare, Inc.COMMENT
LOWqlog/src/reader.rs81 /// * `*.sqlog.zst` -> zstd via `zstd` (requires the `zstd` feature).COMMENT
LOWqlog/src/testing/event_tests.rs1// Copyright (C) 2026, Cloudflare, Inc.COMMENT
LOWqlog/src/testing/trace_tests.rs1// Copyright (C) 2026, Cloudflare, Inc.COMMENT
LOWqlog/src/testing/mod.rs1// Copyright (C) 2026, Cloudflare, Inc.COMMENT
LOWqlog/src/events/http3.rs1// Copyright (C) 2021, Cloudflare, Inc.COMMENT
LOWqlog/src/events/quic.rs1// Copyright (C) 2021, Cloudflare, Inc.COMMENT
LOWqlog/src/events/mod.rs1// Copyright (C) 2021, Cloudflare, Inc.COMMENT
LOWqlog/src/events/mod.rs61pub struct Event {COMMENT
LOWtools/http3_test/tests/httpbin_tests.rs1// Copyright (C) 2019, Cloudflare, Inc.COMMENT
LOWtools/http3_test/src/lib.rs1// Copyright (C) 2019, Cloudflare, Inc.COMMENT
LOWtools/http3_test/src/lib.rs21// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOWtools/http3_test/src/lib.rs41//!COMMENT
LOWtools/http3_test/src/lib.rs61//! assert_eq!(status.value(), "200");COMMENT
LOWtools/http3_test/src/lib.rs81//! http3_test::assert_headers!(reqs[0]);COMMENT
LOWtools/http3_test/src/lib.rs101//!COMMENT
LOWtools/http3_test/src/lib.rs121//! # };COMMENT
LOWtools/http3_test/src/lib.rs141//!COMMENT
LOWtools/http3_test/src/lib.rs161//! test.add_response_headers(stream_id, &list);COMMENT
LOWtools/http3_test/src/lib.rs181//! in failure, so it is important to store response data and track the numberCOMMENT
LOWtools/http3_test/src/lib.rs201//! match http3_conn.poll(&mut conn) {COMMENT
LOWtools/http3_test/src/runner.rs1// Copyright (C) 2019, Cloudflare, Inc.COMMENT
LOWbuffer-pool/src/raw_pool_buf_io.rs1// Copyright (C) 2025, Cloudflare, Inc.COMMENT
LOWbuffer-pool/src/lib.rs1// Copyright (C) 2025, Cloudflare, Inc.COMMENT
LOWbuffer-pool/src/buffer.rs1// Copyright (C) 2025, Cloudflare, Inc.COMMENT
LOWbuffer-pool/src/buffer.rs21// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORCOMMENT
LOWdatagram-socket/src/shutdown.rs1// Copyright (C) 2025, Cloudflare, Inc.COMMENT
LOWdatagram-socket/src/shutdown.rs41 /// the I/O connection has completely shut down.COMMENT
LOWdatagram-socket/src/shutdown.rs61 /// successfully. This typically means that the I/O object is no longerCOMMENT
582 more matches not shown…
TODO Padding9 hits · 14 pts
SeverityFileLineSnippetContext
LOWquiche/src/lib.rs8535 // TODO: implement stateless retryCOMMENT
LOWquiche/src/ffi.rs2174 // TODO: implement Instant conversion for systems that don't use timespec.COMMENT
LOWquiche/src/h3/stream.rs292 // TODO: implement push ID.COMMENT
LOWquiche/src/h3/mod.rs3239 // TODO: implement more checks and PUSH_PROMISE eventCOMMENT
LOWquiche/src/h3/mod.rs3243 // TODO: implement CANCEL_PUSH frameCOMMENT
LOWquiche/src/h3/qpack/decoder.rs167 // TODO: implement dynamic tableCOMMENT
LOWquiche/src/h3/qpack/decoder.rs186 // TODO: implement dynamic tableCOMMENT
LOWquiche/src/h3/qpack/decoder.rs230 // TODO: implement dynamic tableCOMMENT
LOWquiche/src/h3/qpack/decoder.rs257 // TODO: implement dynamic tableCOMMENT
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippetContext
LOWdatagram-socket/src/shutdown.rs43 /// # Return valueCOMMENT
LOWdatagram-socket/src/datagram.rs134 /// # Return valueCOMMENT
LOWdatagram-socket/src/datagram.rs158 /// # Return valueCOMMENT
LOWdatagram-socket/src/datagram.rs180 /// # Return valueCOMMENT
LOWdatagram-socket/src/datagram.rs288 /// # Return valueCOMMENT
LOWdatagram-socket/src/datagram.rs309 /// # Return valueCOMMENT
LOWdatagram-socket/src/datagram.rs336 /// # Return valueCOMMENT
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMqlog/src/lib.rs66//! ### Creating a TraceCOMMENT
MEDIUMqlog/src/lib.rs221//! ### Creating a TraceSeqCOMMENT
MEDIUMtools/http3_test/src/lib.rs34//! ## Creating a testCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMquiche/src/packet.rs995/// A robust mitigation should skip packets randomly to ensure that an attackerCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWnetlog/src/lib.rs42//! # Example usageCOMMENT