AI Slop Code Risk Monitor

reactiveui/refit

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

The automatic type-safe REST library for .NET. Refit turns a REST API into a C# interface and generates the HttpClient implementation, with support for HttpClientFactory, pluggable serializers and a testing package.

3.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for reactiveui/refit, a C# project with 9,576 GitHub stars. SynthScan examined 160,465 lines of code across 1540 source files, recording 440 pattern matches distributed across 6 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-29
Last Push
9.6K
Stars
C#
Language
160.5K
Lines of Code
1.5K
Files
440
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 12.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.1/100 · LOW

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

Agent Over-Engineering Ratio 1.4/100 · LOW

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

PR Review Velocity Impact 15.0/100 · LOW

Which changes need focused human review? 440 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 4HIGH 9MEDIUM 1LOW 426

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 440 distinct pattern matches across 6 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 Block417 hits · 417 pts
SeverityFileLineSnippetContext
LOW…faceStubGenerator.Shared/HttpMethodAttributeParsing.cs41 internal static string ResolveCustomHttpVerb(INamedTypeSymbol attributeClass) =>COMMENT
LOW…c/InterfaceStubGenerator.Shared/RequestPathEmission.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOWsrc/InterfaceStubGenerator.Shared/SpanBufferEmission.cs21#elseCOMMENT
LOW…nterfaceStubGenerator.Shared/GeneratorModelEquality.cs21 /// <typeparam name="T">The element type.</typeparam>COMMENT
LOW…c/InterfaceStubGenerator.Shared/PagedMethodEmission.cs21 internal const string PageContinuationTo = "global::Refit.PageContinuation.To<";COMMENT
LOWsrc/InterfaceStubGenerator.Shared/QueryValueEmission.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…InterfaceStubGenerator.Shared/QueryParameterParsing.cs321COMMENT
LOW…InterfaceStubGenerator.Shared/QueryParameterParsing.cs401COMMENT
LOW…terfaceStubGenerator.Shared/QueryDictionaryEmission.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…aceStubGenerator.Shared/InlineRequestClassification.cs21 /// <summary>Determines whether generated request building can construct a method's request inline.</summary>COMMENT
LOW…aceStubGenerator.Shared/InlineRequestClassification.cs121 /// <summary>Determines whether a type is <c>System.Net.Http.HttpRequestMessage</c>, the type argument of theCOMMENT
LOW…aceStubGenerator.Shared/RequestParameterKindParsing.cs101COMMENT
LOW…c/InterfaceStubGenerator.Shared/QueryObjectEmission.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…erfaceStubGenerator.Shared/MultipartContentEmission.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…terfaceStubGenerator.Shared/RequestPropertyEmission.cs21COMMENT
LOW…rfaceStubGenerator.Shared/MultipartParameterParsing.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOWsrc/InterfaceStubGenerator.Shared/IsExternalInit.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…terfaceStubGenerator.Shared/RequestParameterParsing.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…terfaceStubGenerator.Shared/RequestParameterParsing.cs761 true,COMMENT
LOW…faceStubGenerator.Shared/QueryObjectPropertyParsing.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…faceStubGenerator.Shared/QueryObjectPropertyParsing.cs121 ContainingNamespace.ContainingNamespace.ContainingNamespace.Name: "System"COMMENT
LOWsrc/InterfaceStubGenerator.Shared/EmitterTesting.cs41 /// <summary>Determines whether a type parameter has constraints that should be emitted.</summary>COMMENT
LOW…nterfaceStubGenerator.Shared/QueryParameterEmission.cs561COMMENT
LOW…nterfaceStubGenerator.Shared/QueryParameterEmission.cs601 /// <param name="ProviderField">The cached attribute-provider field name for the parameter.</param>COMMENT
LOW…c/InterfaceStubGenerator.Shared/GeneratedTypeNaming.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…c/InterfaceStubGenerator.Shared/BodyContentEmission.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…c/InterfaceStubGenerator.Shared/BodyContentEmission.cs241COMMENT
LOW…terfaceStubGenerator.Shared/MethodSignatureEmission.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…faceStubGenerator.Shared/PathObjectParameterParsing.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…InterfaceStubGenerator.Shared/InlineRequestEmission.cs821 internal static string BodySerializationMemberName(string serializationMethod) => serializationMethod == "Json" ? "SCOMMENT
LOW…InterfaceStubGenerator.Shared/InlineRequestEmission.cs841 /// <param name = "RequestLocal">The generated request message local name.</param>COMMENT
LOW…erfaceStubGenerator.Shared/ReturnTypeAdapterParsing.cs181 /// <param name="templateReturn">The adapter's declared <c>TReturn</c> (open constructed over the adapter's parameteCOMMENT
LOWsrc/InterfaceStubGenerator.Shared/Parser.cs21 internal const int EstimatedTypeParameterLength = 32;COMMENT
LOWsrc/InterfaceStubGenerator.Shared/Parser.cs201COMMENT
LOWsrc/InterfaceStubGenerator.Shared/RequestParsing.cs221 return;COMMENT
LOWsrc/InterfaceStubGenerator.Shared/RequestParsing.cs661 /// <param name="ResultType">The method result type.</param>COMMENT
LOWsrc/InterfaceStubGenerator.Shared/RequestParsing.cs781 /// <summary>Gets a value indicating whether any placeholder binds a nested property (<c>{param.Prop}</c>).</sumCOMMENT
LOWsrc/InterfaceStubGenerator.Shared/RequestBodyParsing.cs341COMMENT
LOWsrc/InterfaceStubGenerator.Shared/FormFieldEmission.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…bGenerator.Shared/Models/QueryObjectCollectionModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…terfaceStubGenerator.Shared/Models/RequestBodyModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…eStubGenerator.Shared/Models/PathObjectBindingModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOWsrc/InterfaceStubGenerator.Shared/Models/MethodModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…rfaceStubGenerator.Shared/Models/MultipartPartModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…eStubGenerator.Shared/Models/NamedAttributeArgument.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…ceStubGenerator.Shared/Models/InlineMethodFragments.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…eStubGenerator.Shared/Models/MethodAnnotationsModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…faceStubGenerator.Shared/Models/QueryParameterModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…InterfaceStubGenerator.Shared/Models/InterfaceModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…Generator.Shared/Models/GenerationCapabilitiesModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…erfaceStubGenerator.Shared/Models/MultipartPartKind.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…InterfaceStubGenerator.Shared/Models/InlineFallback.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…ceStubGenerator.Shared/Models/GenerationCachesModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOWsrc/InterfaceStubGenerator.Shared/Models/PagingModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…aceStubGenerator.Shared/Models/QueryDictionaryModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…faceStubGenerator.Shared/Models/GeneratedFieldNames.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…ceStubGenerator.Shared/Models/EnumFormatMemberModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…ceStubGenerator.Shared/Models/RequestParameterModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…eStubGenerator.Shared/Models/GenerationSymbolsModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
LOW…eStubGenerator.Shared/Models/RequestGenerationModel.cs1// Copyright (c) 2019-2026 ReactiveUI and Contributors. All rights reserved.COMMENT
357 more matches not shown…
Hallucination Indicators4 hits · 60 pts
SeverityFileLineSnippetContext
CRITICAL…equestBuilderImplementation.QueryAndHeaders.Helpers.cs90 /// When <see langword="true"/> the value is added with <see cref="System.Net.Http.Headers.HttpHeaders.Add(string, sCOMMENT
CRITICALsrc/Refit/GeneratedRequestRunner.cs476 /// When <see langword="true"/> the value is added with <see cref="System.Net.Http.Headers.HttpHeaders.Add(string, sCOMMENT
CRITICALsrc/Refit/RefitRequestsSettings.cs53 /// When <see langword="true"/>, header values are added with <see cref="System.Net.Http.Headers.HttpHeaders.Add(strCOMMENT
CRITICALsrc/Refit/RefitRequestsSettings.cs57 /// <see cref="System.Net.Http.Headers.HttpHeaders.TryAddWithoutValidation(string, string?)"/>, preserving Refit'sCOMMENT
Cross-File Repetition9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHsrc/tests/Refit.GeneratorTests/ParserCoverageTests.cs0using system.threading.tasks; using refit; namespace refitgeneratortest; public interface igeneratedclient { [get("/x/{}STRING
HIGH…Refit.GeneratorTests/RequestGenerationCoverageTests.cs0using system.threading.tasks; using refit; namespace refitgeneratortest; public interface igeneratedclient { [get("/x/{}STRING
HIGH…Tests/RequestGenerationCoverageTests.RequestTargets.cs0using system.threading.tasks; using refit; namespace refitgeneratortest; public interface igeneratedclient { [get("/x/{}STRING
HIGH…/tests/Refit.GeneratorTests/QueryParameterTypeTests.cs0using system.threading.tasks; using refit; namespace refitgeneratortest; public interface igeneratedclient { {{body}} }STRING
HIGH…c/tests/Refit.GeneratorTests/PathParameterTypeTests.cs0using system.threading.tasks; using refit; namespace refitgeneratortest; public interface igeneratedclient { {{body}} }STRING
HIGH…ratorTests/RequestGenerationCoverageTests.Multipart.cs0using system.threading.tasks; using refit; namespace refitgeneratortest; public interface igeneratedclient { {{body}} }STRING
HIGH…ts/Refit.GeneratorTests/Incremental/InheritanceTest.cs0#nullable enabled using system; using system.collections.generic; using system.linq; using system.net.http; using systemSTRING
HIGH…ts/Refit.GeneratorTests/Incremental/IncrementalTest.cs0#nullable enabled using system; using system.collections.generic; using system.linq; using system.net.http; using systemSTRING
HIGH…tests/Refit.GeneratorTests/Incremental/FunctionTest.cs0#nullable enabled using system; using system.collections.generic; using system.linq; using system.net.http; using systemSTRING
Fake / Example Data7 hits · 8 pts
SeverityFileLineSnippetContext
LOW…ntFactory.Tests/AuthenticatedHttpClientHandlerTests.cs64 new(HttpMethod.Get, "https://example.test") { Headers = { Authorization = new("Bearer", "placeholder") }, };CODE
LOWsrc/tests/Refit.Tests/RequestBuilderTests.cs291 new JsonLineRecord { Id = "125", Name = "Acme Corp" },CODE
LOW…tpClientFactoryExtensionsTests.KeyedGeneratedClient.cs197 client.DefaultRequestHeaders.Authorization = new("Bearer", "placeholder");CODE
LOW…Refit.Tests/RestServiceIntegrationTests.RequestBody.cs144 new() { Id = "125", Name = "Acme Corp" }CODE
LOW…/tests/Refit.Tests/HttpClientFactoryExtensionsTests.cs347 client.DefaultRequestHeaders.Authorization = new("Bearer", "placeholder");CODE
LOW…/tests/Refit.Tests/HttpClientFactoryExtensionsTests.cs367 client.DefaultRequestHeaders.Authorization = new("Bearer", "placeholder");CODE
LOWsrc/Refit.Analyzers.Shared/RefitInterfaceAnalyzer.cs354 /// <param name = "placeholder">The placeholder text including its braces.</param>COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/sonarcloud.yml22 # The smoke tests are standalone executables run outside the test harness, so no collector instruments them.COMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…rks/Refit.Benchmarks/StaticValueHttpResponseHandler.cs12public class StaticValueHttpResponseHandler(string response, HttpStatusCode code) : HttpMessageHandlerCODE
LOW…arks/Refit.Benchmarks/StaticFileHttpResponseHandler.cs10public class StaticFileHttpResponseHandler : HttpMessageHandlerCODE