AI Slop Code Risk Monitor

dotnet/BenchmarkDotNet

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

Powerful .NET library for benchmarking

2.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for dotnet/BenchmarkDotNet, a C# project with 11,525 GitHub stars. SynthScan examined 143,111 lines of code across 1384 source files, recording 162 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 2.1 (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.1
Adjusted Signal
2.1
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
11.5K
Stars
C#
Language
143.1K
Lines of Code
1.4K
Files
162
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 6.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.8/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 9.0/100 · LOW

Which changes need focused human review? 162 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 8HIGH 7MEDIUM 1LOW 146

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 162 distinct pattern matches across 5 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 Block145 hits · 128 pts
SeverityFileLineSnippetContext
LOW…onExporterVerifyTests.Exporters_Invariant.verified.txt601# UNIT benchmark_allocated_bytes bytesCOMMENT
LOW…onExporterVerifyTests.Exporters_Invariant.verified.txt621benchmark_gc_gen0_collections_total{method="Bar", type="MockBenchmarkClass"} 0COMMENT
LOW…CommonExporterVerifyTests.Exporters_ru-RU.verified.txt601# UNIT benchmark_allocated_bytes bytesCOMMENT
LOW…CommonExporterVerifyTests.Exporters_ru-RU.verified.txt621benchmark_gc_gen0_collections_total{method="Bar", type="MockBenchmarkClass"} 0COMMENT
LOW…agnoser_ExportsAllocatedBytesPerOperation.verified.txt1# HELP benchmark_allocated_bytes Allocated managed memory per single benchmark operation.COMMENT
LOW…agnoser_ExportsAllocatedBytesPerOperation.verified.txt21benchmark_gc_gen2_collections_total{method="Foo", type="MockBenchmarkClass"} 3COMMENT
LOW…CommonExporterVerifyTests.Exporters_en-US.verified.txt601# UNIT benchmark_allocated_bytes bytesCOMMENT
LOW…CommonExporterVerifyTests.Exporters_en-US.verified.txt621benchmark_gc_gen0_collections_total{method="Bar", type="MockBenchmarkClass"} 0COMMENT
LOW…csExporterTests.LabelsAreEscapedCorrectly.verified.txt1# HELP benchmark_error_nanoseconds Standard error of the mean execution time in nanoseconds.COMMENT
LOW…csExporterTests.LabelsAreEscapedCorrectly.verified.txt21# HELP benchmark_label_with_special_chars_in_the_middle Additional metric label with special !@#$%^&*()chars in the middCOMMENT
LOW…s/Disassemblers/Arm64/Helpers/Arm64TestInstructions.cs61 return Arm64InstructionFactory.CBNZ(register, label).ToCapstoneArm64Instruction(); // cbnz Xn, labelCOMMENT
LOW…enchmarkDotNet.IntegrationTests/PowerRequestsParser.cs1namespace BenchmarkDotNet.IntegrationTests;COMMENT
LOW…enchmarkDotNet.IntegrationTests/PowerRequestsParser.cs21/// [PROCESS] \Device\HarddiskVolume3\...\NoSleep.exeCOMMENT
LOW…s/InProcess.EmitTests.T4/RunnableClassCaseBenchmark.cs1//------------------------------------------------------------------------------COMMENT
LOW…ts/InProcess.EmitTests.T4/RunnableTaskCaseBenchmark.cs1//------------------------------------------------------------------------------COMMENT
LOW…ts/InProcess.EmitTests.T4/RunnableVoidCaseBenchmark.cs1//------------------------------------------------------------------------------COMMENT
LOW…otNet.IntegrationTests/Shared/BenchmarkTestExecutor.cs21 /// <summary>COMMENT
LOW…tionTests/InProcess.EmitTests/NaiveRunnableEmitDiff.cs121 foreach (var instruction in bodyInstructions)COMMENT
LOWdocs/articles/samples/IntroSetupCleanupIteration.md21[!code-csharp[IntroSetupCleanupIteration.cs](../../../samples/BenchmarkDotNet.Samples/IntroSetupCleanupIteration.cs)]COMMENT
LOWdocs/articles/guides/troubleshooting.md1# TroubleshootingCOMMENT
LOW…enchmarkDotNet.Exporters.Plotting/ScottPlotExporter.cs41 /// Gets or sets the width of all plots in pixels.COMMENT
LOW…enchmarkDotNet.Exporters.Plotting/ScottPlotExporter.cs61 /// Gets or sets a value indicating whether labels for Plot X-axis should be rotated.COMMENT
LOWsrc/BenchmarkDotNet.TestAdapter/VSTestAdapter.cs201 }COMMENT
LOWsrc/BenchmarkDotNet.Weaver/src/WeaveAssemblyTask.cs41 /// The key the compiler strong named the assembly with. Weaving invalidates the signature it produced,COMMENT
LOW…ibutes/CompilerServices/AggressivelyOptimizeMethods.cs1using System.Runtime.CompilerServices;COMMENT
LOW…otNet.CodeFixers/RuntimeAndToolchainCodeFixProvider.cs81 /// </summary>COMMENT
LOWsrc/BenchmarkDotNet/Environments/Jit.cs1namespace BenchmarkDotNet.EnvironmentsCOMMENT
LOWsrc/BenchmarkDotNet/Environments/Platform.cs21 /// ARMCOMMENT
LOWsrc/BenchmarkDotNet/Environments/Platform.cs41 /// LOONGARCH64COMMENT
LOWsrc/BenchmarkDotNet/Environments/HostEnvironmentInfo.cs41 public Lazy<OsInfo> Os { get; protected set; }COMMENT
LOWsrc/BenchmarkDotNet/Environments/Runtimes/Runtime.cs21 public abstract Version? Version { get; }COMMENT
LOWsrc/BenchmarkDotNet/Environments/Runtimes/Runtime.cs61 /// <summary>COMMENT
LOWsrc/BenchmarkDotNet/ConsoleArguments/ConfigParser.cs721 /// <summary>COMMENT
LOWsrc/BenchmarkDotNet/Code/CodeGenBenchmarkRunCallType.cs1namespace BenchmarkDotNet.Code;COMMENT
LOW…enchmarkDotNet/Mathematics/LegacyConfidenceInterval.cs21 /// <summary>COMMENT
LOW…enchmarkDotNet/Mathematics/LegacyConfidenceInterval.cs41 /// <summary>COMMENT
LOWsrc/BenchmarkDotNet/Models/BdnExecution.cs21COMMENT
LOWsrc/BenchmarkDotNet/Models/BdnExecution.cs41 /// Invocation count in a single iteration.COMMENT
LOWsrc/BenchmarkDotNet/Models/BdnExecution.cs61 /// The default value is 100COMMENT
LOWsrc/BenchmarkDotNet/Diagnosers/IDiagnoser.cs41 /// <summary>COMMENT
LOWsrc/BenchmarkDotNet/Diagnosers/IDiagnoser.cs61 {COMMENT
LOW…markDotNet/Diagnosers/InProcessDiagnoserHandlerData.cs1using System.Diagnostics.CodeAnalysis;COMMENT
LOWsrc/BenchmarkDotNet/Diagnosers/RunMode.cs21 /// no overhead, can be executed without extra runCOMMENT
LOWsrc/BenchmarkDotNet/Diagnosers/EventPipeProfile.cs1namespace BenchmarkDotNet.DiagnosersCOMMENT
LOW…markDotNet/Attributes/DisassemblyDiagnoserAttribute.cs1using BenchmarkDotNet.Configs;COMMENT
LOW…chmarkDotNet/Attributes/Jobs/JobConfigbaseAttribute.cs21 /// The categories of the job defined by this attribute. Categories are metadata used to select which jobs areCOMMENT
LOWsrc/BenchmarkDotNet/Engines/RunStrategy.cs1namespace BenchmarkDotNet.EnginesCOMMENT
LOWsrc/BenchmarkDotNet/Engines/JitListener.cs1using System.Diagnostics.Tracing;COMMENT
LOWsrc/BenchmarkDotNet/Engines/JitListener.cs21// paused" is NOT quiescence. Both waits gate on WaitForTieringActive first.COMMENT
LOWsrc/BenchmarkDotNet/Engines/JitListener.cs41 private const string TieredCompilationBackgroundJitStopEvent = "TieredCompilationBackgroundJitStop";COMMENT
LOWsrc/BenchmarkDotNet/Engines/JitListener.cs521 }COMMENT
LOWsrc/BenchmarkDotNet/Engines/JitListener.cs581COMMENT
LOWsrc/BenchmarkDotNet/Engines/EngineJitStage.cs161 // The burst didn't tier them up. With NO call-counting delay the whole budget was counted, so aCOMMENT
LOWsrc/BenchmarkDotNet/Engines/HostSignal.cs21 /// after globalSetup, warmup and pilot but before the main runCOMMENT
LOWsrc/BenchmarkDotNet/Engines/HostSignal.cs41 /// after all (the last thing the benchmarking engine does is to fire this signal)COMMENT
LOWsrc/BenchmarkDotNet/Engines/JitTieringMode.cs1namespace BenchmarkDotNet.Engines;COMMENT
LOWsrc/BenchmarkDotNet/Configs/ConfigOptions.cs1namespace BenchmarkDotNet.ConfigsCOMMENT
LOWsrc/BenchmarkDotNet/Configs/ConfigOptions.cs21 StopOnFirstError = 1 << 2,COMMENT
LOWsrc/BenchmarkDotNet/Configs/ImmutableConfigBuilder.cs261COMMENT
LOWsrc/BenchmarkDotNet/Configs/IConfig.cs41 /// </summary>COMMENT
85 more matches not shown…
Hallucination Indicators8 hits · 110 pts
SeverityFileLineSnippetContext
CRITICALsrc/BenchmarkDotNet/Running/BenchmarkRunnerClean.cs477 .Where(build => build.Key.RepresentativeBenchmarkCase.Config.Options.IsSet(ConfigOptions.KeepBenchmarkFiCODE
CRITICALsrc/BenchmarkDotNet/Helpers/CodeAnnotations.cs1305 /// <c>System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String)</c>.COMMENT
CRITICALsrc/BenchmarkDotNet/Helpers/CodeAnnotations.cs1323 /// <c>System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String)</c>.COMMENT
CRITICALsrc/BenchmarkDotNet/Helpers/CodeAnnotations.cs1342 /// <c>System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String)</c>.COMMENT
CRITICALsrc/BenchmarkDotNet/Helpers/CodeAnnotations.cs1375 /// <c>System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String)</c>.COMMENT
CRITICALsrc/BenchmarkDotNet/Helpers/CodeAnnotations.cs1389 /// <c>System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String)</c>.COMMENT
CRITICALsrc/BenchmarkDotNet/Helpers/CodeAnnotations.cs1397 /// <c>System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String)</c>.COMMENT
CRITICALsrc/BenchmarkDotNet/Toolchains/CsProj/CsProjBuilder.cs272 => $"{buildPartition.RepresentativeBenchmarkCase.Descriptor.Type.Assembly.GetName().Name}-gen";CODE
Synthetic Comment Markers7 hits · 52 pts
SeverityFileLineSnippetContext
HIGH…Process.EmitTests.T4/RunnableRefStructCaseBenchmark.cs3// This code was generated by a tool.COMMENT
HIGH…s/InProcess.EmitTests.T4/RunnableClassCaseBenchmark.cs3// This code was generated by a tool.COMMENT
HIGH…ts/InProcess.EmitTests.T4/RunnableTaskCaseBenchmark.cs3// This code was generated by a tool.COMMENT
HIGH…ts/InProcess.EmitTests.T4/RunnableVoidCaseBenchmark.cs3// This code was generated by a tool.COMMENT
HIGH…nProcess.EmitTests.T4/RunnableManyArgsCaseBenchmark.cs3// This code was generated by a tool.COMMENT
HIGH…/InProcess.EmitTests.T4/RunnableStructCaseBenchmark.cs3// This code was generated by a tool.COMMENT
HIGH…Analyzers/BenchmarkDotNetAnalyzerResources.Designer.cs3// This code was generated by a tool.COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/BenchmarkDotNet.Analyzers/RequiredMemberAnalyzer.cs167 // lookup (RS1030); the base class is always the first base-list entry, but a name match is robust to partialsCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/BenchmarkDotNet/Loggers/Broker.cs107 // TODO: implement Silent mode hereCOMMENT