AI Slop Code Risk Monitor

wmjordan/PDFPatcher

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

PDF补丁丁——PDF工具箱,可以编辑书签、剪裁旋转页面、解除限制、提取或合并文档,探查文档结构,提取图片、转成图片等等

1.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for wmjordan/PDFPatcher, a C# project with 12,759 GitHub stars. SynthScan examined 106,290 lines of code across 402 source files, recording 92 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.0 (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.0
Adjusted Signal
1.0
Raw Pattern Score
100%
Time Factor
2026-10-23
Last Push
12.8K
Stars
C#
Language
106.3K
Lines of Code
402
Files
92
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 4.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.5/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 5.1/100 · LOW

Which changes need focused human review? 92 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 1HIGH 2MEDIUM 0LOW 89

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 92 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 Block87 hits · 82 pts
SeverityFileLineSnippetContext
LOWApp/MainForm.Designer.cs581 // _ToolTipCOMMENT
LOWApp/Configuration.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWApp/Options/AutoBookmarkOptions.cs101 internal string FirstPageTitle { get; set; }COMMENT
LOWApp/Processor/PdfHelper.cs21COMMENT
LOWApp/Processor/OutlineManager.MuPDF.cs81 // }COMMENT
LOWApp/Processor/OutlineManager.MuPDF.cs101 // count += n;COMMENT
LOWApp/Processor/OutlineManager.MuPDF.cs121 // outline.Set(PdfNames.F, bits);COMMENT
LOWApp/Processor/OutlineManager.MuPDF.cs141 // target.AddToBody(top, topRef);COMMENT
LOWApp/Processor/OutlineManager.MuPDF.cs161COMMENT
LOWApp/Processor/OcrProcessor.cs241 return;COMMENT
LOWApp/Processor/OcrProcessor.cs261 // TextLine ml = null; // 最小距离的 TextLineCOMMENT
LOWApp/Processor/OcrProcessor.cs281 // || ((cd.Location == DistanceInfo.Placement.Up || cd.Location == DistanceInfo.PlacemCOMMENT
LOWApp/Processor/OcrProcessor.cs301 // ) {COMMENT
LOWApp/Processor/OcrProcessor.cs321 // var rr = new List<TextInfo> ();COMMENT
LOWApp/Processor/OcrProcessor.cs341 // if (size >= _fontSizeThreshold) {COMMENT
LOWApp/Processor/OcrProcessor.cs361 // letterCount = 0;COMMENT
LOWApp/Processor/OcrProcessor.cs381 // right = r.Right;COMMENT
LOWApp/Processor/Worker.cs441 //if (pdfSettings.PageSettings.Count > 0) {COMMENT
LOWApp/Processor/DocInfoImporter.cs801 //prop.ArrayList.Clear ();COMMENT
LOWApp/Processor/PdfDocumentCreator.cs461 // continue;COMMENT
LOWApp/Processor/PdfContentStreamParser.cs81 //PdfDictionary xobjects = this.resources.GetAsDict (PdfName.XOBJECT);COMMENT
LOWApp/Processor/ContentProcessors/IPageProcessor.cs21 /// <returns>更改文档内容后返回 true。</returns>COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs161//// Copyright © Andrew Kirillov, 2005-2010COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs181// /// <a href="http://en.wikipedia.org/wiki/Polar_coordinate_system">polar coordinates</a>.COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs201// /// COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs221// /// int h2 = image.Height / 2;COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs241// /// y0 = h2;COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs261// /// <list type="bullet">COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs281// public readonly double Theta;COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs301// /// COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs321// /// <summary>COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs341// /// <param name="value">Object to compare with.</param>COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs361// ///COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs381// /// // create rotation filterCOMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs401// private double thetaStep;COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs421// /// line slope precisely.</para>COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs441// /// [-25, 25] degrees detection range.</para>COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs461// /// Use <see cref="MaxSkewToDetect"/> property instead.</note></para></remarks>COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs481COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs501// MaxSkewToDetect = 30;COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs521// /// </summary>COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs541// int halfWidth = width / 2;COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs561// //using (Bitmap bmp = image.ToBitmap ()) {COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs581COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs601// // and pixel below is more whiteCOMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs621// maxMapIntensity = houghMap[i, j];COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs641COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs661COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs681COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs701// // compare the neighboor with current valueCOMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs721// private void InitHoughMap () {COMMENT
LOWApp/Processor/Imaging/ImageDeskew.cs761 // double skewangle = sk.GetSkewAngle ();COMMENT
LOWApp/Processor/Imaging/BitmapHelper.cs81 /// <returns>如为索引调色板图像,则返回 true,否则返回 false。</returns>COMMENT
LOWApp/Processor/Imaging/JpgHelper.cs81 /// </summary>COMMENT
LOWApp/Processor/Imaging/JpgHelper.cs361COMMENT
LOWApp/Processor/Imaging/TiffHelper.cs61COMMENT
LOWApp/Common/CommandRegistry.cs21 {COMMENT
LOWApp/Common/ImageBox/ImageBoxEx.cs421 /// <summary>COMMENT
LOWApp/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWApp/Properties/Resources.Designer.cs61 }COMMENT
27 more matches not shown…
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHApp/Configuration.Designer.cs3// This code was generated by a tool.COMMENT
HIGHApp/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALApp/Functions/DocumentInspector/ImageViewerForm.cs28 var isCmyk = iTextSharp.text.pdf.PdfName.DEVICECMYK.Equals(image.ColorSpace);CODE
Slop Phrases2 hits · 2 pts
SeverityFileLineSnippetContext
LOWApp/Lib/MuPDFLib.xml2847 Don't forget to call fz_close_device before dropping the device,CODE
LOWApp/Lib/MuPDFLib.xml6952Free an output stream. Don't forget to close it first!CODE