Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10
This report summarizes scanner evidence for ardalis/CleanArchitecture, a C# project with 18,532 GitHub stars. SynthScan examined 15,994 lines of code across 443 source files, recording 24 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 2.2 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 15 finding(s).
Are imports declared and package/API names verified? 9 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 24 finding(s).
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.
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.
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.
The scanner identified 24 distinct pattern matches across 4 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/content/minimal-clean-architecture.md | 233 | #### Step 1: Extract Core Project | COMMENT |
| LOW | docs/content/minimal-clean-architecture.md | 246 | #### Step 2: Extract Infrastructure Project | COMMENT |
| LOW | docs/content/minimal-clean-architecture.md | 259 | #### Step 3: Extract UseCases (Optional) | COMMENT |
| LOW⚡ | docs/content/minimal-clean-architecture.md | 271 | #### Step 4: Clean Up Web Project | COMMENT |
| LOW⚡ | docs/content/minimal-clean-architecture.md | 281 | #### Step 1: Merge Projects | COMMENT |
| LOW⚡ | docs/content/minimal-clean-architecture.md | 288 | #### Step 2: Simplify Patterns | COMMENT |
| LOW⚡ | docs/content/minimal-clean-architecture.md | 294 | #### Step 3: Organize Vertically | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ple/src/NimblePros.SampleToDo.Web/Contributors/List.cs | 24 | new(1, "John Doe"), | CODE |
| LOW | …e/src/NimblePros.SampleToDo.Web/Contributors/Create.cs | 30 | s.ExampleRequest = new CreateContributorRequest { Name = "John Doe" }; | CODE |
| LOW | …e/src/NimblePros.SampleToDo.Web/Contributors/Create.cs | 31 | s.ResponseExamples[201] = new CreateContributorResponse(1, "John Doe"); | CODE |
| LOW | …/src/NimblePros.SampleToDo.Web/Contributors/GetById.cs | 25 | s.ResponseExamples[200] = new ContributorRecord(1, "John Doe"); | CODE |
| LOW | …gate/Handlers/ItemCompletedEmailNotificationHandler.cs | 23 | await _emailSender.SendEmailAsync("test@test.com", "test@test.com", | CODE |
| LOW | src/Clean.Architecture.Web/Contributors/List.cs | 25 | new(1, "John Doe", PhoneNumber.Unknown.ToString()), | CODE |
| LOW | src/Clean.Architecture.Web/Contributors/Create.cs | 31 | s.ExampleRequest = new CreateContributorRequest { Name = "John Doe" }; | CODE |
| LOW | src/Clean.Architecture.Web/Contributors/Create.cs | 32 | s.ResponseExamples[201] = new CreateContributorResponse(1, "John Doe"); | CODE |
| LOW | src/Clean.Architecture.Web/Contributors/GetById.cs | 27 | s.ResponseExamples[200] = new ContributorRecord(1, "John Doe", "+1 555-555-5555"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …tecture.Web/Infrastructure/Data/AppDbContextFactory.cs | 1 | using Microsoft.EntityFrameworkCore; | COMMENT |
| LOW | .github/workflows/publish-templates.yml | 61 | # dotnet build TestFullTemplate/TestFullTemplate.slnx | COMMENT |
| LOW | …-validation-unobtrusive/jquery.validate.unobtrusive.js | 261 | /// <param name="params" type="Array" optional="true">[Optional] An array of parameter names (strings) that will | COMMENT |
| LOW | …-validation-unobtrusive/jquery.validate.unobtrusive.js | 281 | /// of adapterName will be used instead.</param> | COMMENT |
| LOW | …idation-unobtrusive/jquery.validate.unobtrusive.min.js | 1 | // Unobtrusive validation support library for jQuery and jQuery Validate | COMMENT |
| LOW | …ntributors/Commands/Delete/DeleteContributorHandler.cs | 21 | // var aggregateToDelete = await _repository.GetByIdAsync(request.ContributorId); | COMMENT |
| LOW | src/Clean.Architecture.Web/appsettings.json | 21 | { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/content/design-decisions.md | 95 | Test projects could be organized based on the kind of test (unit, functional, integration, performance, etc.) or by the | CODE |