A light-weight REST API development framework for ASP.NET 8 and newer.
This report presents the forensic synthetic code analysis of FastEndpoints/FastEndpoints, a C# project with 5,975 GitHub stars. SynthScan v2.0 examined 139,086 lines of code across 985 source files, recording 419 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 3.5 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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.
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.
The scanner identified 419 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | TestHarness/Web/DocumentRegistration.cs | 141 | }); | COMMENT |
| LOW | TestHarness/Web/DocumentRegistration.cs | 161 | // FastEndpoints.Swagger.Extensions.SwaggerDocument( | COMMENT |
| LOW | TestHarness/Web/DocumentRegistration.cs | 181 | // o.TagStripSymbols = true; | COMMENT |
| LOW | TestHarness/Web/DocumentRegistration.cs | 201 | // o.ExcludeNonFastEndpoints = true; | COMMENT |
| LOW | TestHarness/Web/DocumentRegistration.cs | 221 | // ConfigureSwaggerDocument(o, "ReleaseVersioning - v1", "Web API"); | COMMENT |
| LOW | TestHarness/Web/DocumentRegistration.cs | 241 | // ConfigureSwaggerDocument(o, "ReleaseVersioning - v3", "Web API"); | COMMENT |
| LOW | TestHarness/Web/DocumentRegistration.cs | 261 | // o.RemoveEmptyRequestSchema = true; | COMMENT |
| LOW | TestHarness/Web/DocumentRegistration.cs | 281 | // s.SchemaSettings.SchemaType = NJsonSchema.SchemaType.OpenApi3; | COMMENT |
| LOW | TestHarness/Sandbox/Contracts/MyENDPOINT.cs | 1 | // using FastEndpoints; | COMMENT |
| LOW | TestHarness/Sandbox/Contracts/MyENDPOINT.cs | 21 | // await SendAsync(req); | COMMENT |
| LOW | …stHarness/Sandbox/Tests/EndpointTests/EndpointTests.cs | 1 | // using Tests.Fixtures; | COMMENT |
| LOW | …/IntegrationTests/FastEndpoints/RPCTests/EventQueue.cs | 41 | COMMENT | |
| LOW | Src/JobQueues/JobQueueOptions.cs | 1 | namespace FastEndpoints; | COMMENT |
| LOW | Src/JobQueues/JobQueueOptions.cs | 21 | /// due to too frequent queries being issued. only reduce this delay if you need re-scheduled jobs re-execute faster | COMMENT |
| LOW | Src/JobQueues/JobQueueOptions.cs | 41 | /// <param name="maxConcurrency">the maximum number of command executions of the same command type that's allowed to | COMMENT |
| LOW | Src/JobQueues/JobResult.cs | 1 | using System.Diagnostics.CodeAnalysis; | COMMENT |
| LOW | Src/JobQueues/IJobStorageProvider.cs | 1 | namespace FastEndpoints; | COMMENT |
| LOW | Src/JobQueues/IJobStorageProvider.cs | 21 | Task StoreJobAsync(TStorageRecord r, CancellationToken ct); | COMMENT |
| LOW | Src/JobQueues/IJobStorageProvider.cs | 41 | Task<ICollection<TStorageRecord>> GetNextBatchAsync(PendingJobSearchParams<TStorageRecord> parameters); | COMMENT |
| LOW | Src/JobQueues/IJobStorageProvider.cs | 61 | /// throws an exception. If you've set an execution time limit for the command, the thrown exception would be of typ | COMMENT |
| LOW | Src/JobQueues/IJobStorageProvider.cs | 81 | Task OnHandlerExecutionFailureAsync(TStorageRecord r, Exception exception, CancellationToken ct); | COMMENT |
| LOW | Src/JobQueues/IJobStorageProvider.cs | 101 | /// <param name="trackingId">the <see cref="IJobStorageRecord.TrackingID" /> of the job to be looked up</param> | COMMENT |
| LOW | Src/JobQueues/PendingJobSearchParams.cs | 1 | using System.Linq.Expressions; | COMMENT |
| LOW | Src/JobQueues/PendingJobSearchParams.cs | 21 | /// r.ExecuteAfter <= now && | COMMENT |
| LOW | Src/JobQueues/PendingJobSearchParams.cs | 41 | COMMENT | |
| LOW | Src/JobQueues/JobQueueExtensions.cs | 161 | /// <summary> | COMMENT |
| LOW | Src/JobQueues/JobQueueExtensions.cs | 181 | } | COMMENT |
| LOW | Src/JobQueues/JobTracker.cs | 1 | namespace FastEndpoints; | COMMENT |
| LOW | Src/JobQueues/JobTracker.cs | 21 | => JobQueueBase.CancelJobAsync<TCommand>(trackingId, ct); | COMMENT |
| LOW | Src/JobQueues/JobTracker.cs | 41 | => JobQueueBase.GetJobResultAsync<TCommand, TResult>(trackingId, ct); | COMMENT |
| LOW | Src/JobQueues/JobTracker.cs | 61 | public static Task CancelJobAsync(Guid trackingId, CancellationToken ct = default) | COMMENT |
| LOW | Src/JobQueues/StaleJobSearchParams.cs | 1 | using System.Linq.Expressions; | COMMENT |
| LOW | Src/JobQueues/IJobStorageRecord.cs | 1 | // ReSharper disable PropertyCanBeMadeInitOnly.Global | COMMENT |
| LOW | Src/JobQueues/IJobStorageRecord.cs | 21 | /// the actual command object that will be embedded in the storage record. | COMMENT |
| LOW | Src/JobQueues/IJobStorageRecord.cs | 41 | /// </summary> | COMMENT |
| LOW | Src/JobQueues/IJobStorageRecord.cs | 81 | /// </summary> | COMMENT |
| LOW | Src/Core/ServiceResolver/ServiceScopeExtensions.cs | 21 | /// try to resolve an instance for the given type from the dependency injection container. will return null if u | COMMENT |
| LOW | Src/Core/ServiceResolver/ServiceScopeExtensions.cs | 61 | throw new InvalidOperationException("Keyed services not supported!"); | COMMENT |
| LOW | Src/Core/ServiceResolver/IServiceResolver.cs | 1 | using Microsoft.Extensions.DependencyInjection; | COMMENT |
| LOW | Src/Core/ServiceResolver/IServiceResolver.cs | 21 | IServiceScope CreateScope(); //todo: need to figure out how to get rid of this from this interface! | COMMENT |
| LOW | Src/Core/ServiceResolver/IServiceResolver.cs | 41 | COMMENT | |
| LOW | Src/Core/ServiceResolver/IServiceResolver.cs | 61 | object? TryResolve(Type typeOfService, string keyName); | COMMENT |
| LOW | Src/Core/ServiceResolver/IServiceResolver.cs | 81 | /// interface used by fastendpoints for resolving services from the DI container. | COMMENT |
| LOW | Src/HealthChecks/HealthChecksExtensions.cs | 1 | using Microsoft.AspNetCore.Hosting; | COMMENT |
| LOW | Src/HealthChecks/HealthChecksExtensions.cs | 21 | /// <term>/health/live (liveness)</term> | COMMENT |
| LOW | Src/HealthChecks/HealthChecksExtensions.cs | 41 | /// builder.Services.AddServiceHealthChecks(); | COMMENT |
| LOW | Src/HealthChecks/ServiceHealthChecksOptions.cs | 1 | using Microsoft.AspNetCore.Http; | COMMENT |
| LOW | Src/HealthChecks/ServiceHealthChecksOptions.cs | 21 | /// The liveness probe indicates whether the application process is running. | COMMENT |
| LOW | Src/HealthChecks/ServiceHealthChecksOptions.cs | 41 | COMMENT | |
| LOW | Src/Swagger/DocumentOptions.cs | 21 | /// <summary> | COMMENT |
| LOW | Src/Swagger/DocumentOptions.cs | 41 | COMMENT | |
| LOW | Src/Swagger/DocumentOptions.cs | 61 | /// </summary> | COMMENT |
| LOW | Src/Swagger/DocumentOptions.cs | 81 | /// by default deprecated endpoints/operations will not show up in the swagger doc. | COMMENT |
| LOW | Src/Swagger/DocumentOptions.cs | 101 | COMMENT | |
| LOW | Src/Swagger/DocumentOptions.cs | 121 | public Action<Dictionary<string, string>>? TagDescriptions { get; set; } | COMMENT |
| LOW | Src/Swagger/Extensions.cs | 221 | COMMENT | |
| LOW | Src/Swagger/Extensions.cs | 481 | property.ActualSchema.AllOf.Any(schema => schema.Type == JsonObjectType.Array)); | COMMENT |
| LOW | Src/Swagger/Extensions.cs | 501 | /// </PropertyGroup> | COMMENT |
| LOW | Src/Swagger/ValidationSchemaProcessor.cs | 1 | // Original: https://github.com/zymlabs/nswag-fluentvalidation | COMMENT |
| LOW | Src/Swagger/ValidationProcessor/FluentValidationRule.cs | 1 | // Original: https://github.com/zymlabs/nswag-fluentvalidation | COMMENT |
| 327 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | Tests/UnitTests/FastEndpoints/WebTests.cs | 240 | ep.HttpContext.Response.Headers.CacheControl.ShouldBe(new("no-cache")); | CODE |
| CRITICAL | Tests/UnitTests/FastEndpoints/WebTests.cs | 241 | ep.HttpContext.Response.Headers.Connection.ShouldBe(new("keep-alive")); | CODE |
| CRITICAL | …rationTests/FastEndpoints/BindingTests/BindingTests.cs | 729 | x.MainAuthor.MainAddress.MainImage.Name.ShouldBe("MainAuthor.MainAddress.MainImage"); | CODE |
| CRITICAL | …rationTests/FastEndpoints/BindingTests/BindingTests.cs | 730 | x.MainAuthor.MainAddress.AlternativeImages.Count.ShouldBe(2); | CODE |
| CRITICAL | Src/Swagger/OperationProcessor.cs | 945 | state.OpCtx.Document.Components.Schemas.Remove(oldBodyName); | CODE |
| CRITICAL | Src/Swagger/Extensions.cs | 425 | var allProperties = mediaType.Value.Schema.ActualSchema.ActualProperties.ToList(); | STRING |
| CRITICAL | Src/Generator/AccessControlGenerator.cs | 553 | var desc = m.Invocation.ArgumentList.OpenParenToken.TrailingTrivia.SingleOrDefault(t => t.IsKind(SyntaxKind. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ts/UnitTests/FastEndpoints/ReflectionGeneratorTests.cs | 284 | // ── helpers ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rationTests/FastEndpoints.Agents/NamingHelpersTests.cs | 5 | // ── PascalCase (endpoint type names) ─────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rationTests/FastEndpoints.Agents/NamingHelpersTests.cs | 15 | // ── Title-case / space-separated (OpenAPI Summary values) ───────────── | COMMENT |
| MEDIUM⚡ | …rationTests/FastEndpoints.Agents/NamingHelpersTests.cs | 25 | // ── Hyphen-separated ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rationTests/FastEndpoints.Agents/NamingHelpersTests.cs | 32 | // ── Already snake_case or lowercase ─────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …rationTests/FastEndpoints.Agents/NamingHelpersTests.cs | 40 | // ── Edge cases ───────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ndpoints/SerializerCtxGen/FluentNoReqResMapEndpoint.cs | 39 | FullName = "John Doe", | CODE |
| LOW | TestHarness/OData/Model/AppDbContextExtensions.cs | 20 | Name = "John Doe", | CODE |
| LOW | …sts/IntegrationTests/FastEndpoints.OData/ODataTests.cs | 31 | res.Value[2].Name.ShouldBe("John Doe"); | CODE |
| LOW | …sts/IntegrationTests/FastEndpoints.OData/ODataTests.cs | 55 | "/odata/customers?$filter=Name eq 'John Doe'&$expand=*", | CODE |
| LOW | …sts/IntegrationTests/FastEndpoints.OData/ODataTests.cs | 61 | res.Value[0].Name.ShouldBe("John Doe"); | CODE |
| LOW | …AotTests/NativeAotCheckerTests/Mapping/MappingTests.cs | 21 | res.FullName.ShouldBe("John Doe"); | CODE |
| LOW | …AotTests/NativeAotCheckerTests/Binding/BindingTests.cs | 72 | Name = "John Doe", | CODE |
| LOW | …AotTests/NativeAotCheckerTests/Binding/BindingTests.cs | 85 | res.Person.Name.ShouldBe("John Doe"); | CODE |
| LOW | …AotTests/NativeAotCheckerTests/Binding/BindingTests.cs | 112 | res.Editor.Name.ShouldBe("John Doe"); | CODE |
| LOW | …eckerTests/SerializerContext/SerializerContextTests.cs | 35 | res.First().FullName.ShouldBe("John Doe"); | CODE |
| LOW | …eckerTests/SerializerContext/SerializerContextTests.cs | 56 | res.ShouldBe("John Doe"); | CODE |
| LOW | …eckerTests/SerializerContext/SerializerContextTests.cs | 103 | res.FullName.ShouldBe("John Doe"); | CODE |
| LOW | …eckerTests/SerializerContext/SerializerContextTests.cs | 127 | res.FullName.ShouldBe("John Doe"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …egrationTests/FastEndpoints.Swagger/SwaggerDocTests.cs | 8 | // don't forget to 'false' afterward. because if you don't you're always comparing against newly generated outp | COMMENT |
| LOW | …ntegrationTests/FastEndpoints.OpenApi/SnapshotTests.cs | 7 | // don't forget to 'false' afterward. because if you don't you're always comparing against newly generated outp | COMMENT |
| LOW | Src/Security/JwtCreationOptions.cs | 43 | /// <remarks>don't forget to set an appropriate <see cref="SigningAlgorithm" /> if changing to <see cref="TokenSigni | COMMENT |
| LOW | Src/Security/JwtCreationOptions.cs | 50 | /// defaults to HmacSha256 for symmetric keys. don't forget to set an appropriate algorithm when changing <see cref= | COMMENT |
| LOW | Src/Library/Config/ErrorOptions.cs | 25 | /// if you're specifying your own <see cref="ResponseBuilder" />, don't forget to set this property to the correct t | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Src/Library/Main/FeRequestHandler.cs | 9 | internal sealed class FeRequestHandler : IResult | CODE |