A modern, fast and flexible .NET testing framework
This report presents the forensic synthetic code analysis of thomhurst/TUnit, a C# project with 3,905 GitHub stars. SynthScan v2.0 examined 517,449 lines of code across 3548 source files, recording 1273 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 7.1 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 1273 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | TUnit.TestProject/HumanizerDisplayNameTests.cs | 21 | return context.TestContext.Metadata.TestDetails.TestName.Humanize(); | CODE |
| CRITICAL | TUnit.TestProject/ConsoleTests.cs | 12 | await Assert.That(TestContext.Current.GetStandardOutput()).Contains(TestContext.Current.Metadata.TestDetails.Met | CODE |
| CRITICAL | TUnit.Engine/TestExecutor.cs | 93 | test.Context.ClassContext.AssemblyContext.TestSessionContext.RestoreExecutionContext(); | CODE |
| CRITICAL | TUnit.Engine/TestExecutor.cs | 132 | executableTest.Context.ClassContext.AssemblyContext.TestSessionContext.RestoreExecutionContext(); | CODE |
| CRITICAL | …rceGenerator/CodeGenerators/InfrastructureGenerator.cs | 404 | sourceBuilder.AppendLine($"global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug(\"[ModuleIniti | CODE |
| CRITICAL | …rceGenerator/CodeGenerators/InfrastructureGenerator.cs | 416 | sourceBuilder.AppendLine($"global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogTrace(\"[ModuleI | CODE |
| CRITICAL | …rceGenerator/CodeGenerators/InfrastructureGenerator.cs | 431 | sourceBuilder.AppendLine($"global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogTrace(\"[ModuleI | CODE |
| CRITICAL | …rceGenerator/CodeGenerators/InfrastructureGenerator.cs | 442 | sourceBuilder.AppendLine($"global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogTrace(\"[ModuleI | CODE |
| CRITICAL | …rceGenerator/CodeGenerators/InfrastructureGenerator.cs | 454 | sourceBuilder.AppendLine($"global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogTrace(\"[ModuleI | CODE |
| CRITICAL | …rceGenerator/CodeGenerators/InfrastructureGenerator.cs | 480 | sourceBuilder.AppendLine($"global::TUnit.Core.GlobalContext.Current.GlobalLogger.LogDebug(\"[ModuleIniti | CODE |
| CRITICAL | TUnit.UnitTests/PropertyInjectorTests.cs | 24 | await Assert.That(context.Metadata.TestDetails.TestClassInjectedPropertyArguments.Values.Single()) | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 146 | [DEBUG 01:24:41.842] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.GenericTestClass_Bool.1.1.Te | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 147 | [DEBUG 01:24:41.843] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithPar | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 149 | [DEBUG 01:24:41.843] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParame | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 150 | [DEBUG 01:24:41.843] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithPar | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 159 | [DEBUG 01:24:41.848] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithPa | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 160 | [DEBUG 01:24:41.848] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParam | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 161 | [DEBUG 01:24:41.848] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithPar | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 162 | [DEBUG 01:24:41.848] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.GenericTestClass_Bool.1.1.Te | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 163 | [DEBUG 01:24:41.848] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithPar | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 164 | [DEBUG 01:24:41.848] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParame | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 165 | [DEBUG 01:24:41.848] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithPar | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 166 | [DEBUG 01:24:41.848] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithPa | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 167 | [DEBUG 01:24:41.848] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithParam | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 168 | [DEBUG 01:24:41.850] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.GenericTestClass_Bool.1.1.TestWithPar | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 183 | [DEBUG 01:24:41.855] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.Tes | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 184 | [DEBUG 01:24:41.855] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSync | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 185 | [DEBUG 01:24:41.855] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDat | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 186 | [DEBUG 01:24:41.855] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSync | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 198 | [DEBUG 01:24:41.857] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyn | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 199 | [DEBUG 01:24:41.857] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDa | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 200 | [DEBUG 01:24:41.857] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSync | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 201 | [DEBUG 01:24:41.857] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.Tes | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 202 | [DEBUG 01:24:41.857] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSync | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 203 | [DEBUG 01:24:41.857] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDat | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 204 | [DEBUG 01:24:41.857] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSync | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 205 | [DEBUG 01:24:41.857] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyn | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 206 | [DEBUG 01:24:41.857] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDa | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 207 | [DEBUG 01:24:41.857] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSync | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 208 | [DEBUG 01:24:41.858] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.Tes | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 209 | [DEBUG 01:24:41.858] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSync | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 210 | [DEBUG 01:24:41.858] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDat | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 211 | [DEBUG 01:24:41.858] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSync | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 212 | [DEBUG 01:24:41.858] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyn | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 213 | [DEBUG 01:24:41.858] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSyncDa | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 214 | [DEBUG 01:24:41.858] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithSync | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 215 | [DEBUG 01:24:41.858] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.Tes | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 216 | [DEBUG 01:24:41.858] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyn | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 217 | [DEBUG 01:24:41.858] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncTa | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 218 | [DEBUG 01:24:41.858] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyn | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 219 | [DEBUG 01:24:41.860] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsy | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 220 | [DEBUG 01:24:41.860] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncT | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 221 | [DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyn | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 222 | [DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Starting test TUnit.UnitTests.AsyncDataSourceTests.1.1.Tes | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 223 | [DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyn | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 224 | [DEBUG 01:24:41.860] HookOrchestrator.OnTestStartingAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncTa | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 225 | [DEBUG 01:24:41.860] SingleTestExecutor.ExecuteTestAsync: Starting TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyn | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 226 | [DEBUG 01:24:41.860] SingleTestExecutor.ExecuteTestAsync: Completed TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsy | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 227 | [DEBUG 01:24:41.860] HookOrchestrator.OnTestCompletedAsync: Test=TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyncT | CODE |
| CRITICAL⚡ | TUnit.UnitTests/output.txt | 228 | [DEBUG 01:24:41.860] TestScheduler.ExecuteTestWhenReadyAsync: Test TUnit.UnitTests.AsyncDataSourceTests.1.1.TestWithAsyn | CODE |
| 128 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | TUnit.TestProject/Tests.cs | 381 | .IsEqualTo("ABCDE", StringComparison.Ordinal); | COMMENT |
| LOW | TUnit.TestProject/Tests.cs | 401 | COMMENT | |
| LOW | TUnit.TestProject/CombinedDataSourceErrorTests.cs | 1 | using TUnit.TestProject.Attributes; | COMMENT |
| LOW | TUnit.TestProject/CombinedDataSourceErrorTests.cs | 21 | // } | COMMENT |
| LOW | TUnit.TestProject/CombinedDataSourceErrorTests.cs | 41 | yield break; | COMMENT |
| LOW | TUnit.TestProject/HookExecutionOrderTest.cs | 21 | public void VerifyExecutionOrder() | COMMENT |
| LOW | TUnit.TestProject/Bugs/5800/Repro.cs | 1 | using TUnit.TestProject.Attributes; | COMMENT |
| LOW | …roject/Bugs/3990/ClassLevelCombinedDataSourcesTests.cs | 81 | await Assert.That(z).IsIn([true, false]); | COMMENT |
| LOW | …Project/Bugs/5728/DefaultTimeoutClassificationTests.cs | 1 | using TUnit.TestProject.Attributes; | COMMENT |
| LOW | …t.TestProject/Bugs/_6339/TimeoutAfterHookTokenTests.cs | 1 | using TUnit.TestProject.Attributes; | COMMENT |
| LOW | TUnit.TestProject/Bugs/1570/Tests.cs | 21 | public async Task GetTests_Without_Filtering_On_TestClassArguments_Test() | COMMENT |
| LOW | …t.TestProject/Bugs/4032/NestedAsyncInitializerTests.cs | 1 | using TUnit.Core.Interfaces; | COMMENT |
| LOW | TUnit.TestProject/Bugs/3803/Tests.cs | 1 | using TUnit.TestProject.Attributes; | COMMENT |
| LOW | …tProject/Bugs/_2804/CriticalHookChainExecutionTests.cs | 181 | // AfterEveryTest execution verified | COMMENT |
| LOW | …stProject/Bugs/4715/AttributePropertyInjectionTests.cs | 1 | using TUnit.Core.Interfaces; | COMMENT |
| LOW | …2/InstanceMethodDataSourceWithAsyncInitializerTests.cs | 1 | using System.Collections.Concurrent; | COMMENT |
| LOW | …2/InstanceMethodDataSourceWithAsyncInitializerTests.cs | 21 | /// which was unexpected and resource-intensive. | COMMENT |
| LOW | TUnit.TestProject/Bugs/3993/IAsyncInitializerTests.cs | 1 | using System.Collections.Concurrent; | COMMENT |
| LOW | …t.TestProject/Bugs/3190/NegativeCategoryFilterTests.cs | 1 | using System; | COMMENT |
| LOW | …t.TestProject/Bugs/3190/NegativeCategoryFilterTests.cs | 21 | // ✓ Specific name match: /*/MyExplicitTest | COMMENT |
| LOW | …t.TestProject/Bugs/3190/NegativeCategoryFilterTests.cs | 41 | // - TestClass1.TestMethod2 ✓ (not explicit) | COMMENT |
| LOW | TUnit.TestProject/Bugs/5700/Repro.cs | 1 | using TUnit.TestProject.Attributes; | COMMENT |
| LOW | …t.TestProject/Bugs/4440/GenericMethodDiscoveryTests.cs | 1 | using TUnit.TestProject.Attributes; | COMMENT |
| LOW | TUnit.Analyzers/Resources.Designer.cs | 1 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | TUnit.FsCheck/FsCheckPropertyAttribute.cs | 1 | using TUnit.Core; | COMMENT |
| LOW | TUnit.FsCheck/FsCheckPropertyAttribute.cs | 21 | { | COMMENT |
| LOW | TUnit.FsCheck/FsCheckPropertyAttribute.cs | 41 | public int EndSize { get; set; } = 100; | COMMENT |
| LOW | TUnit.FsCheck/FsCheckPropertyAttribute.cs | 61 | /// Default is 1 (no parallelism within property execution). | COMMENT |
| LOW | TUnit.FsCheck/FsCheckPropertyAttribute.cs | 81 | /// <summary> | COMMENT |
| LOW | TUnit.Engine/TestSessionCoordinator.cs | 101 | private void InitializeEventReceivers(List<AbstractExecutableTest> testList, CancellationToken cancellationToken) | COMMENT |
| LOW | TUnit.Engine/TestExecutor.cs | 281 | #endif | COMMENT |
| LOW | TUnit.Engine/Scheduling/NotInParallelLock.cs | 1 | namespace TUnit.Engine.Scheduling; | COMMENT |
| LOW | TUnit.Engine/Constants/EngineDefaults.cs | 1 | namespace TUnit.Engine.Constants; | COMMENT |
| LOW | TUnit.Engine/Constants/EngineDefaults.cs | 21 | COMMENT | |
| LOW | TUnit.Engine/Constants/EngineDefaults.cs | 41 | /// <summary> | COMMENT |
| LOW | TUnit.Engine/Constants/EngineDefaults.cs | 61 | /// Grace period given to a timed-out task to handle cancellation | COMMENT |
| LOW | TUnit.Engine/Constants/EngineDefaults.cs | 81 | /// <summary> | COMMENT |
| LOW | TUnit.Engine/Enums/FailureCategory.cs | 1 | namespace TUnit.Engine.Enums; | COMMENT |
| LOW | TUnit.Engine/Enums/FailureCategory.cs | 21 | NullReference, | COMMENT |
| LOW | TUnit.Engine/Discovery/ReflectionInstanceFactory.cs | 1 | using System.Collections.Concurrent; | COMMENT |
| LOW | TUnit.Engine/Discovery/SourceGenHookRegistrar.cs | 1 | namespace TUnit.Engine.Discovery; | COMMENT |
| LOW | TUnit.Engine/Models/GroupedTests.cs | 21 | COMMENT | |
| LOW | TUnit.Engine/Events/EventReceiverRegistry.cs | 1 | using System.Collections.Concurrent; | COMMENT |
| LOW | TUnit.Engine/Reporters/SourceControlContext.cs | 1 | using TUnit.Engine.Configuration; | COMMENT |
| LOW | TUnit.Engine/Reporters/TUnitRetryAttemptsProperty.cs | 1 | using Microsoft.Testing.Platform.Extensions.Messages; | COMMENT |
| LOW | TUnit.Engine/Reporters/SourcePathResolver.cs | 1 | using System.Text; | COMMENT |
| LOW | TUnit.Engine/Helpers/PathValidator.cs | 1 | #if NET8_0_OR_GREATER | COMMENT |
| LOW | TUnit.Engine/Helpers/ExpressionHelper.cs | 1 | using System.Linq.Expressions; | COMMENT |
| LOW | TUnit.Engine/Helpers/ExecutionModeHelper.cs | 21 | /// </returns> | COMMENT |
| LOW | TUnit.Engine/Helpers/TimeoutHelper.cs | 1 | using TUnit.Engine.Constants; | COMMENT |
| LOW | TUnit.Engine/Helpers/TimeoutHelper.cs | 41 | /// <summary> | COMMENT |
| LOW | TUnit.Engine/Helpers/DataSourceMetadataExtractor.cs | 1 | using System.Diagnostics.CodeAnalysis; | COMMENT |
| LOW | TUnit.Engine/Helpers/ValueTaskBridge.cs | 41 | COMMENT | |
| LOW | TUnit.Engine/Logging/OptimizedConsoleInterceptor.cs | 21 | /// Gets the log level to use when routing console output to sinks. | COMMENT |
| LOW | TUnit.Engine/Logging/IdeStreamingSink.cs | 1 | using System.Collections.Concurrent; | COMMENT |
| LOW | TUnit.Engine/Logging/IdeStreamingSink.cs | 21 | /// </para> | COMMENT |
| LOW | TUnit.Engine/Services/AfterHookPairTracker.cs | 21 | COMMENT | |
| LOW | TUnit.Engine/Services/AfterHookPairTracker.cs | 61 | var (pairTracker, afterHookExecutor) = ((AfterHookPairTracker, Func<ValueTask<List<Exception>>>))state!; | COMMENT |
| LOW | TUnit.Engine/Services/HookExecutor.cs | 61 | COMMENT | |
| LOW | TUnit.Engine/Services/ObjectLifecycleService.cs | 21 | /// | COMMENT |
| 708 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | TUnit.Engine/Constants/EngineDefaults.cs | 9 | // ── Discovery ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Engine/Constants/EngineDefaults.cs | 39 | // ── Event Batching ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | TUnit.Engine/Constants/EngineDefaults.cs | 58 | // ── Timeout Handling ──────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | TUnit.Engine/Constants/EngineDefaults.cs | 66 | // ── IDE Streaming ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | TUnit.Engine/Constants/EngineDefaults.cs | 73 | // ── File-Write Retry (Reporters) ──────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Engine/Reporters/Html/TestReport.template.html | 1711 | // ── Baked-in "good enough" C# syntax highlighter ────────────────────────── | COMMENT |
| MEDIUM | TUnit.Engine/Reporters/Html/TestReport.template.html | 1711 | // ── Baked-in "good enough" C# syntax highlighter ────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks/MockEngine.Typed.cs | 203 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks/MockEngine.Typed.cs | 205 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks/MockEngine.Typed.cs | 361 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks/MockEngine.Typed.cs | 363 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks/MockEngine.Typed.cs | 519 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks/MockEngine.Typed.cs | 521 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks/MockEngine.Typed.cs | 677 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks/MockEngine.Typed.cs | 679 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks/MockEngine.Typed.cs | 835 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks/MockEngine.Typed.cs | 837 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks/MockEngine.Typed.cs | 993 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks/MockEngine.Typed.cs | 995 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks/MockEngine.Typed.cs | 1151 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks/MockEngine.Typed.cs | 1153 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/EdgeCaseTests.cs | 7 | // ─── Interfaces for Edge Case Tests ─────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/EdgeCaseTests.cs | 122 | // ─── Test Classes ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RefStructTests.cs | 6 | // ─── Interface with ref struct methods ─────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RefStructTests.cs | 22 | // ─── Tests ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/KitchenSinkConcreteTests.cs | 8 | // ─── Base class for concrete hierarchy ────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/KitchenSinkConcreteTests.cs | 21 | // ─── The kitchen-sink concrete class ──────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/KitchenSinkConcreteTests.cs | 101 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/KitchenSinkConcreteTests.cs | 131 | // ─── Tests ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 76 | // ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 78 | // ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 87 | // ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 89 | // ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 98 | // ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 100 | // ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 130 | // ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 132 | // ═══════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM⚡ | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 141 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 143 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 7 | // ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 9 | // ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 25 | // ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 27 | // ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 52 | // ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 54 | // ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 274 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 276 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 380 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 382 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 457 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 459 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 548 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/RealWorldScenarioTests.cs | 550 | // ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/TypedCallbackTests.cs | 151 | // ─── Strongly-Typed Callback Tests (Beyond Parity: US23) ──────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/ImplicitArgConversionTests.cs | 12 | // ────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/ImplicitArgConversionTests.cs | 14 | // ────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/ImplicitArgConversionTests.cs | 115 | // ────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/ImplicitArgConversionTests.cs | 118 | // ────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/ImplicitArgConversionTests.cs | 289 | // ────────────────────────────────────────────── | COMMENT |
| MEDIUM | TUnit.Mocks.Tests/ImplicitArgConversionTests.cs | 291 | // ────────────────────────────────────────────── | COMMENT |
| 119 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …CodeFixers.Tests/AwaitAssertionCodeFixProviderTests.cs | 0 | using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class | STRING |
| HIGH | …yzers.Tests/CompilerArgumentsPopulatedAnalyzerTests.cs | 0 | using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class | STRING |
| HIGH | ….Analyzers.Tests/PreferIsTrueOrIsFalseAnalyzerTests.cs | 0 | using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class | STRING |
| HIGH | …ssertions.Analyzers.Tests/PreferIsNullAnalyzerTests.cs | 0 | using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class | STRING |
| HIGH | …Analyzers.Tests/ObjectBaseEqualsMethodAnalyzerTests.cs | 0 | using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class | STRING |
| HIGH | …ns.Analyzers.Tests/CollectionIsEqualToAnalyzerTests.cs | 0 | using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class | STRING |
| HIGH | …s.Analyzers.Tests/ConstantInAssertThatAnalyzerTests.cs | 0 | using system.threading.tasks; using tunit.assertions; using tunit.assertions.extensions; using tunit.core; public class | STRING |
| HIGH | TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs | 0 | public class myclass { [test] public void mytest() { bool realized = false; handlerealized(this, ref realized); } privat | STRING |
| HIGH | TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs | 0 | public class myclass { [test] public void mytest() { bool realized = false; handlerealized(this, ref realized); } privat | STRING |
| HIGH | TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs | 0 | public class myclass { [test] public void mytest() { bool realized = false; handlerealized(this, ref realized); } privat | STRING |
| HIGH | TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs | 0 | using system.threading.tasks; public class myclass { [test] public async task mytest() { trygetvalue("key", out int valu | STRING |
| HIGH | TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs | 0 | using system.threading.tasks; public class myclass { [test] public async task mytest() { trygetvalue("key", out int valu | STRING |
| HIGH | TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs | 0 | using system.threading.tasks; public class myclass { [test] public async task mytest() { trygetvalue("key", out int valu | STRING |
| HIGH | TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs | 0 | using system.threading.tasks; public interface itestrunner { void run(); } public class myclass : itestrunner { [test] p | STRING |
| HIGH | TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs | 0 | using system.threading.tasks; public interface itestrunner { void run(); } public class myclass : itestrunner { [test] p | STRING |
| HIGH | TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs | 0 | using system.threading.tasks; public interface itestrunner { void run(); } public class myclass : itestrunner { [test] p | STRING |
| HIGH | TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs | 0 | using system.threading.tasks; public class outerclass { public class innertests { [test] public async task innertest() { | STRING |
| HIGH | TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs | 0 | using system.threading.tasks; public class outerclass { public class innertests { [test] public async task innertest() { | STRING |
| HIGH | TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs | 0 | using system.threading.tasks; public class outerclass { public class innertests { [test] public async task innertest() { | STRING |
| HIGH | TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs | 0 | using system.threading.tasks; public class firsttestclass { [test] public async task firsttest() { await assert.that(tru | STRING |
| HIGH | TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs | 0 | using system.threading.tasks; public class firsttestclass { [test] public async task firsttest() { await assert.that(tru | STRING |
| HIGH | TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs | 0 | using system.threading.tasks; public class firsttestclass { [test] public async task firsttest() { await assert.that(tru | STRING |
| HIGH | TUnit.Analyzers.Tests/XUnitMigrationAnalyzerTests.cs | 0 | using system.threading.tasks; public class generictestclass<t> { [test] public async task generictest() { var instance = | STRING |
| HIGH | TUnit.Analyzers.Tests/MSTestMigrationAnalyzerTests.cs | 0 | using system.threading.tasks; public class generictestclass<t> { [test] public async task generictest() { var instance = | STRING |
| HIGH | TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs | 0 | using system.threading.tasks; public class generictestclass<t> { [test] public async task generictest() { var instance = | STRING |
| HIGH | …t.Analyzers.Tests/TestMethodParametersAnalyzerTests.cs | 0 | using tunit.core; public class myclass { [{|#0:classdatasource<int>|}] [test] public void mytest() { } } | STRING |
| HIGH | TUnit.Analyzers.Tests/ConsoleOutAnalyzerTests.cs | 0 | using tunit.core; public class myclass { [{|#0:classdatasource<int>|}] [test] public void mytest() { } } | STRING |
| HIGH | TUnit.Analyzers.Tests/ClassParametersAnalyzerTests.cs | 0 | using tunit.core; public class myclass { [{|#0:classdatasource<int>|}] [test] public void mytest() { } } | STRING |
| HIGH | …nit.Analyzers.Tests/InstanceTestMethodAnalyzerTests.cs | 0 | using tunit.core; public class myclass { [{|#0:classdatasource<int>|}] [test] public void mytest() { } } | STRING |
| HIGH | TUnit.Analyzers.Tests/ClassDataSourceAnalyzerTests.cs | 0 | using tunit.core; public class myclass { [{|#0:classdatasource<int>|}] [test] public void mytest() { } } | STRING |
| HIGH | …sts/MethodDataSourceMatchesConstructorAnalyzerTests.cs | 0 | using system.collections.generic; using tunit.core; [classdatasource<int>] public class myclass { public myclass(int val | STRING |
| HIGH | TUnit.Analyzers.Tests/ClassParametersAnalyzerTests.cs | 0 | using system.collections.generic; using tunit.core; [classdatasource<int>] public class myclass { public myclass(int val | STRING |
| HIGH | TUnit.Analyzers.Tests/ClassDataSourceAnalyzerTests.cs | 0 | using system.collections.generic; using tunit.core; [classdatasource<int>] public class myclass { public myclass(int val | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | TUnit.Analyzers/Migrators/Base/MigrationHelpers.cs | 192 | // Step 1: Remove file-level usings | COMMENT |
| LOW | TUnit.Analyzers/Migrators/Base/MigrationHelpers.cs | 224 | // Step 2: Remove usings inside namespace blocks | COMMENT |
| LOW | TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs | 38 | // Step 1: CreateArtifact (deduplicate name on 409 conflict) | COMMENT |
| LOW | TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs | 94 | // Step 2: Upload blob + compute SHA256 | COMMENT |
| LOW | TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs | 123 | // Step 3: FinalizeArtifact | COMMENT |
| LOW⚡ | TUnit.Engine/Services/ObjectLifecycleService.cs | 497 | // Step 1: Inject properties | COMMENT |
| LOW⚡ | TUnit.Engine/Services/ObjectLifecycleService.cs | 500 | // Step 2: Initialize nested objects depth-first (discovery-only) | COMMENT |
| LOW⚡ | TUnit.Engine/Services/ObjectLifecycleService.cs | 503 | // Step 3: Call IAsyncDiscoveryInitializer only (not regular IAsyncInitializer) | COMMENT |
| LOW | docs/docs/assertions/extensibility/custom-assertions.md | 17 | ### Step 1: Create an Assertion Class | COMMENT |
| LOW | docs/docs/assertions/extensibility/custom-assertions.md | 61 | ### Step 2: Create an Extension Method | COMMENT |
| LOW | docs/docs/assertions/extensibility/custom-assertions.md | 85 | ### Step 3: Use Your Custom Assertion | COMMENT |
| LOW | docs/docs/examples/complex-test-infrastructure.md | 16 | // Step 1: Create a shared Docker network | COMMENT |
| LOW | docs/docs/examples/complex-test-infrastructure.md | 31 | // Step 2: Kafka needs the Docker network | COMMENT |
| LOW | docs/docs/examples/complex-test-infrastructure.md | 50 | // Step 3: Kafka UI needs both the network AND the Kafka container | COMMENT |
| LOW | docs/docs/extending/logging.md | 111 | #### Step 1: Send the Test ID | COMMENT |
| LOW | docs/docs/extending/logging.md | 132 | #### Step 2: Resolve and Activate on the Receiving Side | COMMENT |
| LOW | docs/examples/nested-data-sources-quickstart.md | 11 | // Step 1: Create a test container wrapper | COMMENT |
| LOW | docs/examples/nested-data-sources-quickstart.md | 24 | // Step 2: Create WebApplicationFactory that uses the container | COMMENT |
| LOW | docs/examples/nested-data-sources-quickstart.md | 59 | // Step 3: Use in tests | COMMENT |
| LOW | …CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs | 38 | // Step 1: Browse the catalogue — the API queries PostgreSQL and returns products | COMMENT |
| LOW⚡ | …CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs | 49 | // Step 2: View the product detail — the API checks Redis, falls back to PostgreSQL on | COMMENT |
| LOW⚡ | …CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs | 57 | // Step 3: View it again — this time the API serves it directly from Redis | COMMENT |
| LOW⚡ | …CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs | 65 | // Step 4: Attempt to order more units than are in stock — the API validates against | COMMENT |
| LOW | TUnit.Mocks.SourceGenerator/MockGenerator.cs | 47 | // Step 2: Merge all sources and deduplicate | STRING |
| LOW | TUnit.Mocks.SourceGenerator/MockGenerator.cs | 63 | // Step 3: Generate source for each unique type | STRING |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 143 | // Step 1: Collect interface-implementing methods BEFORE any syntax modifications | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 148 | // Step 2: Convert assertions FIRST (while semantic model still matches the syntax tree) | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 155 | // Step 3: Framework-specific conversions (also use semantic model while it still matches) | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 159 | // Step 4: Fix method signatures that now contain await but aren't marked async | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 167 | // Step 5: Remove unnecessary base classes and interfaces | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 174 | // Step 6: Update lifecycle methods | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 181 | // Step 7: Convert attributes | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 188 | // Step 8: Ensure [Test] attribute is present when data attributes exist (NUnit-specific) | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 198 | // Step 9: Remove framework usings and add TUnit usings (do this LAST) | COMMENT |
| LOW | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 212 | // Step 10: Clean up trivia issues that can occur after transformations | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | TUnit.Analyzers/Migrators/Base/MigrationHelpers.cs | 192 | // Step 1: Remove file-level usings | COMMENT |
| LOW | TUnit.Analyzers/Migrators/Base/MigrationHelpers.cs | 224 | // Step 2: Remove usings inside namespace blocks | COMMENT |
| LOW | TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs | 38 | // Step 1: CreateArtifact (deduplicate name on 409 conflict) | COMMENT |
| LOW | TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs | 94 | // Step 2: Upload blob + compute SHA256 | COMMENT |
| LOW | TUnit.Engine/Reporters/Html/GitHubArtifactUploader.cs | 123 | // Step 3: FinalizeArtifact | COMMENT |
| LOW⚡ | TUnit.Engine/Services/ObjectLifecycleService.cs | 497 | // Step 1: Inject properties | COMMENT |
| LOW⚡ | TUnit.Engine/Services/ObjectLifecycleService.cs | 500 | // Step 2: Initialize nested objects depth-first (discovery-only) | COMMENT |
| LOW⚡ | TUnit.Engine/Services/ObjectLifecycleService.cs | 503 | // Step 3: Call IAsyncDiscoveryInitializer only (not regular IAsyncInitializer) | COMMENT |
| LOW | TUnit.Engine/Building/TestBuilder.cs | 1317 | // For generic methods, we need to check if the data types match the expected types | COMMENT |
| LOW | TUnit.Engine/Building/TestBuilder.cs | 1469 | // For IEnumerable<T>, we need to check if the actual data is IEnumerable<int> vs IEnumerable<string> etc. | COMMENT |
| LOW | …CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs | 38 | // Step 1: Browse the catalogue — the API queries PostgreSQL and returns products | COMMENT |
| LOW⚡ | …CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs | 49 | // Step 2: View the product detail — the API checks Redis, falls back to PostgreSQL on | COMMENT |
| LOW⚡ | …CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs | 57 | // Step 3: View it again — this time the API serves it directly from Redis | COMMENT |
| LOW⚡ | …CloudShop.Tests/Tests/Traces/CheckoutTraceDemoTests.cs | 65 | // Step 4: Attempt to order more units than are in stock — the API validates against | COMMENT |
| LOW | TUnit.Core/ObjectInitializer.cs | 83 | // With Lazy<Task>, we need to check if the Lazy has a value AND that value completed successfully | COMMENT |
| LOW | TUnit.Mocks.SourceGenerator/MockGenerator.cs | 47 | // Step 2: Merge all sources and deduplicate | STRING |
| LOW | TUnit.Mocks.SourceGenerator/MockGenerator.cs | 63 | // Step 3: Generate source for each unique type | STRING |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 143 | // Step 1: Collect interface-implementing methods BEFORE any syntax modifications | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 148 | // Step 2: Convert assertions FIRST (while semantic model still matches the syntax tree) | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 155 | // Step 3: Framework-specific conversions (also use semantic model while it still matches) | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 159 | // Step 4: Fix method signatures that now contain await but aren't marked async | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 167 | // Step 5: Remove unnecessary base classes and interfaces | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 174 | // Step 6: Update lifecycle methods | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 181 | // Step 7: Convert attributes | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 188 | // Step 8: Ensure [Test] attribute is present when data attributes exist (NUnit-specific) | COMMENT |
| LOW⚡ | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 198 | // Step 9: Remove framework usings and add TUnit usings (do this LAST) | COMMENT |
| LOW | …lyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs | 212 | // Step 10: Clean up trivia issues that can occur after transformations | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | TUnit.Analyzers/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | TUnit.AspNetCore.Analyzers/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | TUnit.Assertions.Analyzers/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | TUnit.Assertions.Tests/EquatableTests.cs | 259 | // Test to verify the example from GitHub issue #2972 works exactly as requested | COMMENT |
| HIGH | TUnit.Assertions.Tests/EquatableTests.cs | 259 | // Test to verify the example from GitHub issue #2972 works exactly as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | TUnit.TestProject/CombinedDataSourceTests.cs | 314 | Street = "123 Main St", | CODE |
| LOW | TUnit.TestProject/CombinedDataSourceTests.cs | 339 | await Assert.That(person.Address.Street).IsEqualTo("123 Main St"); | CODE |
| LOW | TUnit.TestProject/NestedPropertyInjectionTests.cs | 19 | Street = "123 Main St", | CODE |
| LOW | TUnit.TestProject/NestedPropertyInjectionTests.cs | 88 | yield return () => new PersonWithDataSource { Name = "John Doe", Address = null! }; | CODE |
| LOW | TUnit.Mocks.Tests/RegexMatcherTests.cs | 53 | await Assert.That(greeter.Greet("555-1234")).IsEqualTo("phone"); | CODE |
| LOW | TUnit.Mocks.Tests/RegexMatcherTests.cs | 82 | await Assert.That(greeter.Greet("user@example.com")).IsEqualTo("email"); | CODE |
| LOW | docs/docs/assertions/string.md | 159 | var email = "user@example.com"; | CODE |
| LOW | docs/docs/assertions/string.md | 415 | var email = "user@example.com"; | CODE |
| LOW | docs/docs/assertions/member-assertions.md | 19 | .Member(u => u.Email, email => email.IsEqualTo("user@example.com")); | CODE |
| LOW | …ssertions/extensibility/source-generator-assertions.md | 300 | await Assert.That("user@example.com").IsValidEmail(); // ✅ Passes | CODE |
| LOW | docs/docs/migration/mstest.md | 886 | [Owner("John Doe")] | CODE |
| LOW | docs/docs/migration/mstest.md | 910 | [Property("Owner", "John Doe")] | CODE |
| LOW | …nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs | 112 | Lorem ipsum dolor sit amet diam duo amet sea rebum. | CODE |
| LOW | …nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs | 112 | Lorem ipsum dolor sit amet diam duo amet sea rebum. | CODE |
| LOW | …nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs | 133 | Lorem ipsum dolor sit amet diam duo amet sea rebum. | CODE |
| LOW | …nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs | 133 | Lorem ipsum dolor sit amet diam duo amet sea rebum. | CODE |
| LOW⚡ | …nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs | 155 | var expectedMessage = $"Expected to be equal to \"Lorem ipsum dolor sit amet diam duo amet sea rebum. Et volupt | STRING |
| LOW⚡ | …nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs | 155 | var expectedMessage = $"Expected to be equal to \"Lorem ipsum dolor sit amet diam duo amet sea rebum. Et volupt | STRING |
| LOW⚡ | …nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs | 156 | $"but received \"Lorem ipsum dolor sit amet diam duo amet sea rebum. Et voluptua ex volup | STRING |
| LOW⚡ | …nit.Assertions.Tests/Old/StringEqualsAssertionTests.cs | 156 | $"but received \"Lorem ipsum dolor sit amet diam duo amet sea rebum. Et voluptua ex volup | STRING |
| LOW | TUnit.Core/Helpers/DisplayNameSubstitutor.cs | 70 | /// Replaces every occurrence of <paramref name="placeholder"/> that is followed by a | COMMENT |
| LOW | TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs | 1471 | [TestCase(1, Author = "John Doe")] | CODE |
| LOW | TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs | 1486 | [Property("Author", "John Doe")] | CODE |
| LOW | TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs | 2989 | {|#0:[Test(Author = "John Doe")]|} | CODE |
| LOW | TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs | 3001 | [Property("Author", "John Doe")] | CODE |
| LOW | TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs | 3021 | {|#0:[Test(Description = "Test description", Author = "Jane Doe")]|} | CODE |
| LOW | TUnit.Analyzers.Tests/NUnitMigrationAnalyzerTests.cs | 3034 | [Property("Author", "Jane Doe")] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …tCore.Core/Logging/CorrelatedTUnitLoggingExtensions.cs | 12 | /// and the <see cref="TUnitTestContextMiddleware"/> for robust test context resolution via | COMMENT |
| MEDIUM | …re.SourceGenerator/Generators/AotConverterGenerator.cs | 607 | // Use Zen's more robust approach for handling nullable types and type checks | COMMENT |
| MEDIUM | TUnit.Core/Executors/DedicatedThreadExecutor.cs | 347 | // Use a more robust synchronous wait pattern to avoid deadlocks | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/codeql.yml | 58 | # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how | COMMENT |
| LOW | TUnit.Core.SourceGenerator.Tests/TestsBase.cs | 133 | // Run generators. Don't forget to use the new compilation rather than the previous one. | COMMENT |
| LOW | TUnit.Assertions.SourceGenerator.Tests/TestsBase.cs | 127 | // Run generators. Don't forget to use the new compilation rather than the previous one. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/profile-tunit.sh | 21 | # Usage: | COMMENT |
| LOW | TUnit.Core/Attributes/ParallelLimiterAttribute.cs | 30 | /// Example usage: | COMMENT |
| LOW | TUnit.Core/Attributes/ParallelGroupAttribute.cs | 24 | /// Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …t.TestProject/Bugs/4032/NestedAsyncInitializerTests.cs | 7 | /// Regression tests for issue #4032: IAsyncInitializer lifecycle change broke complex test infrastructure orchestration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | TUnit.Engine/Framework/TestRequestHandler.cs | 8 | internal sealed class TestRequestHandler : IRequestHandler | CODE |