Repository Analysis

FastEndpoints/FastEndpoints

A light-weight REST API development framework for ASP.NET 8 and newer.

3.8 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of FastEndpoints/FastEndpoints, a C# project with 5,999 GitHub stars. SynthScan v2.0 examined 146,004 lines of code across 1023 source files, recording 442 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 3.8 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

3.8
Adjusted Score
3.8
Raw Score
100%
Time Factor
2026-08-25
Last Push
6.0K
Stars
C#
Language
146.0K
Lines of Code
1.0K
Files
442
Pattern Hits
2026-08-29
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 11HIGH 0MEDIUM 6LOW 425

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 442 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block403 hits · 400 pts
SeverityFileLineSnippetContext
LOWTestHarness/Web/DocumentRegistration.cs141 });COMMENT
LOWTestHarness/Web/DocumentRegistration.cs161 // FastEndpoints.Swagger.Extensions.SwaggerDocument(COMMENT
LOWTestHarness/Web/DocumentRegistration.cs181 // o.TagStripSymbols = true;COMMENT
LOWTestHarness/Web/DocumentRegistration.cs201 // o.ExcludeNonFastEndpoints = true;COMMENT
LOWTestHarness/Web/DocumentRegistration.cs221 // ConfigureSwaggerDocument(o, "ReleaseVersioning - v1", "Web API");COMMENT
LOWTestHarness/Web/DocumentRegistration.cs241 // ConfigureSwaggerDocument(o, "ReleaseVersioning - v3", "Web API");COMMENT
LOWTestHarness/Web/DocumentRegistration.cs261 // o.RemoveEmptyRequestSchema = true;COMMENT
LOWTestHarness/Web/DocumentRegistration.cs281 // s.SchemaSettings.SchemaType = NJsonSchema.SchemaType.OpenApi3;COMMENT
LOWTestHarness/Sandbox/Contracts/MyENDPOINT.cs1// using FastEndpoints;COMMENT
LOWTestHarness/Sandbox/Contracts/MyENDPOINT.cs21// await SendAsync(req);COMMENT
LOW…stHarness/Sandbox/Tests/EndpointTests/EndpointTests.cs1// using Tests.Fixtures;COMMENT
LOW…/IntegrationTests/FastEndpoints/RPCTests/EventQueue.cs41COMMENT
LOWSrc/JobQueues/JobQueueOptions.cs1namespace FastEndpoints;COMMENT
LOWSrc/JobQueues/JobQueueOptions.cs21COMMENT
LOWSrc/JobQueues/JobQueueOptions.cs41 /// <summary>COMMENT
LOWSrc/JobQueues/JobQueueOptions.cs61 /// <para>COMMENT
LOWSrc/JobQueues/JobResult.cs1using System.Diagnostics.CodeAnalysis;COMMENT
LOWSrc/JobQueues/IJobStorageProvider.cs1namespace FastEndpoints;COMMENT
LOWSrc/JobQueues/IJobStorageProvider.cs21 /// row exists (including completed jobs). after purge/delete, the same key may be reused. null/empty keys are not sCOMMENT
LOWSrc/JobQueues/IJobStorageProvider.cs41 /// <para>COMMENT
LOWSrc/JobQueues/IJobStorageProvider.cs61 /// <summary>COMMENT
LOWSrc/JobQueues/IJobStorageProvider.cs81 /// </para>COMMENT
LOWSrc/JobQueues/IJobStorageProvider.cs101}COMMENT
LOWSrc/JobQueues/PendingJobSearchParams.cs1using System.Linq.Expressions;COMMENT
LOWSrc/JobQueues/PendingJobSearchParams.cs21 /// r.ExecuteAfter &lt;= now &amp;&amp;COMMENT
LOWSrc/JobQueues/PendingJobSearchParams.cs41COMMENT
LOWSrc/JobQueues/JobQueueExtensions.cs161 return provider;COMMENT
LOWSrc/JobQueues/JobQueueExtensions.cs181COMMENT
LOWSrc/JobQueues/JobQueueExtensions.cs201 /// <param name="expireOn">if set, job will be considered stale/expired after this date/time. if unspecified, jobs eCOMMENT
LOWSrc/JobQueues/JobTracker.cs1namespace FastEndpoints;COMMENT
LOWSrc/JobQueues/JobTracker.cs21 => JobQueueBase.CancelJobAsync<TCommand>(trackingId, ct);COMMENT
LOWSrc/JobQueues/JobTracker.cs41 => JobQueueBase.GetJobResultAsync<TCommand, TResult>(trackingId, ct);COMMENT
LOWSrc/JobQueues/JobTracker.cs61 public static Task CancelJobAsync(Guid trackingId, CancellationToken ct = default)COMMENT
LOWSrc/JobQueues/StaleJobSearchParams.cs1using System.Linq.Expressions;COMMENT
LOWSrc/JobQueues/IJobStorageRecord.cs1// ReSharper disable PropertyCanBeMadeInitOnly.GlobalCOMMENT
LOWSrc/JobQueues/IJobStorageRecord.cs21 /// the actual command object that will be embedded in the storage record.COMMENT
LOWSrc/JobQueues/IJobStorageRecord.cs41 /// </summary>COMMENT
LOWSrc/JobQueues/IJobStorageRecord.cs81 /// </summary>COMMENT
LOWSrc/JobQueues/IJobStorageRecord.cs121{COMMENT
LOWSrc/JobQueues/DuplicateJobException.cs1namespace FastEndpoints;COMMENT
LOWSrc/Core/ServiceResolver/ServiceScopeExtensions.cs21 /// try to resolve an instance for the given type from the dependency injection container. will return null if uCOMMENT
LOWSrc/Core/ServiceResolver/ServiceScopeExtensions.cs61 throw new InvalidOperationException("Keyed services not supported!");COMMENT
LOWSrc/Core/ServiceResolver/IServiceResolver.cs1using Microsoft.Extensions.DependencyInjection;COMMENT
LOWSrc/Core/ServiceResolver/IServiceResolver.cs21 IServiceScope CreateScope(); //todo: need to figure out how to get rid of this from this interface!COMMENT
LOWSrc/Core/ServiceResolver/IServiceResolver.cs41COMMENT
LOWSrc/Core/ServiceResolver/IServiceResolver.cs61 object? TryResolve(Type typeOfService, string keyName);COMMENT
LOWSrc/Core/ServiceResolver/IServiceResolver.cs81/// interface used by fastendpoints for resolving services from the DI container.COMMENT
LOWSrc/HealthChecks/HealthChecksExtensions.cs1using Microsoft.AspNetCore.Hosting;COMMENT
LOWSrc/HealthChecks/HealthChecksExtensions.cs21 /// <term>/health/live (liveness)</term>COMMENT
LOWSrc/HealthChecks/HealthChecksExtensions.cs41 /// builder.Services.AddServiceHealthChecks();COMMENT
LOWSrc/HealthChecks/ServiceHealthChecksOptions.cs1using Microsoft.AspNetCore.Http;COMMENT
LOWSrc/HealthChecks/ServiceHealthChecksOptions.cs21 /// The liveness probe indicates whether the application process is running.COMMENT
LOWSrc/HealthChecks/ServiceHealthChecksOptions.cs41COMMENT
LOWSrc/Swagger/DocumentOptions.cs21 /// <summary>COMMENT
LOWSrc/Swagger/DocumentOptions.cs41COMMENT
LOWSrc/Swagger/DocumentOptions.cs61 /// </summary>COMMENT
LOWSrc/Swagger/DocumentOptions.cs81 /// by default deprecated endpoints/operations will not show up in the swagger doc.COMMENT
LOWSrc/Swagger/DocumentOptions.cs101COMMENT
LOWSrc/Swagger/DocumentOptions.cs121 public Action<Dictionary<string, string>>? TagDescriptions { get; set; }COMMENT
LOWSrc/Swagger/Extensions.cs221COMMENT
343 more matches not shown…
Hallucination Indicators11 hits · 100 pts
SeverityFileLineSnippetContext
CRITICALTests/UnitTests/FastEndpoints/WebTests.cs240 ep.HttpContext.Response.Headers.CacheControl.ShouldBe(new("no-cache"));CODE
CRITICALTests/UnitTests/FastEndpoints/WebTests.cs241 ep.HttpContext.Response.Headers.Connection.ShouldBe(new("keep-alive"));CODE
CRITICAL…/UnitTests/FastEndpoints/ResponseCacheExecutorTests.cs20 ctx.Response.Headers.CacheControl.Count.ShouldBe(0);CODE
CRITICAL…/UnitTests/FastEndpoints/ResponseCacheExecutorTests.cs73 ctx.Response.Headers.Pragma.Count.ShouldBe(0);CODE
CRITICAL…/UnitTests/FastEndpoints/ResponseCacheExecutorTests.cs139 ctx.Response.Headers.Pragma.Count.ShouldBe(0);CODE
CRITICAL…/UnitTests/FastEndpoints/ResponseCacheExecutorTests.cs140 ctx.Response.Headers.Vary.Count.ShouldBe(0);CODE
CRITICAL…rationTests/FastEndpoints/BindingTests/BindingTests.cs729 x.MainAuthor.MainAddress.MainImage.Name.ShouldBe("MainAuthor.MainAddress.MainImage");CODE
CRITICAL…rationTests/FastEndpoints/BindingTests/BindingTests.cs730 x.MainAuthor.MainAddress.AlternativeImages.Count.ShouldBe(2);CODE
CRITICALSrc/Swagger/OperationProcessor.cs945 state.OpCtx.Document.Components.Schemas.Remove(oldBodyName);CODE
CRITICALSrc/Swagger/Extensions.cs425 var allProperties = mediaType.Value.Schema.ActualSchema.ActualProperties.ToList();STRING
CRITICALSrc/Generator/AccessControlGenerator.cs553 var desc = m.Invocation.ArgumentList.OpenParenToken.TrailingTrivia.SingleOrDefault(t => t.IsKind(SyntaxKind.STRING
Decorative Section Separators6 hits · 26 pts
SeverityFileLineSnippetContext
MEDIUM…ts/UnitTests/FastEndpoints/ReflectionGeneratorTests.cs284 // ── helpers ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…rationTests/FastEndpoints.Agents/NamingHelpersTests.cs5 // ── PascalCase (endpoint type names) ───────────────────────────────────COMMENT
MEDIUM…rationTests/FastEndpoints.Agents/NamingHelpersTests.cs15 // ── Title-case / space-separated (OpenAPI Summary values) ─────────────COMMENT
MEDIUM…rationTests/FastEndpoints.Agents/NamingHelpersTests.cs25 // ── Hyphen-separated ───────────────────────────────────────────────────COMMENT
MEDIUM…rationTests/FastEndpoints.Agents/NamingHelpersTests.cs32 // ── Already snake_case or lowercase ───────────────────────────────────COMMENT
MEDIUM…rationTests/FastEndpoints.Agents/NamingHelpersTests.cs40 // ── Edge cases ─────────────────────────────────────────────────────────COMMENT
Fake / Example Data15 hits · 15 pts
SeverityFileLineSnippetContext
LOW…ndpoints/SerializerCtxGen/FluentNoReqResMapEndpoint.cs39 FullName = "John Doe",CODE
LOWTestHarness/OData/Model/AppDbContextExtensions.cs20 Name = "John Doe",CODE
LOW…sts/IntegrationTests/FastEndpoints.OData/ODataTests.cs31 res.Value[2].Name.ShouldBe("John Doe");CODE
LOW…sts/IntegrationTests/FastEndpoints.OData/ODataTests.cs55 "/odata/customers?$filter=Name eq 'John Doe'&$expand=*",CODE
LOW…sts/IntegrationTests/FastEndpoints.OData/ODataTests.cs61 res.Value[0].Name.ShouldBe("John Doe");CODE
LOW…AotTests/NativeAotCheckerTests/Mapping/MappingTests.cs21 res.FullName.ShouldBe("John Doe");CODE
LOW…AotTests/NativeAotCheckerTests/Binding/BindingTests.cs73 Name = "John Doe",CODE
LOW…AotTests/NativeAotCheckerTests/Binding/BindingTests.cs86 res.Person.Name.ShouldBe("John Doe");CODE
LOW…AotTests/NativeAotCheckerTests/Binding/BindingTests.cs113 res.Editor.Name.ShouldBe("John Doe");CODE
LOW…AotTests/NativeAotCheckerTests/Binding/BindingTests.cs144 Name = "John Doe"CODE
LOW…AotTests/NativeAotCheckerTests/Binding/BindingTests.cs175 res.Editor.Name.ShouldBe("John Doe");CODE
LOW…eckerTests/SerializerContext/SerializerContextTests.cs35 res.First().FullName.ShouldBe("John Doe");CODE
LOW…eckerTests/SerializerContext/SerializerContextTests.cs56 res.ShouldBe("John Doe");CODE
LOW…eckerTests/SerializerContext/SerializerContextTests.cs103 res.FullName.ShouldBe("John Doe");CODE
LOW…eckerTests/SerializerContext/SerializerContextTests.cs127 res.FullName.ShouldBe("John Doe");CODE
Slop Phrases6 hits · 9 pts
SeverityFileLineSnippetContext
LOW…egrationTests/FastEndpoints.Swagger/SwaggerDocTests.cs8 // don't forget to 'false' afterward. because if you don't you're always comparing against newly generated outpCOMMENT
LOW…rationTests/FastEndpoints.OpenApi/HttpSnapshotTests.cs7 // don't forget to 'false' afterward. because if you don't you're always comparing against newly generated outpCOMMENT
LOW…ntegrationTests/FastEndpoints.OpenApi/SnapshotTests.cs7 // don't forget to 'false' afterward. because if you don't you're always comparing against newly generated outpCOMMENT
LOWSrc/Security/JwtCreationOptions.cs43 /// <remarks>don't forget to set an appropriate <see cref="SigningAlgorithm" /> if changing to <see cref="TokenSigniCOMMENT
LOWSrc/Security/JwtCreationOptions.cs50 /// defaults to HmacSha256 for symmetric keys. don't forget to set an appropriate algorithm when changing <see cref=COMMENT
LOWSrc/Library/Config/ErrorOptions.cs25 /// if you're specifying your own <see cref="ResponseBuilder" />, don't forget to set this property to the correct tCOMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWSrc/Library/Main/FeRequestHandler.cs9internal sealed class FeRequestHandler : IResultCODE