AI Slop Code Risk Monitor

diasurgical/DevilutionX

SlopCodeMonitor badge for diasurgical/DevilutionX Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Diablo build for modern operating systems

2.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for diasurgical/DevilutionX, a C++ project with 9,970 GitHub stars. SynthScan examined 190,853 lines of code across 939 source files, recording 408 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 2.2 (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.2
Adjusted Signal
2.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
10.0K
Stars
C++
Language
190.9K
Lines of Code
939
Files
408
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 10.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 10.3/100 · LOW

Which changes need focused human review? 408 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 1MEDIUM 2LOW 405

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 408 distinct pattern matches across 8 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 Block387 hits · 387 pts
SeverityFileLineSnippetContext
LOWPackaging/apple/png2icns_tiger/png2icns_tiger.c21 */COMMENT
LOWPackaging/windows/mingw9x-prep.sh1#!/usr/bin/env bashCOMMENT
LOWPackaging/windows/mingwxp-prep.sh1#!/usr/bin/env bashCOMMENT
LOW…ject/app/src/main/java/org/libsdl/app/SDLActivity.java1321 source = device.getSources();COMMENT
LOWtest/pcx_to_clx_test.cpp1#include <cstddef>COMMENT
LOWtest/pack_test.cpp1#include <cstdint>COMMENT
LOWtest/dun_render_benchmark.cpp1#include <array>COMMENT
LOWtest/mod_identity_test.cpp1#include <gtest/gtest.h>COMMENT
LOWtest/palette_blending_test.cpp1#include "utils/palette_blending.hpp"COMMENT
LOWtest/writehero_test.cpp1#include "player_test.h"COMMENT
LOWtest/ui_test.hpp21#include "inv.h"COMMENT
LOWtest/light_render_benchmark.cpp1#include <array>COMMENT
LOWtest/store_transaction_test.cpp21 * where 5 is PreviousScrollPos (set by ScrollVendorStore).COMMENT
LOWtest/store_transaction_test.cpp41#include "storm/storm_net.hpp"COMMENT
LOWtest/panel_state_test.cpp21#include "panels/quest_log.hpp"COMMENT
LOWtest/visual_store_test.cpp21#include <algorithm>COMMENT
LOWtest/timedemo_test.cpp1#include <filesystem>COMMENT
LOWtest/text_render_integration_test.cpp1#include <gmock/gmock.h>COMMENT
LOWtest/text_render_integration_test.cpp21#include "engine/load_file.hpp"COMMENT
LOWtest/reencode_dun_cels_test.cpp1#include "levels/reencode_dun_cels.hpp"COMMENT
LOWCMake/platforms/debian-cross-pkg-config.sh1#!/bin/shCOMMENT
LOWSource/hwcursor.cpp1#include "hwcursor.hpp"COMMENT
LOWSource/hwcursor.cpp21COMMENT
LOWSource/gmenu.cpp1/**COMMENT
LOWSource/gmenu.cpp21#include "DiabloUI/ui_flags.hpp"COMMENT
LOWSource/effects.cpp1/**COMMENT
LOWSource/init.hpp1/**COMMENT
LOWSource/capture.cpp1/**COMMENT
LOWSource/capture.cpp21#endifCOMMENT
LOWSource/player.cpp1/**COMMENT
LOWSource/player.cpp21#include "dead.h"COMMENT
LOWSource/player.cpp41#include "loadsave.h"COMMENT
LOWSource/monster.h1/**COMMENT
LOWSource/monster.h21#include "engine/point.hpp"COMMENT
LOWSource/diablo_msg.cpp1/**COMMENT
LOWSource/monster.cpp1/**COMMENT
LOWSource/monster.cpp21#include <numeric>COMMENT
LOWSource/monster.cpp41#include "effects.h"COMMENT
LOWSource/monster.cpp61#include "items.h"COMMENT
LOWSource/monster.cpp81#include "sound_effect_enums.h"COMMENT
LOWSource/pfile.h1/**COMMENT
LOWSource/stores.h1/**COMMENT
LOWSource/objects.cpp1/**COMMENT
LOWSource/objects.cpp21#endifCOMMENT
LOWSource/objects.cpp41#include "qol/stash.h"COMMENT
LOWSource/help.cpp1/**COMMENT
LOWSource/menu.cpp1/**COMMENT
LOWSource/pack.cpp1/**COMMENT
LOWSource/player.h1/**COMMENT
LOWSource/player.h21#include "engine/point.hpp"COMMENT
LOWSource/options.cpp1/**COMMENT
LOWSource/options.cpp21#ifdef USE_SDL3COMMENT
LOWSource/options.cpp41#include "utils/format.hpp"COMMENT
LOWSource/inv.cpp1/**COMMENT
LOWSource/inv.cpp21#include "controls/plrctrls.h"COMMENT
LOWSource/inv.cpp41#include "qol/visual_store.h"COMMENT
LOWSource/inv.cpp841 // otherwise one hand is empty (and we can let the auto-equip code put the target item intoCOMMENT
LOWSource/nthread.cpp1/**COMMENT
LOWSource/minitext.cpp1/**COMMENT
LOWSource/options.h1#pragma onceCOMMENT
327 more matches not shown…
Unused Imports9 hits · 9 pts
SeverityFileLineSnippetContext
LOWPackaging/cpi-gamesh/__init__.py3CODE
LOWPackaging/cpi-gamesh/__init__.py4CODE
LOWPackaging/cpi-gamesh/__init__.py5CODE
LOWPackaging/cpi-gamesh/__init__.py5CODE
LOWPackaging/cpi-gamesh/__init__.py14CODE
LOWPackaging/cpi-gamesh/__init__.py14CODE
LOWPackaging/cpi-gamesh/__init__.py15CODE
LOWPackaging/cpi-gamesh/__init__.py16CODE
LOWtools/gdb/devilution_gdb/__init__.py6CODE
AI Slop Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMPackaging/emscripten/index.html345 // application robust, you may want to override this behavior before shipping!COMMENT
LOWPackaging/OpenDingux/build.sh46 # If a TOOLCHAIN environment variable is set, just use that.COMMENT
MEDIUM…oject/app/src/main/java/org/libsdl/app/SDLSurface.java231 // if we are. We'll leverage our existing mouse motion listenerCOMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHPackaging/cpi-gamesh/__init__.py108except:CODE
Deep Nesting4 hits · 4 pts
SeverityFileLineSnippetContext
LOWPackaging/cpi-gamesh/__init__.py231CODE
LOWtools/validate_translations.py9CODE
LOWtools/extract_translation_data.py52CODE
LOWtools/segmenter/segmenter_lib.py97CODE
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…oject/app/src/main/java/org/libsdl/app/SDLSurface.java230 // We need to check if we're in relative mouse mode and get the axis offset rather than the x/y valuesCOMMENT
LOWSource/vision.cpp79 // grid, so we need to check if a ray can pass throughCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW3rdParty/tl/function_ref.hpp128/// Example usage:COMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWSource/lua/autocomplete.cpp43sol::protected_function LoadLuaFunctionSignatureGetter(sol::state &lua)CODE