Repository Analysis

thomhurst/TUnit

A modern, fast and flexible .NET testing framework

7.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of thomhurst/TUnit, a C# project with 3,929 GitHub stars. SynthScan v2.0 examined 534,624 lines of code across 3622 source files, recording 1304 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 7.0 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).

7.0
Adjusted Score
7.0
Raw Score
100%
Time Factor
2026-08-28
Last Push
3.9K
Stars
C#
Language
534.6K
Lines of Code
3.6K
Files
1.3K
Pattern Hits
2026-08-29
Scan Date
0.06
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 188HIGH 44MEDIUM 184LOW 888

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 1304 distinct pattern matches across 13 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.

Hallucination Indicators188 hits · 1990 pts
SeverityFileLineSnippetContext
CRITICALtests/TUnit.TestProject/HumanizerDisplayNameTests.cs21 return context.TestContext.Metadata.TestDetails.TestName.Humanize();CODE
CRITICALtests/TUnit.TestProject/ConsoleTests.cs12 await Assert.That(TestContext.Current.GetStandardOutput()).Contains(TestContext.Current.Metadata.TestDetails.MetCODE
CRITICALtests/TUnit.UnitTests/PropertyInjectorTests.cs24 await Assert.That(context.Metadata.TestDetails.TestClassInjectedPropertyArguments.Values.Single())CODE
CRITICALtests/TUnit.UnitTests/output.txt146[DEBUG 01:24:41.842] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.GenericTestClass_Bool.1.1.TeCODE
CRITICALtests/TUnit.UnitTests/output.txt147[DEBUG 01:24:41.843] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParCODE
CRITICALtests/TUnit.UnitTests/output.txt149[DEBUG 01:24:41.843] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParameCODE
CRITICALtests/TUnit.UnitTests/output.txt150[DEBUG 01:24:41.843] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParCODE
CRITICALtests/TUnit.UnitTests/output.txt159[DEBUG 01:24:41.848] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithPaCODE
CRITICALtests/TUnit.UnitTests/output.txt160[DEBUG 01:24:41.848] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParamCODE
CRITICALtests/TUnit.UnitTests/output.txt161[DEBUG 01:24:41.848] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParCODE
CRITICALtests/TUnit.UnitTests/output.txt162[DEBUG 01:24:41.848] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.GenericTestClass_Bool.1.1.TeCODE
CRITICALtests/TUnit.UnitTests/output.txt163[DEBUG 01:24:41.848] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParCODE
CRITICALtests/TUnit.UnitTests/output.txt164[DEBUG 01:24:41.848] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParameCODE
CRITICALtests/TUnit.UnitTests/output.txt165[DEBUG 01:24:41.848] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParCODE
CRITICALtests/TUnit.UnitTests/output.txt166[DEBUG 01:24:41.848] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithPaCODE
CRITICALtests/TUnit.UnitTests/output.txt167[DEBUG 01:24:41.848] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParamCODE
CRITICALtests/TUnit.UnitTests/output.txt168[DEBUG 01:24:41.850] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParCODE
CRITICALtests/TUnit.UnitTests/output.txt183[DEBUG 01:24:41.855] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.TesCODE
CRITICALtests/TUnit.UnitTests/output.txt184[DEBUG 01:24:41.855] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICALtests/TUnit.UnitTests/output.txt185[DEBUG 01:24:41.855] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDatCODE
CRITICALtests/TUnit.UnitTests/output.txt186[DEBUG 01:24:41.855] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICALtests/TUnit.UnitTests/output.txt198[DEBUG 01:24:41.857] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSynCODE
CRITICALtests/TUnit.UnitTests/output.txt199[DEBUG 01:24:41.857] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDaCODE
CRITICALtests/TUnit.UnitTests/output.txt200[DEBUG 01:24:41.857] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICALtests/TUnit.UnitTests/output.txt201[DEBUG 01:24:41.857] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.TesCODE
CRITICALtests/TUnit.UnitTests/output.txt202[DEBUG 01:24:41.857] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICALtests/TUnit.UnitTests/output.txt203[DEBUG 01:24:41.857] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDatCODE
CRITICALtests/TUnit.UnitTests/output.txt204[DEBUG 01:24:41.857] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICALtests/TUnit.UnitTests/output.txt205[DEBUG 01:24:41.857] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSynCODE
CRITICALtests/TUnit.UnitTests/output.txt206[DEBUG 01:24:41.857] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDaCODE
CRITICALtests/TUnit.UnitTests/output.txt207[DEBUG 01:24:41.857] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICALtests/TUnit.UnitTests/output.txt208[DEBUG 01:24:41.858] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.TesCODE
CRITICALtests/TUnit.UnitTests/output.txt209[DEBUG 01:24:41.858] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICALtests/TUnit.UnitTests/output.txt210[DEBUG 01:24:41.858] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDatCODE
CRITICALtests/TUnit.UnitTests/output.txt211[DEBUG 01:24:41.858] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICALtests/TUnit.UnitTests/output.txt212[DEBUG 01:24:41.858] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSynCODE
CRITICALtests/TUnit.UnitTests/output.txt213[DEBUG 01:24:41.858] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDaCODE
CRITICALtests/TUnit.UnitTests/output.txt214[DEBUG 01:24:41.858] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncCODE
CRITICALtests/TUnit.UnitTests/output.txt215[DEBUG 01:24:41.858] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.TesCODE
CRITICALtests/TUnit.UnitTests/output.txt216[DEBUG 01:24:41.858] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICALtests/TUnit.UnitTests/output.txt217[DEBUG 01:24:41.858] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncTaCODE
CRITICALtests/TUnit.UnitTests/output.txt218[DEBUG 01:24:41.858] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICALtests/TUnit.UnitTests/output.txt219[DEBUG 01:24:41.860] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyCODE
CRITICALtests/TUnit.UnitTests/output.txt220[DEBUG 01:24:41.860] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncTCODE
CRITICALtests/TUnit.UnitTests/output.txt221[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICALtests/TUnit.UnitTests/output.txt222[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.TesCODE
CRITICALtests/TUnit.UnitTests/output.txt223[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICALtests/TUnit.UnitTests/output.txt224[DEBUG 01:24:41.860] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncTaCODE
CRITICALtests/TUnit.UnitTests/output.txt225[DEBUG 01:24:41.860] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICALtests/TUnit.UnitTests/output.txt226[DEBUG 01:24:41.860] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyCODE
CRITICALtests/TUnit.UnitTests/output.txt227[DEBUG 01:24:41.860] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncTCODE
CRITICALtests/TUnit.UnitTests/output.txt228[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICALtests/TUnit.UnitTests/output.txt229[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.TesCODE
CRITICALtests/TUnit.UnitTests/output.txt230[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICALtests/TUnit.UnitTests/output.txt231[DEBUG 01:24:41.860] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncTaCODE
CRITICALtests/TUnit.UnitTests/output.txt232[DEBUG 01:24:41.860] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICALtests/TUnit.UnitTests/output.txt233[DEBUG 01:24:41.860] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyCODE
CRITICALtests/TUnit.UnitTests/output.txt234[DEBUG 01:24:41.860] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncTCODE
CRITICALtests/TUnit.UnitTests/output.txt235[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsynCODE
CRITICALtests/TUnit.UnitTests/output.txt236[DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.TesCODE
128 more matches not shown…
Over-Commented Block793 hits · 792 pts
SeverityFileLineSnippetContext
LOW…NugetTester/TUnit.NugetTester/AotCompatibilityTests.cs1using TUnit.Assertions.Enums;COMMENT
LOWtests/TUnit.TestProject/Tests.cs381 .IsEqualTo("ABCDE", StringComparison.Ordinal);COMMENT
LOWtests/TUnit.TestProject/Tests.cs401COMMENT
LOWtests/TUnit.TestProject/CombinedDataSourceErrorTests.cs1using TUnit.TestProject.Attributes;COMMENT
LOWtests/TUnit.TestProject/CombinedDataSourceErrorTests.cs21 // }COMMENT
LOWtests/TUnit.TestProject/CombinedDataSourceErrorTests.cs41 yield break;COMMENT
LOWtests/TUnit.TestProject/HookExecutionOrderTest.cs21 public void VerifyExecutionOrder()COMMENT
LOWtests/TUnit.TestProject/Bugs/5800/Repro.cs1using TUnit.TestProject.Attributes;COMMENT
LOW…roject/Bugs/3990/ClassLevelCombinedDataSourcesTests.cs81 await Assert.That(z).IsIn([true, false]);COMMENT
LOW…Project/Bugs/5728/DefaultTimeoutClassificationTests.cs1using TUnit.TestProject.Attributes;COMMENT
LOWtests/TUnit.TestProject/Bugs/_6557/Tests.cs1using TUnit.Core.Interfaces;COMMENT
LOW…t.TestProject/Bugs/_6339/TimeoutAfterHookTokenTests.cs1using TUnit.TestProject.Attributes;COMMENT
LOWtests/TUnit.TestProject/Bugs/1570/Tests.cs21 public async Task GetTests_Without_Filtering_On_TestClassArguments_Test()COMMENT
LOW…t.TestProject/Bugs/4032/NestedAsyncInitializerTests.cs1using TUnit.Core.Interfaces;COMMENT
LOWtests/TUnit.TestProject/Bugs/3803/Tests.cs1using TUnit.TestProject.Attributes;COMMENT
LOW…tProject/Bugs/_2804/CriticalHookChainExecutionTests.cs181 // AfterEveryTest execution verifiedCOMMENT
LOW…stProject/Bugs/4715/AttributePropertyInjectionTests.cs1using TUnit.Core.Interfaces;COMMENT
LOW…2/InstanceMethodDataSourceWithAsyncInitializerTests.cs1using System.Collections.Concurrent;COMMENT
LOW…2/InstanceMethodDataSourceWithAsyncInitializerTests.cs21/// which was unexpected and resource-intensive.COMMENT
LOW…/TUnit.TestProject/Bugs/3993/IAsyncInitializerTests.cs1using System.Collections.Concurrent;COMMENT
LOW…t.TestProject/Bugs/3190/NegativeCategoryFilterTests.cs1using System;COMMENT
LOW…t.TestProject/Bugs/3190/NegativeCategoryFilterTests.cs21// ✓ Specific name match: /*/MyExplicitTestCOMMENT
LOW…t.TestProject/Bugs/3190/NegativeCategoryFilterTests.cs41// - TestClass1.TestMethod2 ✓ (not explicit)COMMENT
LOW…TestProject/Bugs/_6554/PartialInjectionFailureTests.cs1using TUnit.Core.Interfaces;COMMENT
LOWtests/TUnit.TestProject/Bugs/_6554/Tests.cs1using TUnit.Core.Interfaces;COMMENT
LOWtests/TUnit.TestProject/Bugs/5700/Repro.cs1using TUnit.TestProject.Attributes;COMMENT
LOW…t.TestProject/Bugs/4440/GenericMethodDiscoveryTests.cs1using TUnit.TestProject.Attributes;COMMENT
LOWtests/SharedTestHelpers/AnalyzerTestCompatibility.cs1using System;COMMENT
LOWtests/SharedTestHelpers/AnalyzerTestCompatibility.cs21/// test runtime). Each analyzer test csproj copies the relevant netstandard2.0 build into the testCOMMENT
LOWtests/SharedTestHelpers/RulesDecouplingVerifier.cs1using System.Collections.Generic;COMMENT
LOWtests/SharedTestHelpers/RulesDecouplingVerifier.cs21/// fixers must use the compile-time-baked <c>DiagnosticIds</c> constants instead, which thisCOMMENT
LOWtests/TUnit.Mocks.Tests/ManyParameterMockTests.cs1using System.Threading.Tasks;COMMENT
LOWtests/TUnit.Mocks.Tests/Issue5425Tests.cs1#nullable enableCOMMENT
LOWtests/TUnit.Mocks.Tests/WrapNoParameterlessCtorTests.cs1using TUnit.Mocks;COMMENT
LOWtests/TUnit.Mocks.Tests/NameCollisionTests.cs1using TUnit.Mocks.Arguments;COMMENT
LOWtests/TUnit.UnitTests/TestConstructorTests.cs41// NOTE: Working example with [TestConstructor] can be found in the source generated filesCOMMENT
LOWtests/TUnit.UnitTests/EmptyDataSourceTests.cs1namespace TUnit.UnitTests;COMMENT
LOW….Test._.verified/TUnit.Aspire.Test/IntegrationTest1.cs1using TUnit.Aspire;COMMENT
LOW….Test._.verified/TUnit.Aspire.Test/IntegrationTest1.cs21// });COMMENT
LOW…Unit.Engine.Tests/DefaultTimeoutClassificationTests.cs21 // The matching [Before(TestDiscovery)] hook in TestProject detects this class nameCOMMENT
LOW…tions.Tests/CovariantGenericExtensionInferenceTests.cs1using TUnit.Assertions.Attributes;COMMENT
LOWtests/TUnit.Assertions.Tests/AssertionGroupTests.cs41 // // Test: "Foo" should match (IsNullOrEmpty AND EqualTo("Foo")) OR (IsNullOrEmpty OR EqualTo("Foo"))COMMENT
LOWtests/TUnit.Assertions.Tests/AssertionGroupTests.cs61 // await Assert.That(async () =>COMMENT
LOWtests/TUnit.Assertions.Tests/MemberNullabilityTests.cs1namespace TUnit.Assertions.Tests;COMMENT
LOWtests/TUnit.Assertions.Tests/AssemblyAssertionTests.cs61// var assembly = typeof(AssemblyAssertionTests).Assembly;COMMENT
LOWtests/TUnit.Assertions.Tests/RangeAssertionTests.cs41 // {COMMENT
LOWtests/TUnit.Assertions.Tests/RangeAssertionTests.cs61 // public async Task Test_Range_IsAll_Explicit()COMMENT
LOW…Assertions.Tests/AssertionBuilders/OrAssertionTests.cs401 }COMMENT
LOWtests/TUnit.Assertions.Tests/Bugs/Issue6296Tests.cs1namespace TUnit.Assertions.Tests.Bugs;COMMENT
LOWtests/TUnit.Assertions.Tests/Bugs/Issue5720Tests.cs1namespace TUnit.Assertions.Tests.Bugs;COMMENT
LOWtests/TUnit.Assertions.Tests/Bugs/Issue5707Tests.cs1using TUnit.Assertions.Exceptions;COMMENT
LOWtests/TUnit.Assertions.Tests/Bugs/Tests1774.cs1namespace TUnit.Assertions.Tests.Bugs;COMMENT
LOW…/Bugs/Issue5692/ImplicitStringOperatorOverloadTests.cs1#pragma warning disable TUnitAssertions0002 // Assert statements must be awaited — inspecting returned assertion typeCOMMENT
LOW…sts/TUnit.Assertions.Tests/Old/StringAssertionTests.cs1using TUnit.Assertions.Extensions;COMMENT
LOW…sts/TUnit.Assertions.Tests/Old/StringAssertionTests.cs21 // await TUnitAssert.ThrowsAsync<TUnitAssertionException>(async () => await TUnitAssert.That(str).IsNullOrEmpty()COMMENT
LOW…sts/TUnit.Assertions.Tests/Old/StringAssertionTests.cs41 // var str = "Hello";COMMENT
LOW….SourceGenerator.Tests/AssemblyNamesWithDashesTests.cs1namespace TUnit.Core.SourceGenerator.Tests;COMMENT
LOW…e.SourceGenerator.Tests/ParamsArrayCompilationTests.cs1using Microsoft.CodeAnalysis;COMMENT
LOW…erator.Tests/DuplicateTypeNameAcrossAssembliesTests.cs1using TUnit.Core.SourceGenerator.Tests.Options;COMMENT
LOW…Unit.Mocks.SourceGenerator.Tests/MockGeneratorTests.cs2481 {COMMENT
733 more matches not shown…
Decorative Section Separators179 hits · 554 pts
SeverityFileLineSnippetContext
MEDIUMtests/TUnit.Mocks.Tests/EdgeCaseTests.cs7// ─── Interfaces for Edge Case Tests ───────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/EdgeCaseTests.cs122// ─── Test Classes ─────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RefStructTests.cs6// ─── Interface with ref struct methods ───────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RefStructTests.cs22// ─── Tests ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkConcreteTests.cs8// ─── Base class for concrete hierarchy ──────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkConcreteTests.cs21// ─── The kitchen-sink concrete class ────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkConcreteTests.cs101// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkConcreteTests.cs131// ─── Tests ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs76// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs78// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs87// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs89// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs98// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs100// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs130// ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs132// ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs141 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs143 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs7// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs9// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs25// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs27// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs52// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs54// ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs274 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs276 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs380 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs382 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs457 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs459 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs548 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/RealWorldScenarioTests.cs550 // ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/TypedCallbackTests.cs151 // ─── Strongly-Typed Callback Tests (Beyond Parity: US23) ────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/ImplicitArgConversionTests.cs12 // ──────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/ImplicitArgConversionTests.cs14 // ──────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/ImplicitArgConversionTests.cs115 // ──────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/ImplicitArgConversionTests.cs118 // ──────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/ImplicitArgConversionTests.cs289 // ──────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/ImplicitArgConversionTests.cs291 // ──────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/SpanReturnTests.cs6// ─── Interfaces with span-returning methods ─────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/SpanReturnTests.cs16// ─── Tests ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs26// ─── T2. Abstract class satisfies interface via abstract method ─────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs38// ─── T3. Class re-implements interface on top of base's implicit impl ───────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs56// ─── T4. Four-level inheritance, interface at root ──────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs72// ─── T5. Write-only property ────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs80// ─── T6. `abstract override` ─────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs92// ─── T7. Two interfaces with same-name members, different returns ───────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs119// ─── T9. Nullable value types ────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs128// ─── T10. IDisposable + IAsyncDisposable ─────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs137// ─── T11. Explicit event with custom add/remove on base ─────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs152// ─── T12. Inner class inheriting closed generic ─────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs165// ─── T13. `new`-redeclared property in derived interface ────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs177// ─── T14. Interface with indexer ────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs232// ─── T15. Class implementing a static-abstract interface ────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs248// ─── T16. IAsyncEnumerable with [EnumeratorCancellation] token ──────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs255// ─── T17. `required` members on a mock target ───────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs285// ─── T19. Obsolete member ───────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs295// ─── T20. `ref readonly` return ─────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/KitchenSinkEdgeCasesTests.cs304// ─── Tests ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/TUnit.Mocks.Tests/MockAssertionExtensionsTests.cs22 // ───────────────────────── WasCalled() shorthand (at least once) ─────────────────────────COMMENT
119 more matches not shown…
Cross-File Repetition39 hits · 195 pts
SeverityFileLineSnippetContext
HIGH…CodeFixers.Tests/AwaitAssertionCodeFixProviderTests.cs0using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class STRING
HIGH…yzers.Tests/CompilerArgumentsPopulatedAnalyzerTests.cs0using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class STRING
HIGH….Analyzers.Tests/PreferIsTrueOrIsFalseAnalyzerTests.cs0using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class STRING
HIGH…ssertions.Analyzers.Tests/PreferIsNullAnalyzerTests.cs0using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class STRING
HIGH…Analyzers.Tests/ObjectBaseEqualsMethodAnalyzerTests.cs0using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class STRING
HIGH…ns.Analyzers.Tests/CollectionIsEqualToAnalyzerTests.cs0using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class STRING
HIGH…s.Analyzers.Tests/ConstantInAssertThatAnalyzerTests.cs0using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class STRING
HIGH…zers.Tests/InaccessibleConstructorMockAnalyzerTests.cs0public class myservice { } public class testclass { public void test() { tunit.mocks.mock.of<myservice>(); } }STRING
HIGH…TUnit.Mocks.Analyzers.Tests/StructMockAnalyzerTests.cs0public class myservice { } public class testclass { public void test() { tunit.mocks.mock.of<myservice>(); } }STRING
HIGH….Mocks.Analyzers.Tests/SealedClassMockAnalyzerTests.cs0public class myservice { } public class testclass { public void test() { tunit.mocks.mock.of<myservice>(); } }STRING
HIGH…zers.Tests/InaccessibleConstructorMockAnalyzerTests.cs0public interface imyservice { } public class testclass { public void test() { tunit.mocks.mock.of<imyservice>(); } }STRING
HIGH…TUnit.Mocks.Analyzers.Tests/StructMockAnalyzerTests.cs0public interface imyservice { } public class testclass { public void test() { tunit.mocks.mock.of<imyservice>(); } }STRING
HIGH….Mocks.Analyzers.Tests/SealedClassMockAnalyzerTests.cs0public interface imyservice { } public class testclass { public void test() { tunit.mocks.mock.of<imyservice>(); } }STRING
HIGH…s/TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs0public class myclass { [test] public void mytest() { bool realized = false; handlerealized(this, ref realized); } privatSTRING
HIGH…/TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs0public class myclass { [test] public void mytest() { bool realized = false; handlerealized(this, ref realized); } privatSTRING
HIGH…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs0public class myclass { [test] public void mytest() { bool realized = false; handlerealized(this, ref realized); } privatSTRING
HIGH…s/TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class myclass { [test] public async task mytest() { trygetvalue("key", out int valuSTRING
HIGH…/TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs0using system.threading.tasks; public class myclass { [test] public async task mytest() { trygetvalue("key", out int valuSTRING
HIGH…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class myclass { [test] public async task mytest() { trygetvalue("key", out int valuSTRING
HIGH…s/TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public interface itestrunner { void run(); } public class myclass : itestrunner { [test] pSTRING
HIGH…/TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs0using system.threading.tasks; public interface itestrunner { void run(); } public class myclass : itestrunner { [test] pSTRING
HIGH…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public interface itestrunner { void run(); } public class myclass : itestrunner { [test] pSTRING
HIGH…s/TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class outerclass { public class innertests { [test] public async task innertest() {STRING
HIGH…/TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs0using system.threading.tasks; public class outerclass { public class innertests { [test] public async task innertest() {STRING
HIGH…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class outerclass { public class innertests { [test] public async task innertest() {STRING
HIGH…s/TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class firsttestclass { [test] public async task firsttest() { await assert.that(truSTRING
HIGH…/TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs0using system.threading.tasks; public class firsttestclass { [test] public async task firsttest() { await assert.that(truSTRING
HIGH…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class firsttestclass { [test] public async task firsttest() { await assert.that(truSTRING
HIGH…s/TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class generictestclass<t> { [test] public async task generictest() { var instance =STRING
HIGH…/TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs0using system.threading.tasks; public class generictestclass<t> { [test] public async task generictest() { var instance =STRING
HIGH…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs0using system.threading.tasks; public class generictestclass<t> { [test] public async task generictest() { var instance =STRING
HIGH…t.Analyzers.Tests/TestMethodParametersAnalyzerTests.cs0using tunit.core; public class myclass { [{|#0:classdatasource<int>|}] [test] public void mytest() { } }STRING
HIGHtests/TUnit.Analyzers.Tests/ConsoleOutAnalyzerTests.cs0using tunit.core; public class myclass { [{|#0:classdatasource<int>|}] [test] public void mytest() { } }STRING
HIGH…/TUnit.Analyzers.Tests/ClassParametersAnalyzerTests.cs0using tunit.core; public class myclass { [{|#0:classdatasource<int>|}] [test] public void mytest() { } }STRING
HIGH…nit.Analyzers.Tests/InstanceTestMethodAnalyzerTests.cs0using tunit.core; public class myclass { [{|#0:classdatasource<int>|}] [test] public void mytest() { } }STRING
HIGH…/TUnit.Analyzers.Tests/ClassDataSourceAnalyzerTests.cs0using tunit.core; public class myclass { [{|#0:classdatasource<int>|}] [test] public void mytest() { } }STRING
HIGH…sts/MethodDataSourceMatchesConstructorAnalyzerTests.cs0using system.collections.generic; using tunit.core; [classdatasource<int>] public class myclass { public myclass(int valSTRING
HIGH…/TUnit.Analyzers.Tests/ClassParametersAnalyzerTests.cs0using system.collections.generic; using tunit.core; [classdatasource<int>] public class myclass { public myclass(int valSTRING
HIGH…/TUnit.Analyzers.Tests/ClassDataSourceAnalyzerTests.cs0using system.collections.generic; using tunit.core; [classdatasource<int>] public class myclass { public myclass(int valSTRING
Structural Annotation Overuse35 hits · 62 pts
SeverityFileLineSnippetContext
LOWdocs/docs/assertions/extensibility/custom-assertions.md19### Step 1: Create an Assertion ClassCOMMENT
LOWdocs/docs/assertions/extensibility/custom-assertions.md63### Step 2: Create an Extension MethodCOMMENT
LOWdocs/docs/assertions/extensibility/custom-assertions.md87### Step 3: Use Your Custom AssertionCOMMENT
LOWdocs/docs/examples/complex-test-infrastructure.md18// Step 1: Create a shared Docker networkCOMMENT
LOWdocs/docs/examples/complex-test-infrastructure.md33// Step 2: Kafka needs the Docker networkCOMMENT
LOWdocs/docs/examples/complex-test-infrastructure.md52// Step 3: Kafka UI needs both the network AND the Kafka containerCOMMENT
LOWdocs/docs/extending/logging.md113#### Step 1: Send the Test IDCOMMENT
LOWdocs/docs/extending/logging.md134#### Step 2: Resolve and Activate on the Receiving SideCOMMENT
LOWdocs/examples/nested-data-sources-quickstart.md11// Step 1: Create a test container wrapperCOMMENT
LOWdocs/examples/nested-data-sources-quickstart.md24// Step 2: Create WebApplicationFactory that uses the containerCOMMENT
LOWdocs/examples/nested-data-sources-quickstart.md59// Step 3: Use in testsCOMMENT
LOW…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs38 // Step 1: Browse the catalogue — the API queries PostgreSQL and returns productsCOMMENT
LOW…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs49 // Step 2: View the product detail — the API checks Redis, falls back to PostgreSQL onCOMMENT
LOW…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs57 // Step 3: View it again — this time the API serves it directly from RedisCOMMENT
LOW…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs65 // Step 4: Attempt to order more units than are in stock — the API validates againstCOMMENT
LOWsrc/TUnit.Analyzers/Migrators/Base/MigrationHelpers.cs192 // Step 1: Remove file-level usingsCOMMENT
LOWsrc/TUnit.Analyzers/Migrators/Base/MigrationHelpers.cs224 // Step 2: Remove usings inside namespace blocksCOMMENT
LOW…/TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs38 // Step 1: CreateArtifact (deduplicate name on 409 conflict)COMMENT
LOW…/TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs94 // Step 2: Upload blob + compute SHA256COMMENT
LOW…/TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs123 // Step 3: FinalizeArtifactCOMMENT
LOWsrc/TUnit.Engine/Services/ObjectLifecycleService.cs514 // Step 1: Inject propertiesCOMMENT
LOWsrc/TUnit.Engine/Services/ObjectLifecycleService.cs517 // Step 2: Initialize nested objects depth-first (discovery-only)COMMENT
LOWsrc/TUnit.Engine/Services/ObjectLifecycleService.cs520 // Step 3: Call IAsyncDiscoveryInitializer only (not regular IAsyncInitializer)COMMENT
LOWsrc/TUnit.Mocks.SourceGenerator/MockGenerator.cs77 // Step 2: Merge all sources and deduplicateSTRING
LOWsrc/TUnit.Mocks.SourceGenerator/MockGenerator.cs99 // Step 3: Generate source for each unique typeSTRING
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs143 // Step 1: Collect interface-implementing methods BEFORE any syntax modificationsCOMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs148 // Step 2: Convert assertions FIRST (while semantic model still matches the syntax tree)COMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs155 // Step 3: Framework-specific conversions (also use semantic model while it still matches)COMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs159 // Step 4: Fix method signatures that now contain await but aren't marked asyncCOMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs167 // Step 5: Remove unnecessary base classes and interfacesCOMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs174 // Step 6: Update lifecycle methodsCOMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs181 // Step 7: Convert attributesCOMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs188 // Step 8: Ensure [Test] attribute is present when data attributes exist (NUnit-specific)COMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs198 // Step 9: Remove framework usings and add TUnit usings (do this LAST)COMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs212 // Step 10: Clean up trivia issues that can occur after transformationsCOMMENT
Verbosity Indicators27 hits · 50 pts
SeverityFileLineSnippetContext
LOW…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs38 // Step 1: Browse the catalogue — the API queries PostgreSQL and returns productsCOMMENT
LOW…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs49 // Step 2: View the product detail — the API checks Redis, falls back to PostgreSQL onCOMMENT
LOW…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs57 // Step 3: View it again — this time the API serves it directly from RedisCOMMENT
LOW…CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs65 // Step 4: Attempt to order more units than are in stock — the API validates againstCOMMENT
LOWsrc/TUnit.Analyzers/Migrators/Base/MigrationHelpers.cs192 // Step 1: Remove file-level usingsCOMMENT
LOWsrc/TUnit.Analyzers/Migrators/Base/MigrationHelpers.cs224 // Step 2: Remove usings inside namespace blocksCOMMENT
LOW…/TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs38 // Step 1: CreateArtifact (deduplicate name on 409 conflict)COMMENT
LOW…/TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs94 // Step 2: Upload blob + compute SHA256COMMENT
LOW…/TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs123 // Step 3: FinalizeArtifactCOMMENT
LOWsrc/TUnit.Engine/Services/ObjectLifecycleService.cs514 // Step 1: Inject propertiesCOMMENT
LOWsrc/TUnit.Engine/Services/ObjectLifecycleService.cs517 // Step 2: Initialize nested objects depth-first (discovery-only)COMMENT
LOWsrc/TUnit.Engine/Services/ObjectLifecycleService.cs520 // Step 3: Call IAsyncDiscoveryInitializer only (not regular IAsyncInitializer)COMMENT
LOWsrc/TUnit.Engine/Building/TestBuilder.cs1329 // For generic methods, we need to check if the data types match the expected typesCOMMENT
LOWsrc/TUnit.Engine/Building/TestBuilder.cs1481 // For IEnumerable<T>, we need to check if the actual data is IEnumerable<int> vs IEnumerable<string> etc.COMMENT
LOWsrc/TUnit.Core/ObjectInitializer.cs83 // With Lazy<Task>, we need to check if the Lazy has a value AND that value completed successfullyCOMMENT
LOWsrc/TUnit.Mocks.SourceGenerator/MockGenerator.cs77 // Step 2: Merge all sources and deduplicateSTRING
LOWsrc/TUnit.Mocks.SourceGenerator/MockGenerator.cs99 // Step 3: Generate source for each unique typeSTRING
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs143 // Step 1: Collect interface-implementing methods BEFORE any syntax modificationsCOMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs148 // Step 2: Convert assertions FIRST (while semantic model still matches the syntax tree)COMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs155 // Step 3: Framework-specific conversions (also use semantic model while it still matches)COMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs159 // Step 4: Fix method signatures that now contain await but aren't marked asyncCOMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs167 // Step 5: Remove unnecessary base classes and interfacesCOMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs174 // Step 6: Update lifecycle methodsCOMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs181 // Step 7: Convert attributesCOMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs188 // Step 8: Ensure [Test] attribute is present when data attributes exist (NUnit-specific)COMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs198 // Step 9: Remove framework usings and add TUnit usings (do this LAST)COMMENT
LOW…lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs212 // Step 10: Clean up trivia issues that can occur after transformationsCOMMENT
Synthetic Comment Markers5 hits · 38 pts
SeverityFileLineSnippetContext
HIGHtests/TUnit.Assertions.Tests/EquatableTests.cs259 // Test to verify the example from GitHub issue #2972 works exactly as requestedCOMMENT
HIGHtests/TUnit.Assertions.Tests/EquatableTests.cs259 // Test to verify the example from GitHub issue #2972 works exactly as requestedCOMMENT
HIGHsrc/TUnit.Analyzers/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/TUnit.AspNetCore.Analyzers/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHsrc/TUnit.Assertions.Analyzers/Resources.Designer.cs3// This code was generated by a tool.COMMENT
Fake / Example Data27 hits · 26 pts
SeverityFileLineSnippetContext
LOWtests/TUnit.TestProject/CombinedDataSourceTests.cs314 Street = "123 Main St",CODE
LOWtests/TUnit.TestProject/CombinedDataSourceTests.cs339 await Assert.That(person.Address.Street).IsEqualTo("123 Main St");CODE
LOWtests/TUnit.TestProject/NestedPropertyInjectionTests.cs19 Street = "123 Main St",CODE
LOWtests/TUnit.TestProject/NestedPropertyInjectionTests.cs88 yield return () => new PersonWithDataSource { Name = "John Doe", Address = null! };CODE
LOWtests/TUnit.Mocks.Tests/RegexMatcherTests.cs53 await Assert.That(greeter.Greet("555-1234")).IsEqualTo("phone");CODE
LOWtests/TUnit.Mocks.Tests/RegexMatcherTests.cs82 await Assert.That(greeter.Greet("user@example.com")).IsEqualTo("email");CODE
LOW…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs112 Lorem ipsum dolor sit amet diam duo amet sea rebum.CODE
LOW…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs112 Lorem ipsum dolor sit amet diam duo amet sea rebum.CODE
LOW…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs133 Lorem ipsum dolor sit amet diam duo amet sea rebum.CODE
LOW…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs133 Lorem ipsum dolor sit amet diam duo amet sea rebum.CODE
LOW…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs155 var expectedMessage = $"Expected to be equal to \"Lorem ipsum dolor sit amet diam duo amet sea rebum. Et voluptSTRING
LOW…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs155 var expectedMessage = $"Expected to be equal to \"Lorem ipsum dolor sit amet diam duo amet sea rebum. Et voluptSTRING
LOW…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs156 $"but received \"Lorem ipsum dolor sit amet diam duo amet sea rebum. Et voluptua ex volupSTRING
LOW…nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs156 $"but received \"Lorem ipsum dolor sit amet diam duo amet sea rebum. Et voluptua ex volupSTRING
LOW…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs1471 [TestCase(1, Author = "John Doe")]CODE
LOW…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs1486 [Property("Author", "John Doe")]CODE
LOW…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs2989 {|#0:[Test(Author = "John Doe")]|}CODE
LOW…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs3001 [Property("Author", "John Doe")]CODE
LOW…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs3021 {|#0:[Test(Description = "Test description", Author = "Jane Doe")]|}CODE
LOW…s/TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs3034 [Property("Author", "Jane Doe")]CODE
LOWdocs/docs/assertions/string.md171 var email = "user@example.com";CODE
LOWdocs/docs/assertions/string.md445 var email = "user@example.com";CODE
LOWdocs/docs/assertions/member-assertions.md22 .Member(u => u.Email, email => email.IsEqualTo("user@example.com"));CODE
LOW…ssertions/extensibility/source-generator-assertions.md303await Assert.That("user@example.com").IsValidEmail(); // ✅ PassesCODE
LOWdocs/docs/migration/mstest.md888 [Owner("John Doe")]CODE
LOWdocs/docs/migration/mstest.md912 [Property("Owner", "John Doe")]CODE
LOWsrc/TUnit.Core/Helpers/DisplayNameSubstitutor.cs70 /// Replaces every occurrence of <paramref name="placeholder"/> that is followed by aCOMMENT
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…tCore.Core/Logging/CorrelatedTUnitLoggingExtensions.cs12/// and the <see cref="TUnitTestContextMiddleware"/> for robust test context resolution viaCOMMENT
MEDIUM…re.SourceGenerator/Generators/AotConverterGenerator.cs607 // Use Zen's more robust approach for handling nullable types and type checksCOMMENT
MEDIUMsrc/TUnit.Core/Executors/DedicatedThreadExecutor.cs347 // Use a more robust synchronous wait pattern to avoid deadlocksCOMMENT
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/TUnit.Core.SourceGenerator.Tests/TestsBase.cs133 // Run generators. Don't forget to use the new compilation rather than the previous one.COMMENT
LOW…ts/TUnit.Assertions.SourceGenerator.Tests/TestsBase.cs127 // Run generators. Don't forget to use the new compilation rather than the previous one.COMMENT
MEDIUM.github/workflows/codeql.yml58 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWscripts/profile-tunit.sh21# Usage:COMMENT
LOWsrc/TUnit.Core/Attributes/ParallelLimiterAttribute.cs30/// Example usage:COMMENT
LOWsrc/TUnit.Core/Attributes/ParallelGroupAttribute.cs24/// Example usage:COMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…t.TestProject/Bugs/4032/NestedAsyncInitializerTests.cs7/// Regression tests for issue #4032: IAsyncInitializer lifecycle change broke complex test infrastructure orchestrationCOMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/TUnit.Engine/Framework/TestRequestHandler.cs8internal sealed class TestRequestHandler : IRequestHandlerCODE