AI Slop Code Risk Monitor

SaschaWillems/Vulkan

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

C++ examples for the Vulkan graphics API

2.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for SaschaWillems/Vulkan, a GLSL project with 12,202 GitHub stars. SynthScan examined 186,445 lines of code across 1277 source files, recording 429 pattern matches distributed across 7 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-25
Last Push
12.2K
Stars
GLSL
Language
186.4K
Lines of Code
1.3K
Files
429
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.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 11.1/100 · LOW

Which changes need focused human review? 429 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 424

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 429 distinct pattern matches across 7 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 Block408 hits · 370 pts
SeverityFileLineSnippetContext
LOWapple/examples.h21 * from the Preprocessor Macros compiler setting in the MoltenVK examples project.COMMENT
LOWapple/examples.h41#endifCOMMENT
LOWapple/examples.h61# include "../examples/pushconstants/pushconstants.cpp"COMMENT
LOWapple/examples.h81#ifdef MVK_texturecubemaparrayCOMMENT
LOWapple/examples.h101#ifdef MVK_particlesystemCOMMENT
LOWapple/examples.h121# include "../examples/gltfskinning/gltfskinning.cpp"COMMENT
LOWapple/examples.h141#endifCOMMENT
LOWapple/examples.h161COMMENT
LOWapple/examples.h181#endifCOMMENT
LOWapple/examples.h201COMMENT
LOWapple/examples.h221# include "../examples/deferred/deferred.cpp"COMMENT
LOWapple/examples.h241# include "../examples/computeshader/computeshader.cpp"COMMENT
LOWapple/examples.h261#ifdef MVK_computecullandlodCOMMENT
LOWapple/examples.h281// Not supported on iOS Simulator which does not support tessellation shaders.COMMENT
LOWapple/examples.h301# include "../examples/raytracingbasic/raytracingbasic.cpp"COMMENT
LOWapple/examples.h321# include "../examples/raytracingcallable/raytracingcallable.cpp"COMMENT
LOWapple/examples.h341# include "../examples/raytracingpositionfetch/raytracingpositionfetch.cpp"COMMENT
LOWapple/examples.h361COMMENT
LOWapple/examples.h381#ifdef MVK_conservativerasterCOMMENT
LOWapple/examples.h401#endifCOMMENT
LOWapple/examples.h421COMMENT
LOWapple/examples.h441#ifdef MVK_graphicspipelinelibraryCOMMENT
LOWapple/examples.h461#ifdef MVK_descriptorbufferCOMMENT
LOWapple/examples.h481#endifCOMMENT
LOWapple/examples.h501# include "../examples/bloom/bloom.cpp"COMMENT
LOWapple/examples.h521# include "../examples/vulkanscene/vulkanscene.cpp"COMMENT
LOWopenharmony/computeshader/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/vulkanscene/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/offscreen/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOW…armony/sphericalenvmapping/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/pbrbasic/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/shadowmapping/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/subpasses/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOW…harmony/descriptorindexing/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/computenbody/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/screenshot/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOW…mony/deferredmultisampling/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOW…enharmony/inputattachments/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/texturearray/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/textoverlay/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/parallaxmapping/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOW…ony/negativeviewportheight/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/descriptorsets/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOW…harmony/gltfscenerendering/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/pbribl/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/instancing/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/pushconstants/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/deferred/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOW…rmony/dynamicuniformbuffer/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/radialblur/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/multithreading/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/imgui/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/hdr/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/computeheadless/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/tessellation/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOW…armony/terraintessellation/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/triangle/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOW…harmony/pipelinestatistics/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/pipelines/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
LOWopenharmony/displacement/entry/obfuscation-rules.txt1# Define project specific obfuscation rules here.COMMENT
348 more matches not shown…
Slop Phrases5 hits · 13 pts
SeverityFileLineSnippetContext
MEDIUMexamples/screenshot/screenshot.cpp314 // Note: Not complete, only contains most common and basic BGR surface formats for demonstration purposesCOMMENT
MEDIUM…ynamicrenderingsecondary/dynamicrenderingsecondary.cpp309 // This is just for demonstration purposes, for such a simple use-case this won't improve performance (and most likel COMMENT
MEDIUMexamples/trianglevulkan13/trianglevulkan13.cpp234 // We do this for demonstration purposes, a triangle doesn't require indices to be rendered (because of the 1:1 mappinCOMMENT
MEDIUMexternal/imgui/imgui_widgets.cpp4964// Tip: pass an empty label (e.g. "##dummy") then you can use the space to draw other text or image.COMMENT
LOWexternal/imgui/imgui.cpp407 - 2017/08/25 (1.52) - io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. PreviCODE
Verbosity Indicators5 hits · 8 pts
SeverityFileLineSnippetContext
LOWexamples/variablerateshading/variablerateshading.cpp273 // We need to check if the requested format for the shading rate attachment supports the required flagCOMMENT
LOW⚡external/imgui/imgui.cpp2043 if (StepNo == 0) // Step 0: the clipper let you process the first element, regardless of it being visible or not, soCODE
LOW⚡external/imgui/imgui.cpp2051 if (StepNo == 1) // Step 1: the clipper infer height from first element, calculate the actual range of elements to dCODE
LOW⚡external/imgui/imgui.cpp2062 if (StepNo == 2) // Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin(CODE
LOW⚡external/imgui/imgui.cpp2068 if (StepNo == 3) // Step 3: the clipper validate that we have reached the expected Y position (corresponding to elemCODE
Structural Annotation Overuse4 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡external/imgui/imgui.cpp2043 if (StepNo == 0) // Step 0: the clipper let you process the first element, regardless of it being visible or not, soCODE
LOW⚡external/imgui/imgui.cpp2051 if (StepNo == 1) // Step 1: the clipper infer height from first element, calculate the actual range of elements to dCODE
LOW⚡external/imgui/imgui.cpp2062 if (StepNo == 2) // Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin(CODE
LOW⚡external/imgui/imgui.cpp2068 if (StepNo == 3) // Step 3: the clipper validate that we have reached the expected Y position (corresponding to elemCODE
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWshaders/slang/compileshaders.py5CODE
LOWshaders/slang/compileshaders.py9CODE
LOWshaders/glsl/compileshaders.py5CODE
LOWshaders/hlsl/compileshaders.py5CODE
Excessive Try-Catch Wrapping1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMshaders/slang/compileshaders.py133 print("Error %s", res)CODE
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWexternal/imgui/imgui_demo.cpp3191 ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incidCODE
LOWexternal/imgui/imgui_demo.cpp3191 ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incidCODE