AI Slop Code Risk Monitor

cyanfish/naps2

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

Scan documents to PDF and more, as simply as possible.

2.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for cyanfish/naps2, a C# project with 4,726 GitHub stars. SynthScan examined 108,594 lines of code across 1172 source files, recording 173 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 2.5 (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.5
Adjusted Signal
2.5
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
4.7K
Stars
C#
Language
108.6K
Lines of Code
1.2K
Files
173
Pattern Hits
2026-10-31
Scan Date
0.01
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 11.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 10.7/100 · LOW

Which changes need focused human review? 173 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 14MEDIUM 1LOW 158

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 173 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 Block141 hits · 141 pts
SeverityFileLineSnippetContext
LOWNAPS2.Lib.Wpf/EtoForms/Wpf/XamlTemplates.cs21COMMENT
LOWNAPS2.Lib/ClientCreds-.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWNAPS2.Lib/Icons.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWNAPS2.Lib/ClientCreds_.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWNAPS2.Lib/Util/IOverwritePrompt.cs1namespace NAPS2.Util;COMMENT
LOWNAPS2.Lib/Config/Naps2Config.cs1using NAPS2.Config.Model;COMMENT
LOWNAPS2.Lib/Config/Model/ConfigAttribute.cs1namespace NAPS2.Config.Model;COMMENT
LOWNAPS2.Lib/Config/Model/TransactionConfigScope.cs1using System.Linq.Expressions;COMMENT
LOWNAPS2.Lib/Images/ListViewDiffs.cs1using System.Collections.Immutable;COMMENT
LOWNAPS2.Lib/Recovery/RecoveryStorageManager.cs1using NAPS2.Scan;COMMENT
LOWNAPS2.Lib/Recovery/RecoveryImage.cs1namespace NAPS2.Recovery;COMMENT
LOWNAPS2.Lib/Recovery/RecoveryImage.cs21// {COMMENT
LOWNAPS2.Lib/Recovery/RecoveryImage.cs41// _recoveryLockFile = new FileInfo(Path.Combine(_recoveryFolder.FullName, LOCK_FILE_NAME));COMMENT
LOWNAPS2.Lib/Recovery/RecoveryImage.cs61// return DeferredSave.Defer();COMMENT
LOWNAPS2.Lib/Recovery/RecoveryImage.cs81// _recoveryIndexManager.Index.Images.AddRange(images.Select(x => x.RecoveryIndexImage));COMMENT
LOWNAPS2.Lib/Recovery/RecoveryImage.cs101// }COMMENT
LOWNAPS2.Lib/Recovery/RecoveryImage.cs121// IndexImage = new RecoveryIndexImageCOMMENT
LOWNAPS2.Lib/Recovery/RecoveryImage.cs141// FileName = recoveryIndexImage.FileName;COMMENT
LOWNAPS2.Lib/Recovery/RecoveryImage.cs161// if (_recoveryIndexManager != null)COMMENT
LOWNAPS2.Lib/Recovery/RecoveryImage.cs181// lock (_recoveryIndexManager)COMMENT
LOWNAPS2.Lib/Recovery/RecoveryImage.cs201// _recoveryIndexManager.Save();COMMENT
LOWNAPS2.Lib/Ocr/OcrOperationManager.cs1using System.Threading;COMMENT
LOWNAPS2.Lib/ImportExport/NameContext.cs1namespace NAPS2.ImportExport;COMMENT
LOWNAPS2.Lib/ImportExport/NameContext.cs21 /// The zero-based index of the file within a batch of files. The number in the name is at least BatchIndex + 1,COMMENT
LOWNAPS2.Lib/ImportExport/OverwriteMode.cs1namespace NAPS2.ImportExport;COMMENT
LOWNAPS2.Lib/ImportExport/Numbering.cs1namespace NAPS2.ImportExport;COMMENT
LOWNAPS2.Lib/ImportExport/Numbering.cs21 /// if it would otherwise conflict with an existing or reserved file. This is an alternative to prompting the userCOMMENT
LOWNAPS2.Lib/ImportExport/SaveParams.cs1namespace NAPS2.ImportExport;COMMENT
LOWNAPS2.Lib/ImportExport/SaveParams.cs21COMMENT
LOWNAPS2.Lib/Lang/LanguageNames.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWNAPS2.Lib/Lang/Resources/SettingsResources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWNAPS2.Lib/Lang/Resources/MiscResources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOW…Lib/Lang/ConsoleResources/ConsoleResources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWNAPS2.Lib/EtoForms/Layout/C.cs61 /// <param name="text"></param>COMMENT
LOWNAPS2.Lib/EtoForms/Notifications/ISaveNotify.cs1namespace NAPS2.EtoForms.Notifications;COMMENT
LOWNAPS2.Escl/Client/EsclServiceLocator.cs61 if (_discovery.Mdns == null)COMMENT
LOWNAPS2.Escl/Client/EsclService.cs21COMMENT
LOWNAPS2.Escl/Client/EsclService.cs41COMMENT
LOWNAPS2.Escl/Client/EsclService.cs61 public string? TxtVersion { get; init; }COMMENT
LOWNAPS2.Escl/Client/EsclService.cs81 public string? Note { get; init; }COMMENT
LOWNAPS2.Sdk/Images/ProcessedImage.cs41COMMENT
LOWNAPS2.Sdk/Images/Deskewer.cs1using NAPS2.Images.Bitwise;COMMENT
LOWNAPS2.Sdk/Serialization/SerializeImageOptions.cs1namespace NAPS2.Serialization;COMMENT
LOWNAPS2.Sdk/Serialization/SerializeImageOptions.cs21 public bool IncludeThumbnail { get; init; }COMMENT
LOWNAPS2.Sdk/Ocr/OcrController.cs1using System.Threading;COMMENT
LOWNAPS2.Sdk/Ocr/OcrRequestQueue.cs41 /// result.COMMENT
LOWNAPS2.Sdk/Ocr/TesseractOcrEngine.cs21 /// <summary>COMMENT
LOWNAPS2.Sdk/Ocr/TesseractOcrEngine.cs341// {COMMENT
LOWNAPS2.Sdk/Ocr/TesseractOcrEngine.cs361// }COMMENT
LOWNAPS2.Sdk/Ocr/OcrRequestParams.cs1namespace NAPS2.Ocr;COMMENT
LOWNAPS2.Sdk/Pdf/PdfiumPdfExporter.cs41 // document.Info.Title = exportParams.Metadata?.Title;COMMENT
LOWNAPS2.Sdk/Pdf/PdfiumPdfExporter.cs141 done++;COMMENT
LOWNAPS2.Sdk/Pdf/PdfiumPdfExporter.cs161// {COMMENT
LOWNAPS2.Sdk/Pdf/PdfiumPdfExporter.cs181// elseCOMMENT
LOWNAPS2.Sdk/Pdf/PdfiumPdfExporter.cs201// }COMMENT
LOWNAPS2.Sdk/Pdf/PdfiumPdfExporter.cs221// var ocrTask = _scanningContext.OcrRequestQueue.Enqueue(COMMENT
LOWNAPS2.Sdk/Pdf/PdfiumPdfExporter.cs241// {COMMENT
LOWNAPS2.Sdk/Pdf/PdfiumPdfExporter.cs261// bool inTextBlock = false;COMMENT
LOWNAPS2.Sdk/Pdf/PdfiumPdfExporter.cs281// }COMMENT
LOWNAPS2.Sdk/Pdf/PdfiumPdfExporter.cs301// #elseCOMMENT
81 more matches not shown…
Synthetic Comment Markers14 hits · 105 pts
SeverityFileLineSnippetContext
HIGHNAPS2.Lib/ClientCreds-.Designer.cs3// This code was generated by a tool.COMMENT
HIGHNAPS2.Lib/Icons.Designer.cs3// This code was generated by a tool.COMMENT
HIGHNAPS2.Lib/ClientCreds_.Designer.cs3// This code was generated by a tool.COMMENT
HIGHNAPS2.Lib/Lang/LanguageNames.Designer.cs3// This code was generated by a tool.COMMENT
HIGHNAPS2.Lib/Lang/Resources/UiStrings.Designer.cs3// This code was generated by a tool.COMMENT
HIGHNAPS2.Lib/Lang/Resources/SettingsResources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHNAPS2.Lib/Lang/Resources/MiscResources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…Lib/Lang/ConsoleResources/ConsoleResources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHNAPS2.Sdk/Lang/Resources/SdkResources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHNAPS2.Lib.Tests/Config/ConfigData.Designer.cs3// This code was generated by a tool.COMMENT
HIGHNAPS2.Sdk.Tests/ImageResources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHNAPS2.Sdk.Tests/PdfResources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHNAPS2.Sdk.Tests/BinaryResources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHNAPS2.Images/Bitwise/BilateralFilterOp.cs224 // The vectorization implementation is fully AI-generated. Rather than a detailed review, we instead verify itsCOMMENT
TODO Padding12 hits · 18 pts
SeverityFileLineSnippetContext
LOWNAPS2.Sdk/Pdf/PdfiumImageExtractor.cs56 // TODO: Add tests for these cases to PdfiumPdfRendererTestsCOMMENT
LOWNAPS2.Sdk/Scan/Internal/ScanOptionsValidator.cs6// TODO: Add tests for this and/or scanperformerCOMMENT
LOWNAPS2.Lib.Tests/Config/ProfileManagerTests.cs108 // TODO: Add tests for LockSystemProfiles etcCOMMENT
LOWNAPS2.Lib.Tests/Images/UiImageTests.cs3// TODO: Add testsCOMMENT
LOWNAPS2.Lib.Tests/Recovery/RecoveryManagerTests.cs252 // TODO: Add tests for recovery params (i.e. thumbnail)COMMENT
LOWNAPS2.Lib.Tests/Scan/ScanPerformerTests.cs9 // TODO: Add testsCOMMENT
LOW…S2.Lib.Tests/Automation/CommandLineIntegrationTests.cs1482 // TODO: Add tests for all options, as well as key combinationsCOMMENT
LOWNAPS2.Escl.Usb/EsclUsbContext.cs69 // TODO: Handle exceptionsCOMMENT
LOWNAPS2.Sdk.Tests/Images/LoadSaveTests.cs13 // TODO: Add tests for error/edge cases (e.g. invalid files, unicode file names)COMMENT
LOWNAPS2.Sdk.Tests/Images/ImageSerializerTests.cs9// TODO: Add tests for barcode detectionCOMMENT
LOWNAPS2.Sdk.Tests/Images/TransformTests.cs259 // TODO: Add tests for rotating black and white imagesCOMMENT
LOWNAPS2.Sdk.Tests/Images/TiffWriterTests.cs8 // TODO: Add tests for error/edge cases (e.g. invalid files, mismatched extensions/format (?), tiff progress, savingCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMNAPS2.Lib/EtoForms/Desktop/DesktopController.cs303 // ShowRecoveryPrompt, but designed to be faster and more seamless. This means a few things:COMMENT
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWNAPS2.Sdk/Pdf/PdfiumPdfExporter.cs159// // Step 1: Create the pages, draw the images, and start OCRCOMMENT
LOWNAPS2.Sdk/Pdf/PdfiumPdfExporter.cs237// // Step 2: Wait for all the OCR results, and draw the text on each pageCOMMENT
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWNAPS2.Sdk/Pdf/PdfiumPdfExporter.cs159// // Step 1: Create the pages, draw the images, and start OCRCOMMENT
LOWNAPS2.Sdk/Pdf/PdfiumPdfExporter.cs237// // Step 2: Wait for all the OCR results, and draw the text on each pageCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWNAPS2.Images.Gtk/LibTiffStreamClient.cs41 return LibTiff.TIFFClientOpen("placeholder", mode, IntPtr.Zero,CODE