Repository Analysis

ventoy/Ventoy

A new bootable USB solution.

3.2 Likely human-written View on GitHub
3.2
Adjusted Score
3.2
Raw Score
100%
Time Factor
2026-05-07
Last Push
76,917
Stars
C
Language
399,954
Lines of Code
1345
Files
1246
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 8HIGH 0MEDIUM 2LOW 1236

Pattern Findings

1246 matches across 8 categories. Click a row to expand file-level details.

Over-Commented Block1212 hits · 1149 pts
SeverityFileLineSnippet
LOWKBD/cfg/KBD_QWERTZ_SLOV_CROAT.cfg41
LOWKBD/cfg/KBD_AZERTY.cfg61#minus (-), underscore (_), equal (=), parenleft [(], backspace (backspace), tab (Tab), bracketleft ([), braceleft ({),
LOWKBD/cfg/KBD_ITALIANO.cfg41if [ "${quiet}" = "" ]; then
LOWKBD/cfg/KBD_QWERTZ.cfg41#braceright (}), enter (carriage return), semicolon (;), colon (:), quote (') , doublequote ("), slash (/), backquote (`
LOWKBD/cfg/KBD_VIETNAMESE.cfg41
LOWKBD/cfg/KBD_PORTU_BRAZIL.cfg41#Use prefix A for Alt+, e.g. Aequal, Aq, Aslash, A0, etc.
LOWKBD/cfg/KBD_DVORAK_USA.cfg101#braceright (}), enter (carriage return), semicolon (;), colon (:), quote (') , doublequote ("), slash (/), backquote (`
LOWKBD/cfg/KBD_TURKISH_Q.cfg41fi
LOWKBD/cfg/KBD_LATIN_USA.cfg41setkey -e
LOWKBD/cfg/KBD_QWERTZ_HUN.cfg61fi
LOWKBD/cfg/KBD_QWERTY_UK.cfg21#key names
LOWKBD/cfg/KBD_CZECH_QWERTZ.cfg61#braceright (}), enter (carriage return), semicolon (;), colon (:), quote (') , doublequote ("), slash (/), backquote (`
LOWPlugson/www/static/AdminLTE/js/app.js41 navbarMenuHeight: "200px", //The height of the inner menu
LOWPlugson/www/static/AdminLTE/js/app.js61 //Enable Fast Click. Fastclick.js creates a more
LOWPlugson/src/main_linux.c1#include <stdio.h>
LOWPlugson/src/main_windows.c481
LOWPlugson/src/Core/ventoy_json.h61 } \
LOWPlugson/src/Core/ventoy_json.h281
LOWPlugson/src/Core/ventoy_json.h321
LOWPlugson/src/Core/ventoy_util_linux.c21#include <stdint.h>
LOWPlugson/src/Core/ventoy_define.h21#define __VENTOY_DEFINE_H__
LOWPlugson/src/Core/ventoy_define.h141
LOWPlugson/src/Core/ventoy_disk_linux.c21#include <stdint.h>
LOWPlugson/src/Core/ventoy_json.c21#include <stdio.h>
LOWPlugson/src/Core/ventoy_utf.c21#include <stdlib.h>
LOWPlugson/src/Core/ventoy_utf.c41// The codepoint that is used to replace invalid encodings
LOWPlugson/src/Core/ventoy_utf.c61#define SURROGATE_CODEPOINT_BITS 10
LOWPlugson/src/Core/ventoy_utf.c101#define UTF8_LEADING_BYTES_LEN 4
LOWPlugson/src/Core/ventoy_disk.h81#define SCSI_DISK0_MAJOR 8
LOWPlugson/src/Core/ventoy_disk.h101#define COMPAQ_SMART2_MAJOR4 76
LOWPlugson/src/Core/ventoy_disk.h121#define I2O_MAJOR7 86
LOWPlugson/src/Web/ventoy_http.c21#include <stdint.h>
LOWPlugson/src/Lib/libhttp/include/civetweb.h21 */
LOWPlugson/src/Lib/libhttp/include/civetweb.c21 */
LOWPlugson/src/Lib/libhttp/include/civetweb.c41#ifndef _FILE_OFFSET_BITS
LOWPlugson/src/Lib/libhttp/include/civetweb.c101/* DTL -- including winsock2.h works better if lean and mean */
LOWPlugson/src/Lib/libhttp/include/civetweb.c121
LOWPlugson/src/Lib/libhttp/include/civetweb.c181 t->tv_nsec = now % 1000000000;
LOWPlugson/src/Lib/libhttp/include/civetweb.c201#define MAX_WORKER_THREADS (1024 * 64)
LOWPlugson/src/Lib/libhttp/include/civetweb.c221
LOWPlugson/src/Lib/libhttp/include/civetweb.c241typedef long off_t;
LOWPlugson/src/Lib/libhttp/include/civetweb.c261#define __func__ __FILE__ ":" STR(__LINE__)
LOWPlugson/src/Lib/libhttp/include/civetweb.c281
LOWPlugson/src/Lib/libhttp/include/civetweb.c301#define pipe(x) _pipe(x, MG_BUF_LEN, _O_BINARY)
LOWPlugson/src/Lib/libhttp/include/civetweb.c401#if defined(_MSC_VER)
LOWPlugson/src/Lib/libhttp/include/civetweb.c421#if defined(ANDROID)
LOWPlugson/src/Lib/libhttp/include/civetweb.c441#endif
LOWPlugson/src/Lib/libhttp/include/civetweb.c541
LOWPlugson/src/Lib/libhttp/include/civetweb.c801#endif
LOWPlugson/src/Lib/libhttp/include/civetweb.c821#define vsnprintf DO_NOT_USE_THIS_FUNCTION__USE_mg_vsnprintf
LOWPlugson/src/Lib/libhttp/include/civetweb.c841#endif
LOWPlugson/src/Lib/libhttp/include/civetweb.c861typedef struct ssl_ctx_st SSL_CTX;
LOWPlugson/src/Lib/libhttp/include/civetweb.c881 const char *name; /* SSL function name */
LOWPlugson/src/Lib/libhttp/include/civetweb.c901 (*(void (*)(SSL_CTX *, mg_callback_t))ssl_sw[13].ptr)
LOWPlugson/src/Lib/libhttp/include/civetweb.c921 (*(const char *(*)(const SSL_CIPHER *))ssl_sw[27].ptr)
LOWPlugson/src/Lib/libhttp/include/civetweb.c13121#if !defined(NO_CGI)
LOWPlugson/src/Lib/xz-embedded/linux/lib/decompress_unxz.c101 * XZ_PREBOOT here.
LOWPlugson/src/Lib/xz-embedded/linux/lib/decompress_unxz.c121/*
LOWPlugson/src/Lib/xz-embedded/linux/lib/xz/xz_dec_bcj.c541#endif
LOWPlugson/src/Lib/xz-embedded/linux/lib/xz/xz_private.h21# include <linux/string.h>
1152 more matches not shown…
Hallucination Indicators8 hits · 95 pts
SeverityFileLineSnippet
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!==(
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. P
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.
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._fnOrderColumn
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))}(""!==t
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),t
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.toLowerCas
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!==(
Verbosity Indicators14 hits · 24 pts
SeverityFileLineSnippet
LOWIMG/cpio/ventoy/ventoy_chain.sh22# Step 1 : Parse kernel parameter #
LOWIMG/cpio/ventoy/ventoy_chain.sh42# Step 2 : Do OS specific hook #
LOWIMG/cpio/ventoy/ventoy_chain.sh435# Step 3 : Run LiveInjection Hook #
LOWIMG/cpio/ventoy/ventoy_chain.sh445# Step 4 : Check for debug break #
LOWIMG/cpio/ventoy/ventoy_chain.sh462# Step 5 : Hand over to real init #
LOWIMG/cpio/ventoy/ventoy_loop.sh22# Step 1 : Parse kernel parameter #
LOWIMG/cpio/ventoy/ventoy_loop.sh42# Step 2 : Process ko #
LOWIMG/cpio/ventoy/ventoy_loop.sh63# Step 3 : Do OS specific hook #
LOWIMG/cpio/ventoy/ventoy_loop.sh399# Step 4 : Check for debug break #
LOWIMG/cpio/ventoy/ventoy_loop.sh416# Step 5 : Hand over to real init #
LOWIMG/cpio/ventoy/hook/pclos/ventoy-hook.sh22# Step 1: dd initrd file to ramdisk
LOWIMG/cpio/ventoy/hook/pclos/ventoy-hook.sh28# Step 2: mount ramdisk
LOWIMG/cpio/ventoy/hook/pclos/ventoy-hook.sh34# Step 3: Copy ventoy tool to new root directory.
LOWIMG/cpio/ventoy/hook/pclos/ventoy-hook.sh44# Step 4: add hook in linuxrc&rc.sysinit script file
Hyper-Verbose Identifiers8 hits · 8 pts
SeverityFileLineSnippet
LOWPlugson/www/plugson_auto_install.html482 function OnAutoInstallInnerAddClick() {
LOWPlugson/www/plugson_auto_install.html518 function OnAutoInstallInnerDelClick() {
LOWPlugson/www/plugson_persistence.html184 function FillPersistenceInnerTable(i, data) {
LOWPlugson/www/plugson_persistence.html447 function OnPersistenceInnerAddClick() {
LOWPlugson/www/plugson_persistence.html483 function OnPersistenceInnerDelClick() {
LOWGRUB2/MOD_SRC/grub-2.04/gentpl.py487def set_canonical_name_suffix(suffix):
LOWGRUB2/MOD_SRC/grub-2.04/gentpl.py545def foreach_platform_specific_value(defn, platform, suffix, nonetag, closure):
LOWGRUB2/MOD_SRC/grub-2.04/gentpl.py618def under_platform_specific_conditionals(defn, platform, closure):
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMINSTALL/grub/grub.cfg2457# Default menu display mode, you can change it as you want.
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippet
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 /vtoy
Unused Imports1 hit · 1 pts
SeverityFileLineSnippet
LOWGRUB2/MOD_SRC/grub-2.04/gentpl.py18
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippet
LOWGRUB2/MOD_SRC/grub-2.04/gentpl.py197