A high-performance non-blocking I/O networking framework focusing on RPC scenarios.
This report presents the forensic synthetic code analysis of cloudwego/netpoll, a Go project with 4,592 GitHub stars. SynthScan v2.0 examined 13,165 lines of code across 87 source files, recording 85 pattern matches distributed across 2 syntactic categories. The overall adjusted score of 6.5 places this repository in the Low AI signal 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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
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 85 distinct pattern matches across 2 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 | netpoll_options.go | 1 | // Copyright 2024 CloudWeGo Authors | COMMENT |
| LOW | net_polldesc.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | poll_manager_test.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | net_listener.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | net_listener_test.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | sys_epoll_linux_other.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | net_polldesc_test.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | sys_keepalive_darwin.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | connection_errors_test.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | sys_epoll_linux_arm64.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | poll_default.go | 1 | // Copyright 2023 CloudWeGo Authors | COMMENT |
| LOW | sys_sendmsg_bsd.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | netpoll_unix_test.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | poll_default_linux.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | eventloop.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | eventloop.go | 61 | // so Reader() or Writer() cannot be used here, but may be supported in the future. | COMMENT |
| LOW | eventloop.go | 81 | // OnDisconnect is called once connection is going to be closed. | COMMENT |
| LOW | eventloop.go | 101 | // The underlying logic is similar to: | COMMENT |
| LOW | connection_reactor.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | fd_operator_cache.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | poll_manager.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | net_dialer_test.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | connection_test.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | sys_exec_test.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | connection_errors.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | nocopy_readwriter_test.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | poll_test.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | sys_keepalive_unix.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | connection_onevent.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | net_dialer.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | nocopy_linkbuffer_race.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | poll_default_linux_test.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | net_sock.go | 41 | func internetSocket(ctx context.Context, net string, laddr, raddr sockaddr, sotype, proto int, mode string) (conn *netFD | COMMENT |
| LOW | net_sock.go | 61 | // IPV6_V6ONLY=0, wildcard address listen. The dual stack | COMMENT |
| LOW | sys_sendmsg_linux.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | sys_sendmsg_linux.go | 21 | COMMENT | |
| LOW | sys_keepalive_openbsd.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | poll_default_bsd_norace.go | 1 | // Copyright 2023 CloudWeGo Authors | COMMENT |
| LOW | net_io.go | 1 | // Copyright 2023 CloudWeGo Authors | COMMENT |
| LOW | sys_exec.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | net_tcpsock.go | 81 | copy(sa.Addr[:], ip4) | COMMENT |
| LOW | net_tcpsock.go | 101 | return nil, &net.AddrError{Err: "non-IPv6 address", Addr: ip.String()} | COMMENT |
| LOW | net_tcpsock.go | 181 | // connect to a simultaneous Dial("tcp", addr2, addr1) run on the machine | COMMENT |
| LOW | nocopy_readwriter.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | poll_default_bsd_race.go | 1 | // Copyright 2023 CloudWeGo Authors | COMMENT |
| LOW | poll_default_linux_race.go | 1 | // Copyright 2023 CloudWeGo Authors | COMMENT |
| LOW | connection.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | connection.go | 21 | COMMENT | |
| LOW | connection.go | 41 | // IsActive checks whether the connection is active or not. | COMMENT |
| LOW | connection_lock.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | nocopy_linkbuffer_test.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | sys_epoll_linux_amd64.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | poll_default_bsd.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | net_netfd_conn.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | poll_default_linux_norace.go | 1 | // Copyright 2023 CloudWeGo Authors | COMMENT |
| LOW | netpoll_windows.go | 1 | // Copyright 2024 CloudWeGo Authors | COMMENT |
| LOW | netpoll_unix.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| LOW | netpoll_unix.go | 61 | if config.LoadBalance >= 0 { | COMMENT |
| LOW | netpoll_unix.go | 101 | // SetRunner set the runner function for every OnRequest/OnConnect callback | COMMENT |
| LOW | connection_impl.go | 1 | // Copyright 2022 CloudWeGo Authors | COMMENT |
| 24 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.md | 32 | excellent [Performance](#performance), and is more suitable for microservice architecture. | CODE |