Refactor code structure and optimize performance across multiple modules

This commit is contained in:
StellaOps Bot
2025-12-26 20:03:22 +02:00
parent c786faae84
commit b4fc66feb6
3353 changed files with 88254 additions and 1590657 deletions

View File

@@ -6,6 +6,7 @@ using StellaOps.Scanner.CallGraph;
using StellaOps.Scanner.CallGraph.Caching;
using Xunit;
using StellaOps.TestKit;
namespace StellaOps.Scanner.CallGraph.Tests;
public class ValkeyCallGraphCacheServiceTests : IAsyncLifetime
@@ -76,7 +77,8 @@ public class ValkeyCallGraphCacheServiceTests : IAsyncLifetime
await _cache.DisposeAsync();
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task SetThenGet_CallGraph_RoundTrips()
{
var nodeId = CallGraphNodeIds.Compute("dotnet:test:entry");
@@ -99,7 +101,8 @@ public class ValkeyCallGraphCacheServiceTests : IAsyncLifetime
Assert.Equal(snapshot.GraphDigest, loaded.GraphDigest);
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task SetThenGet_ReachabilityResult_RoundTrips()
{
var result = new ReachabilityAnalysisResult(