Repository Analysis

ventoy/Ventoy

A new bootable USB solution.

3.3 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ventoy/Ventoy, a C project with 78,005 GitHub stars. SynthScan v2.0 examined 401,640 lines of code across 1351 source files, recording 1264 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 3.3 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).

3.3
Adjusted Score
3.3
Raw Score
100%
Time Factor
2026-06-29
Last Push
78.0K
Stars
C
Language
401.6K
Lines of Code
1.4K
Files
1.3K
Pattern Hits
2026-07-14
Scan Date
0.01
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

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.

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 8HIGH 0MEDIUM 2LOW 1254

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 1264 distinct pattern matches across 10 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 Block1215 hits · 1152 pts
SeverityFileLineSnippetContext
LOWKBD/cfg/KBD_QWERTZ_SLOV_CROAT.cfg41COMMENT
LOWKBD/cfg/KBD_AZERTY.cfg61#minus (-), underscore (_), equal (=), parenleft [(], backspace (backspace), tab (Tab), bracketleft ([), braceleft ({), COMMENT
LOWKBD/cfg/KBD_ITALIANO.cfg41if [ "${quiet}" = "" ]; thenCOMMENT
LOWKBD/cfg/KBD_QWERTZ.cfg41#braceright (}), enter (carriage return), semicolon (;), colon (:), quote (') , doublequote ("), slash (/), backquote (`COMMENT
LOWKBD/cfg/KBD_VIETNAMESE.cfg41COMMENT
LOWKBD/cfg/KBD_PORTU_BRAZIL.cfg41#Use prefix A for Alt+, e.g. Aequal, Aq, Aslash, A0, etc. COMMENT
LOWKBD/cfg/KBD_DVORAK_USA.cfg101#braceright (}), enter (carriage return), semicolon (;), colon (:), quote (') , doublequote ("), slash (/), backquote (`COMMENT
LOWKBD/cfg/KBD_TURKISH_Q.cfg41fiCOMMENT
LOWKBD/cfg/KBD_LATIN_USA.cfg41setkey -eCOMMENT
LOWKBD/cfg/KBD_QWERTZ_HUN.cfg61fiCOMMENT
LOWKBD/cfg/KBD_QWERTY_UK.cfg21#key namesCOMMENT
LOWKBD/cfg/KBD_CZECH_QWERTZ.cfg61#braceright (}), enter (carriage return), semicolon (;), colon (:), quote (') , doublequote ("), slash (/), backquote (`COMMENT
LOWPlugson/www/static/AdminLTE/js/app.js41 navbarMenuHeight: "200px", //The height of the inner menuCOMMENT
LOWPlugson/www/static/AdminLTE/js/app.js61 //Enable Fast Click. Fastclick.js creates a moreCOMMENT
LOWPlugson/src/main_linux.c1#include <stdio.h>COMMENT
LOWPlugson/src/main_windows.c481COMMENT
LOWPlugson/src/Core/ventoy_json.h61 } \COMMENT
LOWPlugson/src/Core/ventoy_json.h281COMMENT
LOWPlugson/src/Core/ventoy_json.h321COMMENT
LOWPlugson/src/Core/ventoy_util_linux.c21#include <stdint.h>COMMENT
LOWPlugson/src/Core/ventoy_define.h21#define __VENTOY_DEFINE_H__COMMENT
LOWPlugson/src/Core/ventoy_define.h141COMMENT
LOWPlugson/src/Core/ventoy_disk_linux.c21#include <stdint.h>COMMENT
LOWPlugson/src/Core/ventoy_json.c21#include <stdio.h>COMMENT
LOWPlugson/src/Core/ventoy_utf.c21#include <stdlib.h>COMMENT
LOWPlugson/src/Core/ventoy_utf.c41// The codepoint that is used to replace invalid encodingsCOMMENT
LOWPlugson/src/Core/ventoy_utf.c61#define SURROGATE_CODEPOINT_BITS 10COMMENT
LOWPlugson/src/Core/ventoy_utf.c101#define UTF8_LEADING_BYTES_LEN 4COMMENT
LOWPlugson/src/Core/ventoy_disk.h81#define SCSI_DISK0_MAJOR 8COMMENT
LOWPlugson/src/Core/ventoy_disk.h101#define COMPAQ_SMART2_MAJOR4 76COMMENT
LOWPlugson/src/Core/ventoy_disk.h121#define I2O_MAJOR7 86COMMENT
LOWPlugson/src/Web/ventoy_http.c21#include <stdint.h>COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.h21 */COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c21 */COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c41#ifndef _FILE_OFFSET_BITSCOMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c101/* DTL -- including winsock2.h works better if lean and mean */COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c121COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c181 t->tv_nsec = now % 1000000000;COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c201#define MAX_WORKER_THREADS (1024 * 64)COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c221COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c241typedef long off_t;COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c261#define __func__ __FILE__ ":" STR(__LINE__)COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c281COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c301#define pipe(x) _pipe(x, MG_BUF_LEN, _O_BINARY)COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c401#if defined(_MSC_VER)COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c421#if defined(ANDROID)COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c441#endifCOMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c541COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c801#endifCOMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c821#define vsnprintf DO_NOT_USE_THIS_FUNCTION__USE_mg_vsnprintfCOMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c841#endifCOMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c861typedef struct ssl_ctx_st SSL_CTX;COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c881 const char *name; /* SSL function name */COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c901 (*(void (*)(SSL_CTX *, mg_callback_t))ssl_sw[13].ptr)COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c921 (*(const char *(*)(const SSL_CIPHER *))ssl_sw[27].ptr)COMMENT
LOWPlugson/src/Lib/libhttp/include/civetweb.c13121#if !defined(NO_CGI)COMMENT
LOWPlugson/src/Lib/xz-embedded/linux/lib/decompress_unxz.c101 * XZ_PREBOOT here.COMMENT
LOWPlugson/src/Lib/xz-embedded/linux/lib/decompress_unxz.c121/*COMMENT
LOWPlugson/src/Lib/xz-embedded/linux/lib/xz/xz_dec_bcj.c541#endifCOMMENT
LOWPlugson/src/Lib/xz-embedded/linux/lib/xz/xz_private.h21# include <linux/string.h>COMMENT
1155 more matches not shown…
Hallucination Indicators8 hits · 95 pts
SeverityFileLineSnippetContext
CRITICALPlugson/www/static/js/jQuery-2.1.4.min.js4void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(CODE
CRITICAL…ensions/FixedColumns/js/dataTables.fixedColumns.min.js8!0!==this.s.dt.oInstance.fnVersionCheck("1.8.0"))alert("FixedColumns "+j.VERSION+" required DataTables 1.8.0 or later. PCODE
CRITICAL…ensions/FixedColumns/js/dataTables.fixedColumns.min.js15g=c.childNodes[0],f=c.childNodes[1];this.dom.grid.dt.parentNode.insertBefore(c,this.dom.grid.dt);c.appendChild(this.dom.CODE
CRITICAL…/extensions/ColReorder/js/dataTables.colReorder.min.js14this.s.dt.aoColumns.length)&&(d=this.s.dt.oLoadedState.ColReorder);if(d)if(a.s.dt._bInitComplete)b=p(d),a._fnOrderColumnCODE
CRITICAL…/extensions/ColReorder/js/dataTables.colReorder.min.js15else{for(var b=0,e=a.length;b<e;b++){var h=d.inArray(b,a);b!=h&&(l(a,h,b),this.s.dt.oInstance.fnColReorder(h,b))}(""!==tCODE
CRITICAL…/extensions/ColReorder/js/dataTables.colReorder.min.js20this.dom.drag=null,this.dom.pointer=null,this.s.dt.oInstance.fnColReorder(this.s.mouse.fromIndex,this.s.mouse.toIndex),tCODE
CRITICAL…tatables/extensions/ColVis/js/dataTables.colVis.min.js16c+"</span></label></li>").click(function(c){var e=!d("input",this).is(":checked");if("li"!==c.target.nodeName.toLowerCasCODE
CRITICALLinuxGUI/WebUI/static/js/jQuery-2.1.4.min.js4void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(CODE
Verbosity Indicators14 hits · 26 pts
SeverityFileLineSnippetContext
LOWIMG/cpio/ventoy/ventoy_chain.sh22# Step 1 : Parse kernel parameter #COMMENT
LOWIMG/cpio/ventoy/ventoy_chain.sh42# Step 2 : Do OS specific hook #COMMENT
LOWIMG/cpio/ventoy/ventoy_chain.sh435# Step 3 : Run LiveInjection Hook #COMMENT
LOWIMG/cpio/ventoy/ventoy_chain.sh445# Step 4 : Check for debug break #COMMENT
LOWIMG/cpio/ventoy/ventoy_chain.sh462# Step 5 : Hand over to real init #COMMENT
LOWIMG/cpio/ventoy/ventoy_loop.sh22# Step 1 : Parse kernel parameter #COMMENT
LOWIMG/cpio/ventoy/ventoy_loop.sh42# Step 2 : Process ko #COMMENT
LOWIMG/cpio/ventoy/ventoy_loop.sh63# Step 3 : Do OS specific hook #COMMENT
LOWIMG/cpio/ventoy/ventoy_loop.sh399# Step 4 : Check for debug break #COMMENT
LOWIMG/cpio/ventoy/ventoy_loop.sh416# Step 5 : Hand over to real init #COMMENT
LOWIMG/cpio/ventoy/hook/pclos/ventoy-hook.sh22# Step 1: dd initrd file to ramdiskCOMMENT
LOWIMG/cpio/ventoy/hook/pclos/ventoy-hook.sh28# Step 2: mount ramdiskCOMMENT
LOWIMG/cpio/ventoy/hook/pclos/ventoy-hook.sh34# Step 3: Copy ventoy tool to new root directory.COMMENT
LOWIMG/cpio/ventoy/hook/pclos/ventoy-hook.sh44# Step 4: add hook in linuxrc&rc.sysinit script fileCOMMENT
Structural Annotation Overuse14 hits · 26 pts
SeverityFileLineSnippetContext
LOWIMG/cpio/ventoy/ventoy_chain.sh22# Step 1 : Parse kernel parameter #COMMENT
LOWIMG/cpio/ventoy/ventoy_chain.sh42# Step 2 : Do OS specific hook #COMMENT
LOWIMG/cpio/ventoy/ventoy_chain.sh435# Step 3 : Run LiveInjection Hook #COMMENT
LOWIMG/cpio/ventoy/ventoy_chain.sh445# Step 4 : Check for debug break #COMMENT
LOWIMG/cpio/ventoy/ventoy_chain.sh462# Step 5 : Hand over to real init #COMMENT
LOWIMG/cpio/ventoy/ventoy_loop.sh22# Step 1 : Parse kernel parameter #COMMENT
LOWIMG/cpio/ventoy/ventoy_loop.sh42# Step 2 : Process ko #COMMENT
LOWIMG/cpio/ventoy/ventoy_loop.sh63# Step 3 : Do OS specific hook #COMMENT
LOWIMG/cpio/ventoy/ventoy_loop.sh399# Step 4 : Check for debug break #COMMENT
LOWIMG/cpio/ventoy/ventoy_loop.sh416# Step 5 : Hand over to real init #COMMENT
LOWIMG/cpio/ventoy/hook/pclos/ventoy-hook.sh22# Step 1: dd initrd file to ramdiskCOMMENT
LOWIMG/cpio/ventoy/hook/pclos/ventoy-hook.sh28# Step 2: mount ramdiskCOMMENT
LOWIMG/cpio/ventoy/hook/pclos/ventoy-hook.sh34# Step 3: Copy ventoy tool to new root directory.COMMENT
LOWIMG/cpio/ventoy/hook/pclos/ventoy-hook.sh44# Step 4: add hook in linuxrc&rc.sysinit script fileCOMMENT
Hyper-Verbose Identifiers8 hits · 8 pts
SeverityFileLineSnippetContext
LOWPlugson/www/plugson_auto_install.html482 function OnAutoInstallInnerAddClick() {CODE
LOWPlugson/www/plugson_auto_install.html518 function OnAutoInstallInnerDelClick() {CODE
LOWPlugson/www/plugson_persistence.html184 function FillPersistenceInnerTable(i, data) {CODE
LOWPlugson/www/plugson_persistence.html447 function OnPersistenceInnerAddClick() {CODE
LOWPlugson/www/plugson_persistence.html483 function OnPersistenceInnerDelClick() {CODE
LOWGRUB2/MOD_SRC/grub-2.04/gentpl.py487def set_canonical_name_suffix(suffix):CODE
LOWGRUB2/MOD_SRC/grub-2.04/gentpl.py545def foreach_platform_specific_value(defn, platform, suffix, nonetag, closure):CODE
LOWGRUB2/MOD_SRC/grub-2.04/gentpl.py618def under_platform_specific_conditionals(defn, platform, closure):CODE
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMINSTALL/grub/grub.cfg2445# Default menu display mode, you can change it as you want.COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMIMG/cpio/ventoy/hook/vine/udev_disk_hook.sh83#Create a fake IDE-CDROM driver can't be ide-scsi /proc has been patched to /vtoyCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWPlugson/www/static/datatables/jquery.dataTables.min.js38f=function(){var b=!this.value?"":this.value;b!=d.sSearch&&(fa(a,{sSearch:b,bRegex:d.bRegex,bSmart:d.bSmart,bCaseInsensiCODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWGRUB2/MOD_SRC/grub-2.04/gentpl.py18CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWGRUB2/MOD_SRC/grub-2.04/gentpl.py197CODE