Cross-platform asynchronous I/O
This report presents the forensic synthetic code analysis of libuv/libuv, a C project with 26,996 GitHub stars. SynthScan v2.0 examined 116,464 lines of code across 390 source files, recording 399 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 2.5 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).
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 399 distinct pattern matches across 4 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 | autogen.sh | 1 | #!/bin/sh | COMMENT |
| LOW | test/run-tests.c | 21 | COMMENT | |
| LOW | test/task.h | 21 | COMMENT | |
| LOW | test/task.h | 41 | # pragma clang diagnostic ignored "-Wc99-extensions" | COMMENT |
| LOW | test/task.h | 61 | COMMENT | |
| LOW | test/task.h | 221 | #define ASSERT_UINT64_LT(a, b) ASSERT_BASE(a, <, b, uint64_t, PRIu64) | COMMENT |
| LOW | test/task.h | 421 | #if defined(__MSYS__) | COMMENT |
| LOW | test/runner-win.c | 21 | COMMENT | |
| LOW | test/test-pipe-getsockname.c | 21 | COMMENT | |
| LOW | test/runner-unix.c | 21 | COMMENT | |
| LOW | test/test-tty-escape-sequence-processing.c | 21 | COMMENT | |
| LOW | test/test-tty-escape-sequence-processing.c | 41 | #define FOREGROUND_YELLOW (FOREGROUND_RED | FOREGROUND_GREEN) | COMMENT |
| LOW | test/test-tty-escape-sequence-processing.c | 61 | #define F_YELLOW 33 | COMMENT |
| LOW | test/test-fs.c | 21 | COMMENT | |
| LOW | test/test-fs.c | 41 | # ifndef REPARSE_DATA_BUFFER_HEADER_SIZE | COMMENT |
| LOW | test/test-spawn.c | 21 | */ | COMMENT |
| LOW | test/test-poll.c | 21 | COMMENT | |
| LOW | test/test-tcp-writealot.c | 21 | COMMENT | |
| LOW | test/test-tty.c | 21 | COMMENT | |
| LOW | test/test-sizeof.c | 21 | COMMENT | |
| LOW | test/test-sizeof.c | 41 | # define SIZEOF_UV_POLL_T 160 | COMMENT |
| LOW | test/test-sizeof.c | 61 | # define SIZEOF_UV_BUF_T 16 | COMMENT |
| LOW | test/test-sizeof.c | 81 | # define SIZEOF_UV_SEM_T 16 | COMMENT |
| LOW | test/test-sizeof.c | 101 | # define SIZEOF_UV_IDLE_T 120 | COMMENT |
| LOW | test/test-sizeof.c | 121 | # define SIZEOF_UV_TIMESPEC_T 16 | COMMENT |
| LOW | test/test-sizeof.c | 141 | # define SIZEOF_UV_BARRIER_T 32 | COMMENT |
| LOW | test/test-sizeof.c | 161 | # define SIZEOF_UV_FS_POLL_T 52 | COMMENT |
| LOW | test/test-sizeof.c | 181 | # define SIZEOF_UV_RUSAGE_T 128 | COMMENT |
| LOW | test/test-sizeof.c | 201 | # define SIZEOF_UV_LOOP_T 452 | COMMENT |
| LOW | test/test-sizeof.c | 221 | # define SIZEOF_UV_CONNECT_T 48 | COMMENT |
| LOW | test/test-sizeof.c | 241 | # define SIZEOF_UV_GROUP_T 12 | COMMENT |
| LOW | test/test-sizeof.c | 261 | COMMENT | |
| LOW | test/test-sizeof.c | 281 | # define SIZEOF_UV_SHUTDOWN_T 80 | COMMENT |
| LOW | test/test-sizeof.c | 301 | # define SIZEOF_UV_DIRENT_T 16 | COMMENT |
| LOW | test/test-sizeof.c | 321 | # define SIZEOF_UV_HANDLE_T 48 | COMMENT |
| LOW | test/test-sizeof.c | 341 | # define SIZEOF_UV_FS_T 292 | COMMENT |
| LOW | test/test-sizeof.c | 361 | # define SIZEOF_UV_INTERFACE_ADDRESS_T 72 | COMMENT |
| LOW | test/test-sizeof.c | 381 | # define SIZEOF_UV_PIPE_T 264 | COMMENT |
| LOW | test/test-sizeof.c | 401 | # define SIZEOF_UV_RANDOM_T 144 | COMMENT |
| LOW | test/test-sizeof.c | 421 | # define SIZEOF_UV_MUTEX_T 48 | COMMENT |
| LOW | test/test-sizeof.c | 441 | # define SIZEOF_UV_PREPARE_T 120 | COMMENT |
| LOW | test/test-sizeof.c | 461 | # define SIZEOF_UV_STAT_T 160 | COMMENT |
| LOW | test/test-sizeof.c | 481 | # define SIZEOF_UV_ONCE_T 4 | COMMENT |
| LOW | test/test-sizeof.c | 501 | # define SIZEOF_UV_PROCESS_T 68 | COMMENT |
| LOW | test/test-sizeof.c | 521 | # define SIZEOF_UV_TIMEVAL_T 8 | COMMENT |
| LOW | test/test-sizeof.c | 541 | COMMENT | |
| LOW | test/test-sizeof.c | 561 | # define SIZEOF_UV_IDLE_T 120 | COMMENT |
| LOW | test/test-sizeof.c | 581 | # define SIZEOF_UV_TIMESPEC_T 16 | COMMENT |
| LOW | test/test-sizeof.c | 601 | # define SIZEOF_UV_BARRIER_T 8 | COMMENT |
| LOW | test/test-sizeof.c | 621 | # define SIZEOF_UV_POLL_T 168 | COMMENT |
| LOW | test/test-sizeof.c | 641 | # define SIZEOF_UV_BUF_T 16 | COMMENT |
| LOW | test/test-sizeof.c | 661 | # define SIZEOF_UV_REQ_T 32 | COMMENT |
| LOW | test/test-sizeof.c | 681 | # define SIZEOF_UV_UDP_SEND_T 216 | COMMENT |
| LOW | test/test-sizeof.c | 701 | # define SIZEOF_UV_CPU_INFO_T 48 | COMMENT |
| LOW | test/test-sizeof.c | 721 | # define SIZEOF_UV_UDP_T 424 | COMMENT |
| LOW | test/test-sizeof.c | 741 | # define SIZEOF_UV_GETADDRINFO_T 216 | COMMENT |
| LOW | test/test-sizeof.c | 761 | # define SIZEOF_UV_UTSNAME_T 1024 | COMMENT |
| LOW | test/test-sizeof.c | 781 | # define SIZEOF_UV_TIMER_T 96 | COMMENT |
| LOW | test/test-sizeof.c | 801 | # define SIZEOF_UV_LIB_T 8 | COMMENT |
| LOW | test/test-sizeof.c | 821 | # define SIZEOF_UV_SEM_T 4 | COMMENT |
| 336 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/src/conf.py | 6 | # This file is execfile()d with the current directory set to its | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/src/conf.py | 35 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/src/sphinx-plugins/manpage.py | 13 | CODE |