AI Slop Code Risk Monitor

ldqk/Masuit.Tools

SlopCodeMonitor badge for ldqk/Masuit.Tools Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

全龄段友好的C#万能工具库,码数吐司库,包含一些常用的操作类,大都是静态类,加密解密,反射操作,权重随机筛选算法,分布式短id,表达式树,linq扩展,文件压缩,多线程下载,硬件信息,字符串扩展方法,日期时间扩展操作,中国农历,大文件拷贝,图像裁剪,验证码,断点续传,集合扩展、Excel导出等常用封装。诸多功能集一身,代码量不到2MB!

3.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for ldqk/Masuit.Tools, a C# project with 6,193 GitHub stars. SynthScan examined 65,724 lines of code across 514 source files, recording 215 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 3.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.

3.3
Adjusted Signal
3.3
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
6.2K
Stars
C#
Language
65.7K
Lines of Code
514
Files
215
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 14.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.8/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 15.7/100 · LOW

Which changes need focused human review? 215 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 0MEDIUM 0LOW 214

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 215 distinct pattern matches across 3 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 Block213 hits · 206 pts
SeverityFileLineSnippetContext
LOWMasuit.Tools.Net45/Media/ImageWatermarker.cs21 private readonly Stream _stream;COMMENT
LOWMasuit.Tools.Net45/Media/ImageUtilities.cs21 /// 正方型裁剪COMMENT
LOWMasuit.Tools.Net45/Media/ImageUtilities.cs141 //保存缩略图COMMENT
LOWMasuit.Tools.Net45/Media/ImageUtilities.cs541COMMENT
LOWMasuit.Tools.Net45/Media/ImageUtilities.cs721COMMENT
LOWMasuit.Tools/Net/CacheHelper.cs61 /// </summary>COMMENT
LOWMasuit.Tools/Net/WebExtension.cs41 /// <param name="value">值</param>COMMENT
LOWMasuit.Tools/Net/WebExtension.cs61 /// <param name="key">键</param>COMMENT
LOWMasuit.Tools/Mvc/ControllerExtension.cs21 /// 可断点续传和多线程下载的FileResultCOMMENT
LOWMasuit.Tools/Mvc/ControllerExtension.cs61 /// 可断点续传和多线程下载的FileResultCOMMENT
LOWMasuit.Tools/Mvc/ControllerExtension.cs81 {COMMENT
LOWMasuit.Tools/Mvc/ActionResults/ResumeFileResult.cs141 /// 起点大于文件的总大小COMMENT
LOWTest/Masuit.Tools.Abstractions.Test/Tree/TreeTest.cs181 /// <summary>COMMENT
LOWMasuit.Tools.Excel/NumberFormater.cs21 /// <summary>COMMENT
LOWMasuit.Tools.Core/Database/ChangePropertyInfo.cs21 /// <summary>COMMENT
LOW…pNetCore/AspNetCore/Extensions/ControllerExtensions.cs41 /// </summary>COMMENT
LOW…pNetCore/AspNetCore/Extensions/ControllerExtensions.cs81 /// <summary>COMMENT
LOW…pNetCore/AspNetCore/Extensions/ControllerExtensions.cs101 /// <param name="controller"></param>COMMENT
LOW…pNetCore/AspNetCore/Extensions/ControllerExtensions.cs141 /// 可断点续传和多线程下载的FileResultCOMMENT
LOW…s.AspNetCore/ModelBinder/FromBodyOrDefaultAttribute.cs1using Microsoft.AspNetCore.Mvc;COMMENT
LOW…s.AspNetCore/ModelBinder/FromBodyOrDefaultAttribute.cs21 /// 整型COMMENT
LOWMasuit.Tools.AspNetCore/ModelBinder/BindType.cs1namespace Masuit.Tools.AspNetCore.ModelBinder;COMMENT
LOWMasuit.Tools.AspNetCore/ModelBinder/BindType.cs21 /// </summary>COMMENT
LOWMasuit.Tools.Abstractions/Database/DataTableHelper.cs61 }COMMENT
LOWMasuit.Tools.Abstractions/Strings/UnicodeFormater.cs21 /// <summary>COMMENT
LOWMasuit.Tools.Abstractions/Strings/Template.cs21 Content = content;COMMENT
LOWMasuit.Tools.Abstractions/Hardware/CpuInfo.cs21COMMENT
LOWMasuit.Tools.Abstractions/Hardware/CpuInfo.cs41COMMENT
LOWMasuit.Tools.Abstractions/Hardware/CpuInfo.cs61COMMENT
LOWMasuit.Tools.Abstractions/Hardware/DiskData.cs1namespace Masuit.Tools.HardwareCOMMENT
LOWMasuit.Tools.Abstractions/Hardware/RamInfo.cs21 /// 分页内存总数COMMENT
LOWMasuit.Tools.Abstractions/Hardware/NetData.cs1namespace Masuit.Tools.HardwareCOMMENT
LOWMasuit.Tools.Abstractions/Net/PartialDownloader.cs41 public bool Stopped { get; private set; }COMMENT
LOWMasuit.Tools.Abstractions/Net/PartialDownloader.cs61 public string FileName { get; }COMMENT
LOWMasuit.Tools.Abstractions/Net/PartialDownloader.cs101COMMENT
LOWMasuit.Tools.Abstractions/Net/MultiThreadDownloader.cs121 /// <summary>COMMENT
LOWMasuit.Tools.Abstractions/Net/MultiThreadDownloader.cs141 /// 文件合并事件COMMENT
LOWMasuit.Tools.Abstractions/Validator/IsEmailAttribute.cs21 private string[] WhiteList { get; set; }COMMENT
LOWMasuit.Tools.Abstractions/Security/RsaPem.cs21COMMENT
LOWMasuit.Tools.Abstractions/Security/Encrypt.cs301 {COMMENT
LOWMasuit.Tools.Abstractions/Security/Encrypt.cs321 /// <param name="encryptKey">加密密钥,须半角字符</param>COMMENT
LOWMasuit.Tools.Abstractions/Security/Encrypt.cs341 }COMMENT
LOWMasuit.Tools.Abstractions/Security/Encrypt.cs481COMMENT
LOWMasuit.Tools.Abstractions/Security/Encrypt.cs581 /// </summary>COMMENT
LOWMasuit.Tools.Abstractions/Security/Encrypt.cs1061COMMENT
LOWMasuit.Tools.Abstractions/Security/Encrypt.cs1361 csDecrypt.FlushFinalBlock();COMMENT
LOWMasuit.Tools.Abstractions/Security/RSACrypt.cs101 #endregion RSA的加密函数COMMENT
LOWMasuit.Tools.Abstractions/Security/RSACrypt.cs161 /// <summary>COMMENT
LOWMasuit.Tools.Abstractions/Security/RSACrypt.cs221 /// </summary>COMMENT
LOWMasuit.Tools.Abstractions/Security/RSACrypt.cs261COMMENT
LOWMasuit.Tools.Abstractions/Security/RSACrypt.cs281 /// <summary>COMMENT
LOWMasuit.Tools.Abstractions/Security/RSACrypt.cs301 /// <param name="publicKey">公钥</param>COMMENT
LOWMasuit.Tools.Abstractions/Security/RSACrypt.cs321 /// <exception cref="CryptographicException">The cryptographic service provider (CSP) cannot be acquired. </exceptioCOMMENT
LOWMasuit.Tools.Abstractions/Models/Circle.cs21 {COMMENT
LOWMasuit.Tools.Abstractions/Models/TreeExtensions.cs21 /// <param name="items"></param>COMMENT
LOWMasuit.Tools.Abstractions/Models/TreeExtensions.cs41 /// <returns></returns>COMMENT
LOWMasuit.Tools.Abstractions/Models/TreeExtensions.cs61COMMENT
LOWMasuit.Tools.Abstractions/Models/TreeExtensions.cs141 /// <typeparam name="T"></typeparam>COMMENT
LOWMasuit.Tools.Abstractions/Models/TreeExtensions.cs161 /// 平行集合转换成树形结构COMMENT
LOWMasuit.Tools.Abstractions/Models/TreeExtensions.cs181COMMENT
153 more matches not shown…
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALMasuit.Tools.Abstractions/Hardware/SystemInfo.cs231 var (eax, ebx, ecx, edx) = System.Runtime.Intrinsics.X86.X86Base.CpuId(1, 0);CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…uit.Tools.Core.Test/AspNetCore/ObjectExtensionTests.cs25 street = "123 Main St",CODE