The continuing development of the legendary VBA gameboy advance emulator.
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).
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.
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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/builder/core.sh | 3221 | # cpanm "$@" | COMMENT |
| LOW | third_party/include/elfio/elfio.hpp | 21 | */ | COMMENT |
| LOW | third_party/include/elfio/elfio_dump.hpp | 641 | { NT_GNU_HWCAP, "NT_GNU_HWCAP", "Used by ld.so and kernel vDSO" }, | COMMENT |
| LOW | third_party/include/elfio/elfio_dump.hpp | 661 | // { { NT_SOLARIS_AUXV, "NT_SOLARIS_AUXV", "" } | COMMENT |
| LOW | third_party/include/elfio/elfio_note.hpp | 21 | */ | COMMENT |
| LOW | third_party/include/nonstd/variant.hpp | 1 | // Copyright 2016-2018 by Martin Moene | COMMENT |
| LOW | third_party/include/nonstd/variant.hpp | 21 | COMMENT | |
| LOW | third_party/include/nonstd/variant.hpp | 41 | COMMENT | |
| LOW | third_party/include/nonstd/variant.hpp | 61 | # if defined(_MSC_VER) | COMMENT |
| LOW | third_party/include/nonstd/variant.hpp | 81 | COMMENT | |
| LOW | third_party/include/nonstd/variant.hpp | 101 | COMMENT | |
| LOW | third_party/include/nonstd/variant.hpp | 261 | #include <limits> | COMMENT |
| LOW | third_party/include/nonstd/variant.hpp | 281 | COMMENT | |
| LOW | third_party/include/nonstd/variant.hpp | 301 | // MSVC++ 11.0 _MSC_VER == 1700 variant_COMPILER_MSVC_VERSION == 110 (Visual Studio 2012) | COMMENT |
| LOW | third_party/include/nonstd/variant.hpp | 321 | #endif | COMMENT |
| LOW | third_party/include/nonstd/variant.hpp | 341 | # define variant_HAS_CPP0X 0 | COMMENT |
| LOW | third_party/include/nonstd/variant.hpp | 361 | // Presence of C++11 language features: | COMMENT |
| LOW | third_party/include/nonstd/variant.hpp | 381 | #define variant_HAVE_STD_ADD_POINTER variant_CPP11_100 | COMMENT |
| LOW | third_party/include/nonstd/variant.hpp | 401 | #endif | COMMENT |
| LOW | third_party/include/nonstd/variant.hpp | 421 | #if variant_HAVE_OVERRIDE | COMMENT |
| LOW | third_party/include/nonstd/variant.hpp | 621 | COMMENT | |
| LOW | third_party/include/nonstd/variant.hpp | 1261 | using variant_alternative_t = typename variant_alternative<K, T>::type; | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 1 | // | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 21 | #define optional_STRINGIFY_( x ) #x | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 41 | // optional selection and configuration: | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 61 | // Control presence of exception handling (try and auto discover): | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 81 | # define optional_CPLUSPLUS __cplusplus | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 101 | # define optional_HAVE_STD_OPTIONAL 1 | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 181 | return in_place_t(); | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 241 | #ifndef optional_CONFIG_ALIGN_AS_FALLBACK | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 261 | // | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 281 | COMMENT | |
| LOW | third_party/include/nonstd/optional.hpp | 301 | # pragma warning( disable: 4814 ) // in C++14 'constexpr' will not imply 'const' | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 321 | #define optional_CPP11_90 (optional_CPP11_OR_GREATER_ || optional_COMPILER_MSVC_VER >= 1500) | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 341 | || optional_BETWEEN( optional_COMPILER_GNUC_VERSION , 1, 500 ) ) ) | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 361 | // Presence of C++ library features: | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 381 | #else | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 401 | #endif | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 421 | # define optional_refref_qual /*&&*/ | COMMENT |
| LOW | third_party/include/nonstd/optional.hpp | 441 | COMMENT | |
| LOW | third_party/include/nonstd/optional.hpp | 1841 | } //namespace std | COMMENT |
| LOW | third_party/include/stb/stb_image_write.h | 201 | #ifndef _CRT_SECURE_NO_WARNINGS | COMMENT |
| LOW | third_party/include/stb/stb_image_write.h | 221 | // ok | COMMENT |
| LOW | third_party/include/stb/stb_image_write.h | 841 | COMMENT | |
| LOW | third_party/include/stb/stb_image.h | 121 | // - no JPEGs with arithmetic coding | COMMENT |
| LOW | third_party/include/stb/stb_image.h | 141 | // corrupt or invalid. The pixel data consists of *y scanlines of *x pixels, | COMMENT |
| LOW | third_party/include/stb/stb_image.h | 161 | // If image loading fails for any reason, the return value will be NULL, | COMMENT |
| LOW | third_party/include/stb/stb_image.h | 181 | // | COMMENT |
| LOW | third_party/include/stb/stb_image.h | 201 | // - No dependencies ("ease of use") | COMMENT |
| LOW | third_party/include/stb/stb_image.h | 221 | // request it. | COMMENT |
| LOW | third_party/include/stb/stb_image.h | 241 | // .HDR file format specifically. You can still load any file through the existing | COMMENT |
| LOW | third_party/include/stb/stb_image.h | 261 | // stbi_ldr_to_hdr_scale(1.0f); | COMMENT |
| LOW | third_party/include/stb/stb_image.h | 281 | // Call stbi_set_unpremultiply_on_load(1) as well to force a divide per | COMMENT |
| LOW | third_party/include/stb/stb_image.h | 301 | // STBI_NO_PIC | COMMENT |
| LOW | third_party/include/stb/stb_image.h | 341 | typedef unsigned short stbi_us; | COMMENT |
| LOW | third_party/include/stb/stb_image.h | 401 | #ifndef STBI_NO_STDIO | COMMENT |
| LOW | third_party/include/stb/stb_image.h | 501 | || defined(STBI_ONLY_TGA) || defined(STBI_ONLY_GIF) || defined(STBI_ONLY_PSD) \ | COMMENT |
| LOW | third_party/include/stb/stb_image.h | 521 | #endif | COMMENT |
| LOW | third_party/include/stb/stb_image.h | 541 | #include <string.h> | COMMENT |
| LOW | third_party/include/stb/stb_image.h | 561 | #endif | COMMENT |
| 1179 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/vba-over.ini | 3 | # ------------------- | COMMENT |
| MEDIUM | src/vba-over.ini | 5 | # ------------------- | COMMENT |
| MEDIUM | src/vba-over.ini | 136 | # -------------------- | COMMENT |
| MEDIUM | src/vba-over.ini | 138 | # -------------------- | COMMENT |
| MEDIUM | src/vba-over.ini | 211 | # -------------------- | COMMENT |
| MEDIUM | src/vba-over.ini | 213 | # -------------------- | COMMENT |
| MEDIUM | src/vba-over.ini | 395 | # -------------------- | COMMENT |
| MEDIUM | src/vba-over.ini | 397 | # -------------------- | COMMENT |
| MEDIUM | src/vba-over.ini | 422 | # -------------------- | COMMENT |
| MEDIUM | src/vba-over.ini | 424 | # -------------------- | COMMENT |
| MEDIUM | src/vba-over.ini | 449 | # -------------------- | COMMENT |
| MEDIUM | src/vba-over.ini | 451 | # -------------------- | COMMENT |
| MEDIUM | src/vba-over.ini | 476 | # -------------------- | COMMENT |
| MEDIUM | src/vba-over.ini | 478 | # -------------------- | COMMENT |
| MEDIUM⚡ | src/vba-over.ini | 503 | # ------------------- | COMMENT |
| MEDIUM⚡ | src/vba-over.ini | 505 | # ------------------- | COMMENT |
| MEDIUM⚡ | src/vba-over.ini | 511 | # ------------------- | COMMENT |
| MEDIUM⚡ | src/vba-over.ini | 513 | # ------------------- | COMMENT |
| MEDIUM | src/core/test/CMakeLists.txt | 49 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/core/test/CMakeLists.txt | 84 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/wx/drawing.h | 574 | // ── Instance / surface ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/wx/drawing.h | 587 | // ── Physical / logical device ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/wx/drawing.h | 591 | // ── Swapchain ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/wx/drawing.h | 596 | // ── Image views & render pass ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/wx/drawing.h | 601 | // ── Descriptor set layout & pipeline ──────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/wx/drawing.h | 605 | // ── Command infrastructure ──────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/wx/drawing.h | 610 | // ── Staging texture ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/wx/drawing.h | 615 | // ── Upload helpers ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/wx/drawing.h | 620 | // ── Memory helper ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/wx/drawing.h | 623 | // ── Vulkan handles ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/drawing.h | 662 | // ── Texture resources ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/drawing.h | 674 | // ── State ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 4994 | // ─── XOrg native software driver (backs Simple on X11) ────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 9233 | // ─── SPIR-V shaders ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 9415 | // ─── Constructor ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 9417 | // ── Run-time Vulkan loader (volk-style) ────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 9617 | // ─── Destructor ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 9651 | // ─── CreateInstance ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 9695 | // ── Probe which surface extensions the instance actually supports ───────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 9777 | // ─── CreateSurface (Win32) ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 9796 | // ─── CreateSurface (macOS / MoltenVK) ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 9828 | // ─── CreateSurface (Xlib) ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 9846 | // ─── Wayland subsurface for Vulkan ──────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 9930 | // ─── CreateSurface (Wayland) ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 9949 | // ─── CreateSurfaceUNIX ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 10004 | // ─── PickPhysicalDevice ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 10077 | // ─── CreateLogicalDevice ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 10127 | // ─── CreateSwapchain ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 10287 | // ─── DestroySwapchain ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 10300 | // ─── RecreateSwapchain ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 10309 | // ─── CreateImageViews ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 10332 | // ─── CreateRenderPass ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 10377 | // ─── CreateFramebuffers ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 10400 | // ─── CreateDescriptorSetLayout ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 10422 | // ─── CreateGraphicsPipeline ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 10540 | // ─── CreateCommandPool ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 10556 | // ─── CreateCommandBuffers ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 10574 | // ─── CreateSyncObjects ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 10595 | // ─── CreateDescriptorPoolAndSet ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/wx/panel.cpp | 10628 | // ─── FindMemoryType ─────────────────────────────────────────────────────────── | COMMENT |
| 9 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | third_party/sfml/include/SFML/Network/UdpSocket.hpp | 252 | /// Usage example: | COMMENT |
| LOW | …ird_party/sfml/include/SFML/Network/SocketSelector.hpp | 208 | /// Usage example: | COMMENT |
| LOW | third_party/sfml/include/SFML/Network/Http.hpp | 454 | /// Usage example: | COMMENT |
| LOW | third_party/sfml/include/SFML/Network/IpAddress.hpp | 281 | /// Usage example: | COMMENT |
| LOW | third_party/sfml/include/SFML/Network/TcpListener.hpp | 144 | /// Usage example: | COMMENT |
| LOW | third_party/sfml/include/SFML/Network/Packet.hpp | 176 | /// Usage example: | COMMENT |
| LOW | third_party/sfml/include/SFML/Network/Packet.hpp | 457 | /// Usage example: | COMMENT |
| LOW | third_party/sfml/include/SFML/Network/Ftp.hpp | 590 | /// Usage example: | COMMENT |
| LOW | third_party/sfml/include/SFML/Network/TcpSocket.hpp | 275 | /// Usage example: | COMMENT |
| LOW | third_party/sfml/include/SFML/System/Angle.hpp | 496 | /// Usage example: | COMMENT |
| LOW | third_party/sfml/include/SFML/System/Time.hpp | 474 | /// Usage example: | COMMENT |
| LOW | …d_party/sfml/include/SFML/System/MemoryInputStream.hpp | 130 | /// Usage example: | COMMENT |
| LOW | third_party/sfml/include/SFML/System/InputStream.hpp | 113 | /// Usage example: | COMMENT |
| LOW | …ird_party/sfml/include/SFML/System/FileInputStream.hpp | 203 | /// Usage example: | COMMENT |
| LOW | third_party/sfml/include/SFML/System/Clock.hpp | 175 | /// Usage example: | COMMENT |
| LOW | third_party/sfml/include/SFML/System/Vector3.hpp | 338 | /// Usage example: | COMMENT |
| LOW | third_party/sfml/include/SFML/System/Vector2.hpp | 418 | /// Usage example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/core/gba/gba.cpp | 5469 | // build robust against future macro refactors. | COMMENT |
| MEDIUM | src/wx/panel.cpp | 8355 | // order of preference (most robust native HDR backend first) rather than | COMMENT |
| MEDIUM | src/wx/panel.cpp | 8536 | // robust native backend, so enabling deep color while on a non-capable | COMMENT |
| MEDIUM | src/wx/config/bindings.h | 44 | // Essentially, this is a diff between the default shortcuts and the user | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/core/gba/gbaSound.cpp | 212 | // Step 1: request a DMA refill if main ring has >=4 empty words. | COMMENT |
| LOW⚡ | src/core/gba/gbaSound.cpp | 228 | // Step 2: refill playing buffer from ring if playing is empty. | COMMENT |
| LOW⚡ | src/core/gba/gbaSound.cpp | 234 | // Step 3: consume one sample from playing buffer. Only feed the | COMMENT |
| LOW | src/wx/panel.cpp | 1904 | // We need to check if the buttons stayed pressed when focus the panel. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/core/gba/gbaSound.cpp | 212 | // Step 1: request a DMA refill if main ring has >=4 empty words. | COMMENT |
| LOW⚡ | src/core/gba/gbaSound.cpp | 228 | // Step 2: refill playing buffer from ring if playing is empty. | COMMENT |
| LOW⚡ | src/core/gba/gbaSound.cpp | 234 | // Step 3: consume one sample from playing buffer. Only feed the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/core/fex/unrar/changes.txt | 112 | - Some .cpp files are #included by others. I've added guards to these so | CODE |