AI Slop Code Risk Monitor

moonlight-stream/moonlight-qt

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

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)

1.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for moonlight-stream/moonlight-qt, a C++ project with 19,326 GitHub stars. SynthScan examined 81,431 lines of code across 188 source files, recording 95 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.3 (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.

1.3
Adjusted Signal
1.3
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
19.3K
Stars
C++
Language
81.4K
Lines of Code
188
Files
95
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 6.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 6.2/100 · LOW

Which changes need focused human review? 95 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 0MEDIUM 5LOW 90

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 95 distinct pattern matches across 4 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 Block89 hits · 89 pts
SeverityFileLineSnippetContext
LOWapp/masterhook.c1// This file contains hooks for several functions that allowCOMMENT
LOWapp/masterhook.c21#include <dlfcn.h>COMMENT
LOWapp/masterhook_internal.c1// This file contains the private implementation of the open() hookCOMMENT
LOWapp/SDL_compat.h21#ifndef SDL_HINT_VIDEO_X11_FORCE_EGLCOMMENT
LOWapp/SDL_compat.h41#ifndef SDL_HINT_WINDOWS_USE_D3D9EXCOMMENT
LOWapp/SDL_compat.h61#ifndef SDL_HINT_MOUSE_AUTO_CAPTURECOMMENT
LOWapp/main.cpp1#include <QGuiApplication>COMMENT
LOWapp/main.cpp21COMMENT
LOWapp/main.cpp41COMMENT
LOWapp/main.cpp61// Log to file or console dynamically for Windows buildsCOMMENT
LOWapp/main.cpp521 // Force libssl.so to be directly linked to our binary, soCOMMENT
LOWapp/main.cpp621 // This avoids using the default keychain for SSL, which may causeCOMMENT
LOWapp/main.cpp641 //COMMENT
LOWapp/main.cpp701#endifCOMMENT
LOWapp/main.cpp721 // the mouse motion exactly how it was given to us.COMMENT
LOWapp/main.cpp741 SDL_SetHint(SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING, "0");COMMENT
LOWapp/main.cpp761 if (!qgetenv("XDG_CURRENT_DESKTOP").contains("KDE")) {COMMENT
LOWapp/wm.cpp1#include <QtGlobal>COMMENT
LOWapp/wm.cpp21#ifdef HAVE_EGLCOMMENT
LOWapp/settings/streamingpreferences.cpp1#include "streamingpreferences.h"COMMENT
LOWapp/settings/streamingpreferences.cpp21#define SER_VSYNC "vsync"COMMENT
LOWapp/settings/streamingpreferences.cpp41#define SER_GAMEPADMOUSE "gamepadmouse"COMMENT
LOWapp/deploy/steamlink/moonlight.sh1#!/bin/shCOMMENT
LOWapp/backend/nvhttp.cpp1#include "nvcomputer.h"COMMENT
LOWapp/backend/nvcomputer.cpp1#include "nvcomputer.h"COMMENT
LOWapp/backend/computermanager.cpp1#include "computermanager.h"COMMENT
LOWapp/backend/identitymanager.cpp1#include "identitymanager.h"COMMENT
LOWapp/backend/computermanager.h1#pragma onceCOMMENT
LOWapp/streaming/streamutils.cpp1#include "streamutils.h"COMMENT
LOWapp/streaming/streamutils.cpp21#ifdef Q_OS_LINUXCOMMENT
LOWapp/streaming/streamutils.cpp41struct riscv_hwprobe {COMMENT
LOWapp/streaming/session.cpp1#include "session.h"COMMENT
LOWapp/streaming/session.cpp21#elseCOMMENT
LOWapp/streaming/session.cpp801 //COMMENT
LOWapp/streaming/session.cpp861 // We'll try to fall back to HEVC first if AV1 fails. We'd rather not fall backCOMMENT
LOWapp/streaming/session.cpp1521COMMENT
LOWapp/streaming/session.cpp1981 // SDL 2.0.18 has a proper wait event implementation that uses platformCOMMENT
LOWapp/streaming/session.cpp2341 // interfere with SDLGamepadKeyNavigation.COMMENT
LOWapp/streaming/video/ffmpeg.cpp1#include <Limelight.h>COMMENT
LOWapp/streaming/video/ffmpeg.cpp21#ifdef Q_OS_DARWINCOMMENT
LOWapp/streaming/video/ffmpeg.cpp41#ifdef HAVE_EGLCOMMENT
LOWapp/streaming/video/ffmpeg-renderers/eglvid.h61COMMENT
LOWapp/streaming/video/ffmpeg-renderers/vaapi.h1#pragma onceCOMMENT
LOWapp/streaming/video/ffmpeg-renderers/vaapi.h21#endifCOMMENT
LOWapp/streaming/video/ffmpeg-renderers/vaapi.h41#ifdef HAVE_LIBVA_X11COMMENT
LOWapp/streaming/video/ffmpeg-renderers/d3d11va.cpp1// For D3D11_DECODER_PROFILE valuesCOMMENT
LOWapp/streaming/video/ffmpeg-renderers/d3d11va.cpp561 // 3 front buffers (default GetMaximumFrameLatency() count)COMMENT
LOWapp/streaming/video/ffmpeg-renderers/d3d11va.cpp1521 //COMMENT
LOWapp/streaming/video/ffmpeg-renderers/eglvid.cpp1// vim: noai:ts=4:sw=4:softtabstop=4:expandtabCOMMENT
LOWapp/streaming/video/ffmpeg-renderers/eglvid.cpp401{COMMENT
LOWapp/streaming/video/ffmpeg-renderers/eglvid.cpp581 // situation, swap interval > 0 behaves as a frame pacing optionCOMMENT
LOWapp/streaming/video/ffmpeg-renderers/vt_base.mm1// Nasty hack to avoid conflict between AVFoundation andCOMMENT
LOWapp/streaming/video/ffmpeg-renderers/vaapi.cpp1#include <QString>COMMENT
LOWapp/streaming/video/ffmpeg-renderers/plvk.h121 // The staging overlay state is copied here under the overlay lock in the render thread.COMMENT
LOWapp/streaming/video/ffmpeg-renderers/renderer.h1#pragma onceCOMMENT
LOWapp/streaming/video/ffmpeg-renderers/renderer.h61COMMENT
LOWapp/streaming/video/ffmpeg-renderers/renderer.h81#define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273COMMENT
LOWapp/streaming/video/ffmpeg-renderers/renderer.h101COMMENT
LOWapp/streaming/video/ffmpeg-renderers/renderer.h181COMMENT
LOWapp/streaming/video/ffmpeg-renderers/renderer.h201 }COMMENT
29 more matches not shown…
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMapp/main.cpp732 // on Wayland). We don't want this behavior because it interferes with seamless mouseCOMMENT
MEDIUMapp/streaming/video/ffmpeg-renderers/vaapi.cpp286 // more robust than earlier versions and it includes DRI3 support forCOMMENT
Self-Referential Comments2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMscripts/git-archive-all.sh191TMPFILE=`mktemp "$TMPDIR/$PROGRAM.XXXXXX"` # Create a place to store our work's progressCODE
MEDIUMscripts/git-archive-all.sh219# Create the superproject's git-archiveCOMMENT
Excessive Try-Catch Wrapping2 hits · 3 pts
SeverityFileLineSnippetContext
MEDIUMsetup-deps.py19 print(f"Error: Unsupported platform ({system})")CODE
LOWsetup-deps.py39 except Exception as e:CODE