AI Slop Code Risk Monitor

dolphin-emu/dolphin

SlopCodeMonitor badge for dolphin-emu/dolphin Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.

2.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for dolphin-emu/dolphin, a C++ project with 15,747 GitHub stars. SynthScan examined 1,015,776 lines of code across 5551 source files, recording 3052 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 2.8 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.8
Adjusted Signal
2.8
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
15.7K
Stars
C++
Language
1.0M
Lines of Code
5.6K
Files
3.1K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 12.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 3028 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

Are imports declared and package/API names verified? 17 finding(s).

Agent Over-Engineering Ratio 0.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 9 finding(s).

PR Review Velocity Impact 14.3/100 · LOW

Which changes need focused human review? 3052 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 8MEDIUM 18LOW 3026

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 3052 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block2990 hits · 2710 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt601########################################COMMENT
LOWBuildMacOSUniversalBinary.py41 "dst_app": "universal/",COMMENT
LOWTools/perf-disassemble.sh1#!/bin/bashCOMMENT
LOWTools/symbolicate-ppc.py1#!/usr/bin/pythonCOMMENT
LOWTools/symbolicate-ppc.py21# 0.57% JIT_PPC_zz_044141c_ (/tmp/perf-15936.map)COMMENT
LOWSource/PCH/pch.h1// Copyright 2013 Dolphin Emulator ProjectCOMMENT
LOWSource/PCH/pch.h21#undef STRINGIFY_HELPERCOMMENT
LOWSource/PCH/pch.h41#include <errno.h>COMMENT
LOWSource/PCH/pch.h61#include <list>COMMENT
LOWSource/PCH/pch.h81#include <stdlib.h>COMMENT
LOWSource/PCH/pch.cpp1// Copyright 2014 Dolphin Emulator ProjectCOMMENT
LOWSource/PCH/nopch/pch.h1// dummy include to help with disabling pch for a single fileCOMMENT
LOWSource/DSPTool/DSPTool.cpp1// Copyright 2009 Dolphin Emulator ProjectCOMMENT
LOWSource/DSPTool/DSPTool.cpp361COMMENT
LOWSource/Core/Core/CheatSearch.cpp1// Copyright 2021 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/PatchEngine.cpp1// Copyright 2008 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/PatchEngine.cpp21#include "Common/Assert.h"COMMENT
LOWSource/Core/Core/NetPlayCommon.h1// Copyright 2021 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/Core.h1// Copyright 2008 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/NetworkCaptureLogger.cpp1// Copyright 2021 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/NetworkCaptureLogger.h1// Copyright 2021 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/Host.h1// Copyright 2008 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/MachineContext.h1// Copyright 2008 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/MachineContext.h21#define CTX_RDX RdxCOMMENT
LOWSource/Core/Core/MachineContext.h41#error No context definition for architectureCOMMENT
LOWSource/Core/Core/MachineContext.h61#define CTX_R9 __r9COMMENT
LOWSource/Core/Core/MachineContext.h81#if _M_X86_64COMMENT
LOWSource/Core/Core/MachineContext.h101#define CTX_LR __ss.__lrCOMMENT
LOWSource/Core/Core/MachineContext.h121#define CTX_RSP gregs[REG_RSP]COMMENT
LOWSource/Core/Core/MachineContext.h141typedef ucontext_t SContext;COMMENT
LOWSource/Core/Core/MachineContext.h161#define CTX_REG(x) sc_x[x]COMMENT
LOWSource/Core/Core/MachineContext.h181#define CTX_R9 __gregs[_REG_R9]COMMENT
LOWSource/Core/Core/MachineContext.h201#define CTX_RSI mc_rsiCOMMENT
LOWSource/Core/Core/MachineContext.h221#elif defined(__HAIKU__)COMMENT
LOWSource/Core/Core/Core.cpp1// Copyright 2008 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/Core.cpp21#endifCOMMENT
LOWSource/Core/Core/Core.cpp41#include "Core/Boot/Boot.h"COMMENT
LOWSource/Core/Core/Core.cpp61#include "Core/HW/Wiimote.h"COMMENT
LOWSource/Core/Core/Core.cpp81COMMENT
LOWSource/Core/Core/NetPlayCommon.cpp1// Copyright 2021 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/Movie.h1// Copyright 2008 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/State.cpp1// Copyright 2008 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/State.cpp21COMMENT
LOWSource/Core/Core/State.cpp41#include "Core/CoreTiming.h"COMMENT
LOWSource/Core/Core/NetPlayServer.h1// Copyright 2013 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/BootManager.cpp1// Copyright 2011 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/BootManager.cpp21COMMENT
LOWSource/Core/Core/AchievementManager.cpp1// Copyright 2023 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/AchievementManager.cpp21#include "Common/StringUtil.h"COMMENT
LOWSource/Core/Core/CoreTiming.cpp1// Copyright 2008 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/CoreTiming.cpp21#include "Core/CPUThreadConfigCallback.h"COMMENT
LOWSource/Core/Core/DolphinAnalytics.cpp1// Copyright 2016 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/DolphinAnalytics.cpp21#include <functional>COMMENT
LOWSource/Core/Core/AchievementManager.h1// Copyright 2023 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/AchievementManager.h21#include <picojson.h>COMMENT
LOWSource/Core/Core/NetPlayClient.cpp1// Copyright 2010 Dolphin Emulator ProjectCOMMENT
LOWSource/Core/Core/NetPlayClient.cpp21#include <fmt/ranges.h>COMMENT
LOWSource/Core/Core/NetPlayClient.cpp41#include "Core/Config/NetplaySettings.h"COMMENT
LOWSource/Core/Core/NetPlayClient.cpp61#include "Core/HW/WiimoteEmu/DesiredWiimoteState.h"COMMENT
LOWSource/Core/Core/NetPlayClient.cpp1961 // but which sockets on each individual GameCube should be usedCOMMENT
2930 more matches not shown…
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHExternals/mbedtls/library/error.c226 /* Begin Auto-Generated Code. */COMMENT
HIGHExternals/mbedtls/library/error.c569 /* End Auto-Generated Code. */COMMENT
HIGHExternals/mbedtls/library/error.c590 /* Begin Auto-Generated Code. */COMMENT
HIGHExternals/mbedtls/library/error.c887 /* End Auto-Generated Code. */COMMENT
AI Slop Vocabulary8 hits · 22 pts
SeverityFileLineSnippetContext
LOWBuildMacOSUniversalBinary.py56 # be cryptographically signed/notarized but will instead just use aCOMMENT
MEDIUMBuildMacOSUniversalBinary.py82# 2) Single architecture builds should utilize the normal generated cmakeCOMMENT
MEDIUMSource/Core/Core/HW/GCMemcard/GCMemcard.cpp156 // whichever block has the higher value. Essentially, if (0.update_ctr >= 1.update_ctr) { use 0 }COMMENT
MEDIUMSource/Core/Core/HLE/HLE_Misc.cpp44 // robust alternative would be to actually detect memory writes, but thatCOMMENT
MEDIUMSource/Core/Core/FifoPlayer/FifoRecorder.cpp224 // The video thread may call into functions that utilize theseCOMMENT
MEDIUMSource/Core/VideoCommon/ShaderCache.cpp1235 // - AMD, Nvidia: Definitely keyed on dual source blend, but the others seem more randomCOMMENT
MEDIUMSource/Core/VideoCommon/AbstractTexture.cpp47 // Use a temporary staging texture for the download. Certainly not optimal,COMMENT
MEDIUMSource/Core/DolphinQt/Debugger/EditSymbolDialog.cpp101 // Not sure what the max size should be. Definitely not a full 8, so set to 7.COMMENT
Fake / Example Data16 hits · 22 pts
SeverityFileLineSnippetContext
LOWSource/Core/Core/WiiUtils.cpp115 const std::array<u8, 32> dummy_data{};CODE
LOWSource/Core/Core/WiiUtils.cpp131 if (!new_handle || !new_handle->Write(dummy_data.data(), dummy_data.size()))CODE
LOW⚡Source/Core/Core/Debugger/BranchWatch.h163 static void HitVirtualTrue_fk(BranchWatch* branch_watch, u64 fake_key, u32 inst)CODE
LOW⚡Source/Core/Core/Debugger/BranchWatch.h165 branch_watch->m_collection_vt[{std::bit_cast<FakeBranchWatchCollectionKey>(fake_key), inst}]CODE
LOW⚡Source/Core/Core/Debugger/BranchWatch.h169 static void HitPhysicalTrue_fk(BranchWatch* branch_watch, u64 fake_key, u32 inst)CODE
LOW⚡Source/Core/Core/Debugger/BranchWatch.h171 branch_watch->m_collection_pt[{std::bit_cast<FakeBranchWatchCollectionKey>(fake_key), inst}]CODE
LOW⚡Source/Core/Core/Debugger/BranchWatch.h175 static void HitVirtualFalse_fk(BranchWatch* branch_watch, u64 fake_key, u32 inst)CODE
LOW⚡Source/Core/Core/Debugger/BranchWatch.h177 branch_watch->m_collection_vf[{std::bit_cast<FakeBranchWatchCollectionKey>(fake_key), inst}]CODE
LOW⚡Source/Core/Core/Debugger/BranchWatch.h181 static void HitPhysicalFalse_fk(BranchWatch* branch_watch, u64 fake_key, u32 inst)CODE
LOW⚡Source/Core/Core/Debugger/BranchWatch.h183 branch_watch->m_collection_pf[{std::bit_cast<FakeBranchWatchCollectionKey>(fake_key), inst}]CODE
LOW⚡Source/Core/Core/Debugger/BranchWatch.h187 static void HitVirtualTrue_fk_n(BranchWatch* branch_watch, u64 fake_key, u32 inst, u32 n)CODE
LOW⚡Source/Core/Core/Debugger/BranchWatch.h189 branch_watch->m_collection_vt[{std::bit_cast<FakeBranchWatchCollectionKey>(fake_key), inst}]CODE
LOW⚡Source/Core/Core/Debugger/BranchWatch.h193 static void HitPhysicalTrue_fk_n(BranchWatch* branch_watch, u64 fake_key, u32 inst, u32 n)CODE
LOW⚡Source/Core/Core/Debugger/BranchWatch.h195 branch_watch->m_collection_pt[{std::bit_cast<FakeBranchWatchCollectionKey>(fake_key), inst}]CODE
LOWdocs/ResourcePacks.md61"authors": ["John Doe", "Jane Doe"],CODE
LOWdocs/ResourcePacks.md61"authors": ["John Doe", "Jane Doe"],CODE
Self-Referential Comments7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMExternals/mbedtls/include/psa/crypto.h967 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMExternals/mbedtls/include/psa/crypto.h1341 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMExternals/mbedtls/include/psa/crypto.h1402 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMExternals/mbedtls/include/psa/crypto.h1761 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMExternals/mbedtls/include/psa/crypto.h1825 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMExternals/mbedtls/include/psa/crypto.h2290 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMExternals/mbedtls/include/psa/crypto.h2360 * -# Initialize the operation object with one of the methods described in theCOMMENT
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHTools/test-updater.py172except:CODE
HIGHTools/test-updater.py176except:CODE
HIGHTools/ghidra/SaveDolphinMap.py55except:CODE
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMExternals/liblzma/CMakeLists.txt54#============================================================================COMMENT
MEDIUMExternals/liblzma/CMakeLists.txt56#============================================================================COMMENT
MEDIUMExternals/bzip2/CMakeLists.txt52#============================================================================COMMENT
MEDIUMExternals/bzip2/CMakeLists.txt54#============================================================================COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHSource/Core/Core/HW/DSPHLE/UCodes/Zelda.h227 // command buffer. In this implementation, the synchronous+interrupts flowCOMMENT
Structural Annotation Overuse4 hits · 7 pts
SeverityFileLineSnippetContext
LOWSource/Core/Core/Core.cpp982 // NOTE: This function is potentially re-entrant. If a job callsCOMMENT
LOW⚡Source/Core/Core/PowerPC/PPCAnalyst.cpp418 // Step 1: Find all functionsCOMMENT
LOWExternals/liblzma/common/index_hash.c184 // NOTE: This function has many similarities to index_encode() andCOMMENT
LOWExternals/liblzma/common/block_util.c51 // NOTE: This function is used for validation too, so it isCOMMENT
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
LOWSource/Core/Core/State.cpp99// Don't forget to increase this after doing changes on the savestate systemCOMMENT
LOWSource/Core/DolphinQt/Config/SettingsWindow.cpp193 // If you change the order, don't forget to update the SettingsWindowPaneIndex enum.COMMENT
LOWExternals/mbedtls/include/mbedtls/blowfish.h40#define MBEDTLS_BLOWFISH_ROUNDS 16 /**< Rounds to use. When increasing this value, make sure to extend the COMMENT
Verbosity Indicators2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡Source/Core/Core/PowerPC/PPCAnalyst.cpp418 // Step 1: Find all functionsCOMMENT
LOW⚡Source/Core/Core/PowerPC/PPCAnalyst.cpp423 // Step 2:COMMENT
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWTools/test-updater.py56CODE
LOWExternals/mbedtls/scripts/config.py439CODE
LOWExternals/discord-rpc/build.py255CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWTools/perf-disassemble.sh11# Example usage:COMMENT
LOWSource/Core/Common/Analytics.h31// Example usage:COMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWSource/Core/Core/HW/DSPHLE/UCodes/AXStructs.h35 // TODO: implement and comment it in the mixerCOMMENT
LOWSource/Core/VideoBackends/Software/SWEfbInterface.cpp494 // TODO: implement support for multisampling.COMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWTools/test-updater.py55class HTTPRequestHandler(http.server.BaseHTTPRequestHandler):CODE
LOWTools/find-includes-cycles.py17def strongly_connected_components(graph: dict[str, list[str]]) -> list[tuple[str, ...]]:CODE
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWTools/test-updater.py19CODE