Repository Analysis

visualboyadvance-m/visualboyadvance-m

The continuing development of the legendary VBA gameboy advance emulator.

5.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of visualboyadvance-m/visualboyadvance-m, a C++ project with 3,865 GitHub stars. SynthScan v2.0 examined 277,593 lines of code across 679 source files, recording 1337 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 5.2 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).

5.2
Adjusted Score
5.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
3.9K
Stars
C++
Language
277.6K
Lines of Code
679
Files
1.3K
Pattern Hits
2026-07-14
Scan Date
0.00
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

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.

No multi-scan history yet — run the scanner again to build trend data.

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 0HIGH 1MEDIUM 73LOW 1263

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 1337 distinct pattern matches across 7 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 Block1239 hits · 1176 pts
SeverityFileLineSnippetContext
LOWtools/builder/core.sh3221# cpanm "$@"COMMENT
LOWthird_party/include/elfio/elfio.hpp21*/COMMENT
LOWthird_party/include/elfio/elfio_dump.hpp641 { NT_GNU_HWCAP, "NT_GNU_HWCAP", "Used by ld.so and kernel vDSO" },COMMENT
LOWthird_party/include/elfio/elfio_dump.hpp661 // { { NT_SOLARIS_AUXV, "NT_SOLARIS_AUXV", "" }COMMENT
LOWthird_party/include/elfio/elfio_note.hpp21*/COMMENT
LOWthird_party/include/nonstd/variant.hpp1// Copyright 2016-2018 by Martin MoeneCOMMENT
LOWthird_party/include/nonstd/variant.hpp21COMMENT
LOWthird_party/include/nonstd/variant.hpp41COMMENT
LOWthird_party/include/nonstd/variant.hpp61# if defined(_MSC_VER)COMMENT
LOWthird_party/include/nonstd/variant.hpp81COMMENT
LOWthird_party/include/nonstd/variant.hpp101COMMENT
LOWthird_party/include/nonstd/variant.hpp261#include <limits>COMMENT
LOWthird_party/include/nonstd/variant.hpp281COMMENT
LOWthird_party/include/nonstd/variant.hpp301// MSVC++ 11.0 _MSC_VER == 1700 variant_COMPILER_MSVC_VERSION == 110 (Visual Studio 2012)COMMENT
LOWthird_party/include/nonstd/variant.hpp321#endifCOMMENT
LOWthird_party/include/nonstd/variant.hpp341# define variant_HAS_CPP0X 0COMMENT
LOWthird_party/include/nonstd/variant.hpp361// Presence of C++11 language features:COMMENT
LOWthird_party/include/nonstd/variant.hpp381#define variant_HAVE_STD_ADD_POINTER variant_CPP11_100COMMENT
LOWthird_party/include/nonstd/variant.hpp401#endifCOMMENT
LOWthird_party/include/nonstd/variant.hpp421#if variant_HAVE_OVERRIDECOMMENT
LOWthird_party/include/nonstd/variant.hpp621COMMENT
LOWthird_party/include/nonstd/variant.hpp1261using variant_alternative_t = typename variant_alternative<K, T>::type;COMMENT
LOWthird_party/include/nonstd/optional.hpp1//COMMENT
LOWthird_party/include/nonstd/optional.hpp21#define optional_STRINGIFY_( x ) #xCOMMENT
LOWthird_party/include/nonstd/optional.hpp41// optional selection and configuration:COMMENT
LOWthird_party/include/nonstd/optional.hpp61// Control presence of exception handling (try and auto discover):COMMENT
LOWthird_party/include/nonstd/optional.hpp81# define optional_CPLUSPLUS __cplusplusCOMMENT
LOWthird_party/include/nonstd/optional.hpp101# define optional_HAVE_STD_OPTIONAL 1COMMENT
LOWthird_party/include/nonstd/optional.hpp181 return in_place_t();COMMENT
LOWthird_party/include/nonstd/optional.hpp241#ifndef optional_CONFIG_ALIGN_AS_FALLBACKCOMMENT
LOWthird_party/include/nonstd/optional.hpp261//COMMENT
LOWthird_party/include/nonstd/optional.hpp281COMMENT
LOWthird_party/include/nonstd/optional.hpp301# pragma warning( disable: 4814 ) // in C++14 'constexpr' will not imply 'const'COMMENT
LOWthird_party/include/nonstd/optional.hpp321#define optional_CPP11_90 (optional_CPP11_OR_GREATER_ || optional_COMPILER_MSVC_VER >= 1500)COMMENT
LOWthird_party/include/nonstd/optional.hpp341 || optional_BETWEEN( optional_COMPILER_GNUC_VERSION , 1, 500 ) ) )COMMENT
LOWthird_party/include/nonstd/optional.hpp361// Presence of C++ library features:COMMENT
LOWthird_party/include/nonstd/optional.hpp381#elseCOMMENT
LOWthird_party/include/nonstd/optional.hpp401#endifCOMMENT
LOWthird_party/include/nonstd/optional.hpp421# define optional_refref_qual /*&&*/COMMENT
LOWthird_party/include/nonstd/optional.hpp441COMMENT
LOWthird_party/include/nonstd/optional.hpp1841} //namespace stdCOMMENT
LOWthird_party/include/stb/stb_image_write.h201 #ifndef _CRT_SECURE_NO_WARNINGSCOMMENT
LOWthird_party/include/stb/stb_image_write.h221// okCOMMENT
LOWthird_party/include/stb/stb_image_write.h841COMMENT
LOWthird_party/include/stb/stb_image.h121// - no JPEGs with arithmetic codingCOMMENT
LOWthird_party/include/stb/stb_image.h141// corrupt or invalid. The pixel data consists of *y scanlines of *x pixels,COMMENT
LOWthird_party/include/stb/stb_image.h161// If image loading fails for any reason, the return value will be NULL,COMMENT
LOWthird_party/include/stb/stb_image.h181//COMMENT
LOWthird_party/include/stb/stb_image.h201// - No dependencies ("ease of use")COMMENT
LOWthird_party/include/stb/stb_image.h221// request it.COMMENT
LOWthird_party/include/stb/stb_image.h241// .HDR file format specifically. You can still load any file through the existingCOMMENT
LOWthird_party/include/stb/stb_image.h261// stbi_ldr_to_hdr_scale(1.0f);COMMENT
LOWthird_party/include/stb/stb_image.h281// Call stbi_set_unpremultiply_on_load(1) as well to force a divide perCOMMENT
LOWthird_party/include/stb/stb_image.h301// STBI_NO_PICCOMMENT
LOWthird_party/include/stb/stb_image.h341typedef unsigned short stbi_us;COMMENT
LOWthird_party/include/stb/stb_image.h401#ifndef STBI_NO_STDIOCOMMENT
LOWthird_party/include/stb/stb_image.h501 || defined(STBI_ONLY_TGA) || defined(STBI_ONLY_GIF) || defined(STBI_ONLY_PSD) \COMMENT
LOWthird_party/include/stb/stb_image.h521 #endifCOMMENT
LOWthird_party/include/stb/stb_image.h541#include <string.h>COMMENT
LOWthird_party/include/stb/stb_image.h561#endifCOMMENT
1179 more matches not shown…
Decorative Section Separators69 hits · 198 pts
SeverityFileLineSnippetContext
MEDIUMsrc/vba-over.ini3# -------------------COMMENT
MEDIUMsrc/vba-over.ini5# -------------------COMMENT
MEDIUMsrc/vba-over.ini136# --------------------COMMENT
MEDIUMsrc/vba-over.ini138# --------------------COMMENT
MEDIUMsrc/vba-over.ini211# --------------------COMMENT
MEDIUMsrc/vba-over.ini213# --------------------COMMENT
MEDIUMsrc/vba-over.ini395# --------------------COMMENT
MEDIUMsrc/vba-over.ini397# --------------------COMMENT
MEDIUMsrc/vba-over.ini422# --------------------COMMENT
MEDIUMsrc/vba-over.ini424# --------------------COMMENT
MEDIUMsrc/vba-over.ini449# --------------------COMMENT
MEDIUMsrc/vba-over.ini451# --------------------COMMENT
MEDIUMsrc/vba-over.ini476# --------------------COMMENT
MEDIUMsrc/vba-over.ini478# --------------------COMMENT
MEDIUMsrc/vba-over.ini503# -------------------COMMENT
MEDIUMsrc/vba-over.ini505# -------------------COMMENT
MEDIUMsrc/vba-over.ini511# -------------------COMMENT
MEDIUMsrc/vba-over.ini513# -------------------COMMENT
MEDIUMsrc/core/test/CMakeLists.txt49# -----------------------------------------------------------------------------COMMENT
MEDIUMsrc/core/test/CMakeLists.txt84# -----------------------------------------------------------------------------COMMENT
MEDIUMsrc/wx/drawing.h574 // ── Instance / surface ───────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/drawing.h587 // ── Physical / logical device ────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/drawing.h591 // ── Swapchain ────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/drawing.h596 // ── Image views & render pass ────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/drawing.h601 // ── Descriptor set layout & pipeline ────────────────────────────────────COMMENT
MEDIUMsrc/wx/drawing.h605 // ── Command infrastructure ────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/drawing.h610 // ── Staging texture ──────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/drawing.h615 // ── Upload helpers ───────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/drawing.h620 // ── Memory helper ────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/drawing.h623 // ── Vulkan handles ───────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/drawing.h662 // ── Texture resources ────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/drawing.h674 // ── State ────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp4994// ─── XOrg native software driver (backs Simple on X11) ──────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp9233// ─── SPIR-V shaders ─────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp9415// ─── Constructor ──────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp9417// ── Run-time Vulkan loader (volk-style) ──────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp9617// ─── Destructor ───────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp9651// ─── CreateInstance ───────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp9695 // ── Probe which surface extensions the instance actually supports ─────────COMMENT
MEDIUMsrc/wx/panel.cpp9777// ─── CreateSurface (Win32) ────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp9796// ─── CreateSurface (macOS / MoltenVK) ────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp9828// ─── CreateSurface (Xlib) ────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp9846// ─── Wayland subsurface for Vulkan ────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp9930// ─── CreateSurface (Wayland) ──────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp9949// ─── CreateSurfaceUNIX ────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp10004// ─── PickPhysicalDevice ───────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp10077// ─── CreateLogicalDevice ──────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp10127// ─── CreateSwapchain ──────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp10287// ─── DestroySwapchain ─────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp10300// ─── RecreateSwapchain ────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp10309// ─── CreateImageViews ─────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp10332// ─── CreateRenderPass ─────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp10377// ─── CreateFramebuffers ───────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp10400// ─── CreateDescriptorSetLayout ────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp10422// ─── CreateGraphicsPipeline ───────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp10540// ─── CreateCommandPool ────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp10556// ─── CreateCommandBuffers ─────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp10574// ─── CreateSyncObjects ────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp10595// ─── CreateDescriptorPoolAndSet ───────────────────────────────────────────────COMMENT
MEDIUMsrc/wx/panel.cpp10628// ─── FindMemoryType ───────────────────────────────────────────────────────────COMMENT
9 more matches not shown…
Example Usage Blocks17 hits · 26 pts
SeverityFileLineSnippetContext
LOWthird_party/sfml/include/SFML/Network/UdpSocket.hpp252/// Usage example:COMMENT
LOW…ird_party/sfml/include/SFML/Network/SocketSelector.hpp208/// Usage example:COMMENT
LOWthird_party/sfml/include/SFML/Network/Http.hpp454/// Usage example:COMMENT
LOWthird_party/sfml/include/SFML/Network/IpAddress.hpp281/// Usage example:COMMENT
LOWthird_party/sfml/include/SFML/Network/TcpListener.hpp144/// Usage example:COMMENT
LOWthird_party/sfml/include/SFML/Network/Packet.hpp176 /// Usage example:COMMENT
LOWthird_party/sfml/include/SFML/Network/Packet.hpp457/// Usage example:COMMENT
LOWthird_party/sfml/include/SFML/Network/Ftp.hpp590/// Usage example:COMMENT
LOWthird_party/sfml/include/SFML/Network/TcpSocket.hpp275/// Usage example:COMMENT
LOWthird_party/sfml/include/SFML/System/Angle.hpp496/// Usage example:COMMENT
LOWthird_party/sfml/include/SFML/System/Time.hpp474/// Usage example:COMMENT
LOW…d_party/sfml/include/SFML/System/MemoryInputStream.hpp130/// Usage example:COMMENT
LOWthird_party/sfml/include/SFML/System/InputStream.hpp113/// Usage example:COMMENT
LOW…ird_party/sfml/include/SFML/System/FileInputStream.hpp203/// Usage example:COMMENT
LOWthird_party/sfml/include/SFML/System/Clock.hpp175/// Usage example:COMMENT
LOWthird_party/sfml/include/SFML/System/Vector3.hpp338/// Usage example:COMMENT
LOWthird_party/sfml/include/SFML/System/Vector2.hpp418/// Usage example:COMMENT
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMsrc/core/gba/gba.cpp5469 // build robust against future macro refactors.COMMENT
MEDIUMsrc/wx/panel.cpp8355 // order of preference (most robust native HDR backend first) rather thanCOMMENT
MEDIUMsrc/wx/panel.cpp8536 // robust native backend, so enabling deep color while on a non-capableCOMMENT
MEDIUMsrc/wx/config/bindings.h44 // Essentially, this is a diff between the default shortcuts and the userCOMMENT
Verbosity Indicators4 hits · 7 pts
SeverityFileLineSnippetContext
LOWsrc/core/gba/gbaSound.cpp212 // Step 1: request a DMA refill if main ring has >=4 empty words.COMMENT
LOWsrc/core/gba/gbaSound.cpp228 // Step 2: refill playing buffer from ring if playing is empty.COMMENT
LOWsrc/core/gba/gbaSound.cpp234 // Step 3: consume one sample from playing buffer. Only feed theCOMMENT
LOWsrc/wx/panel.cpp1904 // We need to check if the buttons stayed pressed when focus the panel.COMMENT
Structural Annotation Overuse3 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/core/gba/gbaSound.cpp212 // Step 1: request a DMA refill if main ring has >=4 empty words.COMMENT
LOWsrc/core/gba/gbaSound.cpp228 // Step 2: refill playing buffer from ring if playing is empty.COMMENT
LOWsrc/core/gba/gbaSound.cpp234 // Step 3: consume one sample from playing buffer. Only feed theCOMMENT
AI Response Leakage1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsrc/core/fex/unrar/changes.txt112- Some .cpp files are #included by others. I've added guards to these soCODE