A .NET library that makes it easier to create beautiful console applications.
This report presents the forensic synthetic code analysis of spectreconsole/spectre.console, a C# project with 11,549 GitHub stars. SynthScan v2.0 examined 102,624 lines of code across 748 source files, recording 1604 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 13.2 places this repository in the Low AI signal 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).
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.
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 1604 distinct pattern matches across 8 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 | resources/nuget/Spectre.Console.Ansi.md | 1 | # `Spectre.Console.Ansi` | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.Progress.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/Region.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/Region.cs | 21 | /// </summary> | COMMENT |
| LOW | src/Spectre.Console/HorizontalAlignment.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.Markup.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.Markup.cs | 21 | /// <param name="args">An array of objects to write.</param> | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.Markup.cs | 41 | { | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.Markup.cs | 61 | /// <example> | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.Markup.cs | 81 | Console.MarkupLine(value); | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.Markup.cs | 101 | /// string input = args[0]; | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.Markup.cs | 121 | } | COMMENT |
| LOW | src/Spectre.Console/Overflow.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/IHasJustification.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/IHasJustification.cs | 21 | /// </summary> | COMMENT |
| LOW | src/Spectre.Console/IProfileEnricher.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/IProfileEnricher.cs | 21 | /// Enriches the profile. | COMMENT |
| LOW | src/Spectre.Console/VerticalOverflowCropping.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/Size.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/IAnsiConsoleInput.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/IAnsiConsoleInput.cs | 21 | COMMENT | |
| LOW | src/Spectre.Console/IHasCulture.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/TableBorder.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/TableBorder.cs | 21 | public virtual bool SupportsRowSeparator { get; } = true; | COMMENT |
| LOW | src/Spectre.Console/TreeGuide.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/IHasTableBorder.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/IHasTableBorder.cs | 41 | } | COMMENT |
| LOW | src/Spectre.Console/IHasTableBorder.cs | 101 | } | COMMENT |
| LOW | src/Spectre.Console/IHasTableBorder.cs | 161 | } | COMMENT |
| LOW | src/Spectre.Console/IHasTableBorder.cs | 221 | } | COMMENT |
| LOW | src/Spectre.Console/TreeGuide.Known.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/AnsiConsoleSettings.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/AnsiConsoleSettings.cs | 21 | /// </summary> | COMMENT |
| LOW | src/Spectre.Console/Justify.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/IPaddable.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/IPaddable.cs | 21 | /// </summary> | COMMENT |
| LOW | src/Spectre.Console/IPaddable.cs | 81 | /// </summary> | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.cs | 41 | COMMENT | |
| LOW | src/Spectre.Console/AnsiConsole.Write.cs | 101 | /// <summary> | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.Write.cs | 121 | COMMENT | |
| LOW | src/Spectre.Console/VerticalAlignment.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/IHasVisibility.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/IHasVisibility.cs | 21 | /// Marks the specified object as being invisible. | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.WriteLine.cs | 21 | { | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.WriteLine.cs | 161 | /// <summary> | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.WriteLine.cs | 181 | COMMENT | |
| LOW | src/Spectre.Console/AnsiConsole.WriteLine.cs | 201 | } | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.WriteLine.cs | 241 | COMMENT | |
| LOW | src/Spectre.Console/TableBorder.Known.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/TableBorder.Known.cs | 21 | public static TableBorder Ascii2 { get; } = new Ascii2TableBorder(); | COMMENT |
| LOW | src/Spectre.Console/TableBorder.Known.cs | 41 | public static TableBorder Minimal { get; } = new MinimalTableBorder(); | COMMENT |
| LOW | src/Spectre.Console/TableBorder.Known.cs | 61 | public static TableBorder SimpleHeavy { get; } = new SimpleHeavyTableBorder(); | COMMENT |
| LOW | src/Spectre.Console/TableBorder.Known.cs | 81 | public static TableBorder HeavyHead { get; } = new HeavyHeadTableBorder(); | COMMENT |
| LOW | src/Spectre.Console/IHasBorder.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/IHasBorder.cs | 41 | /// <summary> | COMMENT |
| LOW | src/Spectre.Console/IColumn.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/IOverflowable.cs | 1 | namespace Spectre.Console; | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.Prompt.cs | 21 | /// <summary> | COMMENT |
| LOW | src/Spectre.Console/AnsiConsole.Prompt.cs | 61 | /// <typeparam name="T">The prompt result type.</typeparam> | COMMENT |
| LOW | src/Spectre.Console/VerticalOverflow.cs | 1 | namespace Spectre.Console; | COMMENT |
| 1494 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ts/Expectations/Exception/OutParam.Output.verified.txt | 4 | at Exception Spectre.Console.Tests.Unit.ExceptionTests.GetException(Action action) in /xyz/ExceptionTests.cs:300 | CODE |
| CRITICAL⚡ | …ts/Expectations/Exception/CallSite.Output.verified.txt | 4 | at void Spectre.Console.Tests.Data.TestExceptions.ThrowWithGenericInnerException() in /xyz/Exceptions.cs:200 | CODE |
| CRITICAL⚡ | …ts/Expectations/Exception/CallSite.Output.verified.txt | 5 | at void Spectre.Console.Tests.Data.TestExceptions.ThrowWithGenericInnerException() in /xyz/Exceptions.cs:300 | CODE |
| CRITICAL⚡ | …ts/Expectations/Exception/CallSite.Output.verified.txt | 7 | at Exception Spectre.Console.Tests.Unit.ExceptionTests.GetException(Action action) in /xyz/ExceptionTests.cs:500 | CODE |
| CRITICAL | …sts/Expectations/Exception/Default.Output.verified.txt | 2 | at bool Spectre.Console.Tests.Data.TestExceptions.MethodThatThrows(int? number) in /xyz/Exceptions.cs:100 | CODE |
| CRITICAL | …sts/Expectations/Exception/Default.Output.verified.txt | 4 | at Exception Spectre.Console.Tests.Unit.ExceptionTests.GetException(Action action) in /xyz/ExceptionTests.cs:300 | CODE |
| CRITICAL | …ectations/Exception/ShortenedTypes.Output.verified.txt | 2 | at bool Spectre.Console.Tests.Data.TestExceptions.MethodThatThrows(int? number) in /xyz/Exceptions.cs:100 | CODE |
| CRITICAL | …ectations/Exception/ShortenedTypes.Output.verified.txt | 4 | at Exception Spectre.Console.Tests.Unit.ExceptionTests.GetException(Action action) in /xyz/ExceptionTests.cs:300 | CODE |
| CRITICAL | …tion.Output_exceptionFormats=ShortenTypes.verified.txt | 4 | at Exception Spectre.Console.Tests.Unit.ExceptionTests.GetException(Action action) in /xyz/ExceptionTests.cs:300 | CODE |
| CRITICAL⚡ | …ectations/Exception/InnerException.Output.verified.txt | 3 | at bool Spectre.Console.Tests.Data.TestExceptions.MethodThatThrows(int? number) in /xyz/Exceptions.cs:100 | CODE |
| CRITICAL⚡ | …ectations/Exception/InnerException.Output.verified.txt | 4 | at void Spectre.Console.Tests.Data.TestExceptions.ThrowWithInnerException() in /xyz/Exceptions.cs:200 | CODE |
| CRITICAL⚡ | …ectations/Exception/InnerException.Output.verified.txt | 5 | at void Spectre.Console.Tests.Data.TestExceptions.ThrowWithInnerException() in /xyz/Exceptions.cs:300 | CODE |
| CRITICAL⚡ | …ectations/Exception/InnerException.Output.verified.txt | 7 | at Exception Spectre.Console.Tests.Unit.ExceptionTests.GetException(Action action) in /xyz/ExceptionTests.cs:500 | CODE |
| CRITICAL | …Exception.Output_exceptionFormats=Default.verified.txt | 4 | at Exception Spectre.Console.Tests.Unit.ExceptionTests.GetException(Action action) in /xyz/ExceptionTests.cs:300 | CODE |
| CRITICAL | …Tests/Expectations/Exception/Tuple.Output.verified.txt | 2 | at bool Spectre.Console.Tests.Data.TestExceptions.MethodThatThrows(int? number) in /xyz/Exceptions.cs:100 | CODE |
| CRITICAL | …Tests/Expectations/Exception/Tuple.Output.verified.txt | 5 | at Exception Spectre.Console.Tests.Unit.ExceptionTests.GetException(Action action) in /xyz/ExceptionTests.cs:400 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ceGenerator.Colors.ColorGenerator/Color.Generated.g.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …erator.Colors.ColorGenerator/ColorTable.Generated.g.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ator.Colors.ColorGenerator/ColorPalette.Generated.g.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ceGenerator.Emojis.EmojiGenerator/Emoji.Generated.g.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …rator.Spinners.SpinnerGenerator/Spinner.Generated.g.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ceGenerator.Colors.ColorGenerator/Color.Generated.g.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …erator.Colors.ColorGenerator/ColorTable.Generated.g.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ator.Colors.ColorGenerator/ColorPalette.Generated.g.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …Spectre.Console.SourceGenerator/Colors/ColorEmitter.cs | 15 | // This code was generated by a tool. | COMMENT |
| HIGH | …Spectre.Console.SourceGenerator/Emojis/EmojiEmitter.cs | 31 | // This code was generated by a tool. | COMMENT |
| HIGH | …tre.Console.SourceGenerator/Spinners/SpinnerEmitter.cs | 14 | // This code was generated by a tool. | COMMENT |
| HIGH | src/Spectre.Console.Tests/Legacy/Spinner.Generated.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | src/Spectre.Console.Tests/Legacy/Emoji.Generated.cs | 3 | // This code was generated by a tool. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …Spectre.Console.SourceGenerator/Colors/ColorEmitter.cs | 0 | //------------------------------------------------------------------------------ // <auto-generated> // this code was ge | STRING |
| HIGH | …Spectre.Console.SourceGenerator/Emojis/EmojiEmitter.cs | 0 | //------------------------------------------------------------------------------ // <auto-generated> // this code was ge | STRING |
| HIGH | …tre.Console.SourceGenerator/Spinners/SpinnerEmitter.cs | 0 | //------------------------------------------------------------------------------ // <auto-generated> // this code was ge | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ectre.Console.SourceGenerator/Colors/ColorGenerator.cs | 22 | // Step 1: Extract text (cached by string value equality) | COMMENT |
| LOW⚡ | …ectre.Console.SourceGenerator/Colors/ColorGenerator.cs | 23 | // Step 2: Parse to models (cached by EquatableArray value equality) | COMMENT |
| LOW⚡ | …ectre.Console.SourceGenerator/Emojis/EmojiGenerator.cs | 22 | // Step 1: Extract text (cached by string value equality) | COMMENT |
| LOW⚡ | …ectre.Console.SourceGenerator/Emojis/EmojiGenerator.cs | 23 | // Step 2: Parse to models (cached by EquatableArray value equality) | COMMENT |
| LOW⚡ | …e.Console.SourceGenerator/Spinners/SpinnerGenerator.cs | 22 | // Step 1: Extract text (cached by string value equality) | COMMENT |
| LOW⚡ | …e.Console.SourceGenerator/Spinners/SpinnerGenerator.cs | 23 | // Step 2: Wrap in EquatableArray for value equality when combining | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ectre.Console.SourceGenerator/Colors/ColorGenerator.cs | 22 | // Step 1: Extract text (cached by string value equality) | COMMENT |
| LOW⚡ | …ectre.Console.SourceGenerator/Colors/ColorGenerator.cs | 23 | // Step 2: Parse to models (cached by EquatableArray value equality) | COMMENT |
| LOW⚡ | …ectre.Console.SourceGenerator/Emojis/EmojiGenerator.cs | 22 | // Step 1: Extract text (cached by string value equality) | COMMENT |
| LOW⚡ | …ectre.Console.SourceGenerator/Emojis/EmojiGenerator.cs | 23 | // Step 2: Parse to models (cached by EquatableArray value equality) | COMMENT |
| LOW⚡ | …e.Console.SourceGenerator/Spinners/SpinnerGenerator.cs | 22 | // Step 1: Extract text (cached by string value equality) | COMMENT |
| LOW⚡ | …e.Console.SourceGenerator/Spinners/SpinnerGenerator.cs | 23 | // Step 2: Wrap in EquatableArray for value equality when combining | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …Spectre.Console.Tests/Unit/Widgets/Table/TableTests.cs | 571 | table.AddRow("Grault", "Garply", "Lorem ipsum dolor sit amet"); | CODE |
| LOW | …Spectre.Console.Tests/Unit/Widgets/Table/TableTests.cs | 571 | table.AddRow("Grault", "Garply", "Lorem ipsum dolor sit amet"); | CODE |
| LOW | …s/Table/Render_ColumnJustification.Output.verified.txt | 5 | │ Grault │ Garply │ Lorem ipsum dolor sit amet │ | CODE |
| LOW | …s/Table/Render_ColumnJustification.Output.verified.txt | 5 | │ Grault │ Garply │ Lorem ipsum dolor sit amet │ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …Expectations/Widgets/Recorder/Html.Output.verified.txt | 6 | <span>│</span><span> </span><span style="color: #FF0000">╭</span><span style="color: #FF0000">─────────────</span><span | CODE |
| MEDIUM | …Expectations/Widgets/Recorder/Html.Output.verified.txt | 8 | <span>│</span><span> </span><span style="color: #FF0000">╰</span><span style="color: #FF0000">─────────────</span><span | CODE |