A native gRPC client & server implementation with async/await support.
This report presents the forensic synthetic code analysis of grpc/grpc-rust, a Rust project with 12,423 GitHub stars. SynthScan v2.0 examined 112,064 lines of code across 496 source files, recording 509 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 4.2 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).
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.
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.
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.
The scanner identified 509 distinct pattern matches across 8 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CONTRIBUTING.md | 161 | /// use std::time::Duration; | COMMENT |
| LOW | grpc-protobuf/src/lib.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc-protobuf/src/status.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc-protobuf/src/status.rs | 41 | /// from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments | COMMENT |
| LOW | grpc-protobuf/src/status.rs | 61 | AlreadyExists = 6, | COMMENT |
| LOW | grpc-protobuf/src/status.rs | 81 | /// (a) Use `UNAVAILABLE` if the client can retry just the failing call. | COMMENT |
| LOW | grpc-protobuf/src/status.rs | 101 | /// be fixed if the system state changes. For example, a 32-bit file | COMMENT |
| LOW | grpc-protobuf/src/client/client_streaming.rs | 141 | // HRTBs.) | COMMENT |
| LOW | …gen-rust-grpc/src/cpp_source/src/grpc_rust_generator.h | 1 | // Copyright 2025 gRPC authors. | COMMENT |
| LOW | …gen-rust-grpc/src/cpp_source/src/grpc_rust_generator.h | 101 | // | COMMENT |
| LOW | tonic-build/src/manual.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | tonic-build/src/manual.rs | 41 | //! .input_type("crate::HelloRequest") | COMMENT |
| LOW | tonic-build/src/manual.rs | 61 | path::{Path, PathBuf}, | COMMENT |
| LOW | tonic-build/src/manual.rs | 261 | /// This builder can be used to manually define gRPC method, which can be added to a gRPC service, | COMMENT |
| LOW | tonic-build/src/manual.rs | 301 | impl MethodBuilder { | COMMENT |
| LOW | tonic-build/src/lib.rs | 61 | COMMENT | |
| LOW | tonic-build/src/lib.rs | 141 | pub fn push_mod(&mut self, pattern: impl Into<String>, attr: impl Into<String>) { | COMMENT |
| LOW | grpc-xds/build.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/send_future.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/send_future.rs | 41 | /// analysis incorrectly believes it is held across the await. | COMMENT |
| LOW | grpc/src/send_future.rs | 61 | /// | COMMENT |
| LOW | grpc/src/lib.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/macros.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/macros.rs | 41 | /// are unmodified.** By default: | COMMENT |
| LOW | grpc/src/macros.rs | 61 | /// } | COMMENT |
| LOW | grpc/src/macros.rs | 81 | /// // Include message code. | COMMENT |
| LOW | grpc/src/macros.rs | 121 | /// | COMMENT |
| LOW | grpc/src/core/mod.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/codec/compression.rs | 41 | /// | COMMENT |
| LOW | grpc/src/codec/compression/gzip.rs | 121 | } | COMMENT |
| LOW | grpc/src/server/mod.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/server/mod.rs | 61 | COMMENT | |
| LOW | grpc/src/server/mod.rs | 201 | pub async fn serve(&self, listener: impl Listener) { | COMMENT |
| LOW | grpc/src/server/mod.rs | 301 | } | COMMENT |
| LOW | grpc/src/server/mod.rs | 421 | pub final_msg: bool, | COMMENT |
| LOW | grpc/src/rt/mod.rs | 61 | COMMENT | |
| LOW | grpc/src/status/status_code.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/status/status_code.rs | 41 | COMMENT | |
| LOW | grpc/src/status/status_code.rs | 61 | /// even if the operation has completed successfully. For example, a | COMMENT |
| LOW | grpc/src/status/status_code.rs | 81 | /// instead for those errors). This error code does not imply the | COMMENT |
| LOW | grpc/src/status/status_code.rs | 101 | /// fails because the directory is non-empty, `FAILED_PRECONDITION` | COMMENT |
| LOW | grpc/src/status/status_code.rs | 121 | /// There is a fair bit of overlap between `FAILED_PRECONDITION` and | COMMENT |
| LOW | grpc/src/attributes/linked_list.rs | 41 | /// the list, while preserving the old version. It uses structural sharing to | COMMENT |
| LOW | grpc/src/attributes/mod.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/attributes/mod.rs | 101 | } | COMMENT |
| LOW | grpc/src/client/channel.rs | 101 | /// credentials are required to build a channel. | COMMENT |
| LOW | grpc/src/client/channel.rs | 121 | ///# Example | COMMENT |
| LOW | grpc/src/client/channel.rs | 181 | COMMENT | |
| LOW | grpc/src/client/mod.rs | 21 | * IN THE SOFTWARE. | COMMENT |
| LOW | grpc/src/client/mod.rs | 81 | /// [`Channel::get_state`] is called with `connect=true`, the channel will | COMMENT |
| LOW | grpc/src/client/mod.rs | 141 | COMMENT | |
| LOW | grpc/src/client/mod.rs | 301 | pub fn with_disable_compression(mut self, disable_compression: bool) -> Self { | COMMENT |
| LOW | grpc/src/client/mod.rs | 321 | /// Indicates a message on the stream. | COMMENT |
| LOW | grpc/src/client/interceptor.rs | 201 | /// | COMMENT |
| LOW | grpc/src/client/interceptor.rs | 241 | /// [`Intercept<InvokeOnce>`] or [`InterceptOnce<InvokeOnce>`] interceptors. | COMMENT |
| LOW | grpc/src/client/interceptor.rs | 281 | COMMENT | |
| LOW | grpc/src/client/name_resolution/mod.rs | 61 | pub(crate) mod unix_abstract; | COMMENT |
| LOW | grpc/src/client/name_resolution/mod.rs | 201 | } | COMMENT |
| LOW | grpc/src/client/name_resolution/mod.rs | 221 | /// request the ability to perform operations on the ChannelController. | COMMENT |
| LOW | grpc/src/client/name_resolution/mod.rs | 241 | /// This is useful for polling resolvers to decide when to re-resolve. | COMMENT |
| 439 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/data/tls/create.sh | 3 | # Create the server CA certs. | COMMENT |
| MEDIUM | examples/data/tls/create.sh | 15 | # Create the client CA certs. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/check_license.py | 142 | except Exception as e: | CODE |
| MEDIUM | tools/check_license.py | 168 | print(f"Error running git ls-files: {e}", file=sys.stderr) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | grpc/src/client/load_balancing/mod.rs | 305 | // TODO: implement me. | COMMENT |
| LOW | grpc/src/client/load_balancing/mod.rs | 309 | // TODO: implement me. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tonic/src/codec/decode.rs | 336 | /// # Return value | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/check_license.py | 10 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tonic/Cargo.toml | 55 | # harness = false | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tonic-xds/src/xds/resource/san_matcher.rs | 301 | matcher: Some(exact("user@example.com")), | CODE |