AI Slop Code Risk Monitor

gnif/LookingGlass

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

An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough.

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for gnif/LookingGlass, a C project with 5,751 GitHub stars. SynthScan examined 197,170 lines of code across 590 source files, recording 263 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-10-07
Last Push
5.8K
Stars
C
Language
197.2K
Lines of Code
590
Files
263
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 5.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 6.6/100 · LOW

Which changes need focused human review? 263 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 0LOW 262

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 263 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 Block260 hits · 233 pts
SeverityFileLineSnippetContext
LOWidd/LGCommon/CDebug.h81#define DEBUG_ERROR(fmt, ...) g_debug.Log(CDebug::LEVEL_ERROR, __FUNCTION__, __LINE__, fmt, ##__VA_ARGS__)COMMENT
LOWidd/LGIddInstall/LGIddInstall.c21#define WIN32_LEAN_AND_MEANCOMMENT
LOWidd/LGIddInstall/LGIddInstall.c41#define LGIDD_CLASS_NAME L"Display"COMMENT
LOWidd/LGIdd/Device.cpp21#include "driver.h"COMMENT
LOWidd/LGIdd/Trace.h41 (WPP_LEVEL_ENABLED(flags) && WPP_CONTROL(WPP_BIT_ ## flags).Level >= lvl)COMMENT
LOWidd/LGIdd/capture/CSwapChainProcessor.cpp21#include "capture/CSwapChainProcessor.h"COMMENT
LOWidd/LGIdd/capture/CFrameExec.cpp21#include "capture/CFrameExec.h"COMMENT
LOWidd/LGIdd/capture/CSwapChainProcessor.h21#pragma onceCOMMENT
LOWidd/LGIdd/transport/CTransportManager.h21#pragma onceCOMMENT
LOWidd/LGIdd/transport/IClipboardSource.h21#pragma onceCOMMENT
LOWidd/LGIdd/transport/IClipboardSource.h61COMMENT
LOWidd/LGIdd/transport/CTransportManager.cpp21#include "transport/CTransportManager.h"COMMENT
LOWidd/LGIdd/transport/lgmp/CLGMPTransport.h21#pragma onceCOMMENT
LOWidd/LGIdd/transport/lgmp/CRecovery.cpp21#include "transport/lgmp/CRecovery.h"COMMENT
LOWidd/LGIdd/transport/lgmp/CLGMPInputTransport.cpp21#include <ntstatus.h>COMMENT
LOWidd/LGIdd/transport/lgmp/CLGMPFrameTransport.cpp21#include "transport/lgmp/CLGMPFrameTransport.h"COMMENT
LOWidd/LGIdd/transport/lgmp/CLGMPClipboardTransport.cpp21#include <ntstatus.h>COMMENT
LOWidd/LGIdd/transport/lgmp/CLGMPFrameTransport.h21#pragma onceCOMMENT
LOWidd/LGIdd/display/CDeviceContext.cpp21#include "display/CDeviceContext.h"COMMENT
LOWidd/LGIdd/display/IddCxCompat.h21#pragma onceCOMMENT
LOWidd/LGIdd/display/CDeviceContext.h21#pragma onceCOMMENT
LOWidd/LGIddHelper/CClipboardManager.cpp21#include "CClipboardManager.h"COMMENT
LOWidd/LGIddHelper/Resources.h21#pragma onceCOMMENT
LOWidd/LGIddHelper/CNotifyWindow.cpp21#include "CNotifyWindow.h"COMMENT
LOWidd/LGIddHelper/CClipboardManager.h21#pragma onceCOMMENT
LOWidd/LGIddHelper/CClipboardFiles.cpp21#include "CClipboardFiles.h"COMMENT
LOWidd/LGIddHelper/CClipboardFiles.h21#pragma onceCOMMENT
LOWidd/LGIddHelper/CConfigWindow.cpp21#include "CConfigWindow.h"COMMENT
LOWidd/LGIddHelper/main.cpp21#include <Windows.h>COMMENT
LOWidd/LGInput/Trace.h41 (WPP_LEVEL_ENABLED(flags) && WPP_CONTROL(WPP_BIT_ ## flags).Level >= lvl)COMMENT
LOWhost/include/interface/platform.h21#pragma onceCOMMENT
LOWhost/platform/Linux/capture/XCB/src/xcb.c21#include "interface/capture.h"COMMENT
LOWhost/platform/Linux/capture/pipewire/src/pipewire.c21#include "portal.h"COMMENT
LOWhost/platform/Linux/src/platform.c21#include "interface/platform.h"COMMENT
LOWhost/platform/Windows/capture/D12/d12.h81#ifdef ID3D12Resource_GetDescCOMMENT
LOWhost/platform/Windows/capture/D12/d12.c21#include "d12.h"COMMENT
LOWhost/platform/Windows/capture/D12/effect/downsample.c21#include "effect.h"COMMENT
LOWhost/platform/Windows/capture/D12/backend/dd.c21#include "backend.h"COMMENT
LOWhost/platform/Windows/capture/NVFBC/src/nvfbc.c21#include "interface/capture.h"COMMENT
LOWhost/platform/Windows/capture/DXGI/src/dxgi.c21#include "interface/capture.h"COMMENT
LOWhost/platform/Windows/capture/DXGI/src/dxgi.c41#include <dxgi1_3.h>COMMENT
LOWhost/platform/Windows/src/platform.c21#include "platform.h"COMMENT
LOWhost/platform/Windows/src/service.c21#include "interface/platform.h"COMMENT
LOWhost/src/app.c21#include "interface/platform.h"COMMENT
LOWmodule/kvmfr.c21#define PCI_KVMFR_VENDOR_ID 0x1af4 //Red Hat Inc,COMMENT
LOWmodule/test.c21#include <stdio.h>COMMENT
LOWobs/frame_scheduler.c21#include "frame_scheduler.h"COMMENT
LOWobs/lg.c21#define _GNU_SOURCE //needed for pthread_setname_npCOMMENT
LOWcommon/include/common/debug.h121 debug_levelML(level, STRIPPATH(__FILE__), __LINE__, __FUNCTION__, \COMMENT
LOWcommon/include/common/debug.h161} while (0)COMMENT
LOWcommon/include/common/display.h21#ifndef _H_COMMON_DISPLAY_COMMENT
LOWcommon/include/common/array.h21#ifndef _LG_ARRAY_H_COMMENT
LOWcommon/include/common/windebug.h21#ifndef _H_LG_COMMON_WINDEBUG_COMMENT
LOWcommon/include/common/util.h21#ifndef _H_LG_COMMON_UTIL_COMMENT
LOWcommon/src/framebuffer.c21#include "common/framebuffer.h"COMMENT
LOWcommon/src/platform/linux/crash.c21#include "common/crash.h"COMMENT
LOWcommon/src/platform/linux/ivshmem.c21#include "common/ivshmem.h"COMMENT
LOWprofile/client/src/main.c21#include "common/debug.h"COMMENT
LOWdoc/conf.py1# Configuration file for the Sphinx documentation builder.COMMENT
LOWdoc/conf.py61# directories to ignore when looking for source files.COMMENT
200 more matches not shown…
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdoc/conf.py45except ImportError:CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWhost/platform/Linux/capture/pipewire/src/pipewire.c459 // TODO: implement damage.COMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdoc/conf.py12CODE