Sundew.ChangeAnalysis.Impact.TUnit
0.1.0-u20261130-215044-ci
dotnet add package Sundew.ChangeAnalysis.Impact.TUnit --version 0.1.0-u20261130-215044-ci
NuGet\Install-Package Sundew.ChangeAnalysis.Impact.TUnit -Version 0.1.0-u20261130-215044-ci
<PackageReference Include="Sundew.ChangeAnalysis.Impact.TUnit" Version="0.1.0-u20261130-215044-ci" />
<PackageVersion Include="Sundew.ChangeAnalysis.Impact.TUnit" Version="0.1.0-u20261130-215044-ci" />
<PackageReference Include="Sundew.ChangeAnalysis.Impact.TUnit" />
paket add Sundew.ChangeAnalysis.Impact.TUnit --version 0.1.0-u20261130-215044-ci
#r "nuget: Sundew.ChangeAnalysis.Impact.TUnit, 0.1.0-u20261130-215044-ci"
#:package Sundew.ChangeAnalysis.Impact.TUnit@0.1.0-u20261130-215044-ci
#addin nuget:?package=Sundew.ChangeAnalysis.Impact.TUnit&version=0.1.0-u20261130-215044-ci&prerelease
#tool nuget:?package=Sundew.ChangeAnalysis.Impact.TUnit&version=0.1.0-u20261130-215044-ci&prerelease
Sundew.ChangeAnalysis
Sundew.ChangeAnalysis analyzes the changes of a C# code base. Its first analysis is test impact analysis: which TUnit tests are impacted by the changes since a git commit?
sia reads what a build produces anyway: the assemblies of the projects and their debug information.
So nothing takes part in the compilation and nothing is compiled a second time: build, ask sia, run the tests it lists.
dotnet build Source/Shop.slnx
sia --assemblies Source/Shop.Tests/bin/Debug/net11.0 --since origin/main
/Shop.Tests/Shop.Tests/PriceCalculatorTests/GetPrice_Then_ResultShouldBePriceTimesQuantity
The tool is built on libraries whose both ends are abstractions, so the analysis itself is not tied to git or to TUnit:
- An
IChangeSourceprovides the changes.Sundew.ChangeAnalysis.Gitimplements it for git. - An
IAssemblyEntryPointProviderfinds the entry points in an assembly.Sundew.ChangeAnalysis.Impact.TUnitimplements it for TUnit tests.
Both ends are plugins of sia: git and TUnit are part of it, and others are given with --plugins.
The second analysis is the level of a change: sva says whether the changes since the last release are major, minor or patch changes.
It compares the packages of the build with those of the release (the public API of their assemblies, their frameworks, dependencies and files),
and the changes of the sources since the tag of the release tell what changed without changing the API. With --check it fails when the version of a package is too low for its changes.
sva --packages artifacts --check
major
Packages
| Package | Contains |
|---|---|
Sundew.ChangeAnalysis.Impact.Tool |
The sia .NET tool: lists the TUnit tests of a test project that are impacted by the changes since a git commit. |
Sundew.ChangeAnalysis.Versioning.Tool |
The sva .NET tool: tells whether the changes since the last release are major, minor or patch changes, from the packages of the build and the changes in git, and checks the versions of the packages against it. |
Sundew.ChangeAnalysis |
The core that the analyses share: the abstraction for changes (IChangeSource, ChangeSet), the contract of a change source plugin, the declarations of a source file and how two versions of it differ (SourceDeclaration, DeclarationChange), what the debug information of an assembly tells (DebugInformation), and the projects of a build output (BuildOutputReader). |
Sundew.ChangeAnalysis.Impact |
The impact analysis, the abstraction for entry points, the index of a project, which is what the analysis runs on, and what indexes a Roslyn compilation. |
Sundew.ChangeAnalysis.Impact.Cecil |
AssemblyCodeBaseLoader: loads a code base from the assemblies that a build compiled, and the abstraction for the entry points in them. The contract of an entry point plugin. |
Sundew.ChangeAnalysis.Git |
GitChangeSource: the delta of one or more commits, of a range of commits or of the working tree. The git plugin. |
Sundew.ChangeAnalysis.Impact.TUnit |
TUnit tests as entry points: TUnitAssemblyEntryPointProvider finds them in assemblies and TUnitEntryPointProvider in compilations, and the filters to run them. The tunit plugin. |
Sundew.ChangeAnalysis.Versioning |
ApiComparer: compares the public API of two versions of an assembly as Roslyn symbols and gives each difference its rule, and with it its level: major, minor or patch. PackageReader and PackageComparer: the same for two versions of a NuGet package, for each of its frameworks, with its dependencies and files. SourceComparer: what the changes of the sources mean for the packages that ship them. |
The sia tool
dotnet tool install --global Sundew.ChangeAnalysis.Impact.Tool
sia --assemblies <directory> [--repository <path>] [--since [<source>#]<value>] [--entry-points <name>] [--plugins <paths>] [--result <file>]
| Option | |
|---|---|
--assemblies |
The output directory of a test project after it was built: its assemblies and their debug information. Required. |
--repository |
A path inside the repository. Default: the current directory. |
--since |
What the changes are relative to. For git, the default source, a commit: a hash, a branch or a tag, also written git#origin/main, or one of the forms commit: and tag:, see What the changes are. Default: HEAD, which gives what is not committed. |
--entry-points |
The plugin that finds the tests, such as tunit. Default: the one whose test framework is among the assemblies. |
--plugins |
Plugin assemblies, or directories whose assemblies are read, separated by ;. Can be given more than once. See Plugins. |
--result |
Also writes the result to this file as JSON: why each test is impacted, the changed declarations and the filters to run the tests. The file is never counted as a change. |
The impacted tests go to the standard output, one on each line as the filter that selects it, for TUnit its tree node path, and nothing else does. A summary and the warnings go to the standard error:
Impact analysis: 1 of 2 tests of Shop.Tests are impacted by the changes since origin/main.
The exit code is 0 when the analysis ran, whatever it found, and 1 with an error (SIA1001) when it could not run, such as for a commit that is not in the clone.
What the changes are
The changes are those between the commit and the files that were built, committed or not, because the files on disk are what the assemblies were compiled from.
The commit is compared from where its history and that of the checked out commit part. So origin/main gives what the branch changed, whatever has happened on main since, and the hash of an earlier commit of the branch gives what changed after it.
Two other forms say which commit differently. commit: and a revision is that commit itself, also when it is not on the history of the checked out commit, such as a release that was made from another branch.
tag: and a pattern, such as tag:v*, is the latest tag that matches and is on the history of the checked out commit: the tag whose name is the highest version, not the one that was created last.
| When | --since |
|---|---|
| A branch or a pull request | The branch it will be merged into, such as origin/main. |
| A push | The commit before the push, which GitHub Actions has as ${{ github.event.before }}. |
| Before committing | HEAD. |
| Since the last release | tag:v*, when releases are tagged like v1.2.0. |
The commit has to be in the clone, so a build server must not check out the latest commit only (fetch-depth: 0 for actions/checkout).
What is found from the output directory
The tool only needs the output directory, because what the build knew is found there and in the repository:
- The projects are the assemblies whose debug information names source files that exist, and those that the
.deps.jsonof the test project names as projects, also without debug information. - The project that was built is the one whose
.deps.jsonis in the directory, or, when a referenced application brought its own, the one whose.deps.jsonnames the others. It references every project the file names, also one whose code it does not use. Only its tests are listed. - A project file is the one above most of the source files of a project. For a project without debug information it is the one of the repository that has its name.
- What a build server wrote as
/_/in the debug information (ContinuousIntegrationBuild) is the root of the repository of--repository, which the change source finds.
A project that is built without debug information (DebugType none) does not say which files are its sources: the tool then warns (SIA1003), and a change of a source file in the directory of that project impacts the project as a whole.
Running the impacted tests
A TUnit test project is an application that takes one --treenode-filter, so each listed test can be run on its own:
$tests = sia --assemblies Source/Shop.Tests/bin/Debug/net11.0 --since origin/main
foreach ($test in $tests) {
dotnet Source/Shop.Tests/bin/Debug/net11.0/Shop.Tests.dll --treenode-filter $test
}
A filter can select several tests of one class, so the filters of the result file need one run for each test class instead:
sia --assemblies Source/Shop.Tests/bin/Debug/net11.0 --since origin/main --result impact.json
foreach ($filter in (Get-Content impact.json | ConvertFrom-Json).filters) {
dotnet Source/Shop.Tests/bin/Debug/net11.0/Shop.Tests.dll --treenode-filter $filter
}
A changed file that is not a C# source, such as Directory.Build.props or a data file, is a warning: what it impacts is not known, so whether to run all tests then is up to the caller.
The result file
{
"assembly": "Shop.Tests",
"since": "origin/main",
"entryPoints": 2,
"impactedEntryPoints": [
{
"name": "Shop.Tests.PriceCalculatorTests.GetPrice_Then_ResultShouldBePriceTimesQuantity",
"kind": "TUnit",
"assembly": "Shop.Tests",
"symbol": "M:Shop.Tests.PriceCalculatorTests.GetPrice_Then_ResultShouldBePriceTimesQuantity",
"filter": "/Shop.Tests/Shop.Tests/PriceCalculatorTests/GetPrice_Then_ResultShouldBePriceTimesQuantity",
"path": [
{ "symbol": "Shop.Tests.PriceCalculatorTests.GetPrice_Then_ResultShouldBePriceTimesQuantity()", "kind": "Method", "cause": "Reference" },
{ "symbol": "Shop.PriceCalculator.GetPrice(decimal, int)", "kind": "Method", "cause": "Reference" },
{ "symbol": "Shop.IDiscountPolicy.Apply(decimal)", "kind": "Method", "cause": "Implementation" },
{ "symbol": "Shop.SeasonalDiscountPolicy.Apply(decimal)", "kind": "Method", "cause": "Changed", "change": "Modified", "file": "/repo/Source/Shop/SeasonalDiscountPolicy.cs" }
]
}
],
"filters": [
"/Shop.Tests/Shop.Tests/PriceCalculatorTests/GetPrice_Then_ResultShouldBePriceTimesQuantity"
],
"affectedSymbols": [
{ "symbol": "Shop.SeasonalDiscountPolicy.Apply(decimal)", "kind": "Method", "change": "Modified", "file": "/repo/Source/Shop/SeasonalDiscountPolicy.cs" }
],
"unanalyzedChanges": []
}
impactedEntryPoints: the impacted tests, each with thefilterthat is its line of the output and thepaththat leads from it to a change.filters: the fewest filters that together select the impacted tests, one for each run. For TUnit that is one for each test class, because a filter cannot select tests of two classes.affectedSymbols: the classes, methods and other members that the changes affect directly.unanalyzedChanges: the changed files that are not sources of the test project or of the projects it references, see What is not analyzed.
Plugins
sia has two kinds of plugin: a change source, which says what the changes are, and an entry point plugin, which finds the tests and says how each one is run.
git and tunit are part of the tool and are declared the same way as any other plugin.
| Option | Chooses |
|---|---|
--since <scheme>#<value> |
The change source whose scheme comes before the first #, which is given the rest. A value without # is a git revision; a git revision that has a # is written git#feature#1. |
--entry-points <name> |
The entry point plugin. Without it, the plugin whose framework assembly is in the --assemblies directory, such as TUnit.Core.dll for tunit. When none or more than one applies, the tool fails and asks for one, because each line of the output is a filter of the runner of one kind of test. |
sia --assemblies Source/Shop.Tests/bin/Debug/net11.0 --plugins tools/sia-plugins --since svn#1234 --entry-points tunit
--plugins takes plugin assemblies and directories. The assemblies of a directory are read, but not those of its subdirectories.
A plugin is built with copies of the assemblies of the tool that it references, such as Sundew.ChangeAnalysis.Impact.dll; those are skipped, and the plugin is given the tool's.
A plugin is a class library for .NET 10 that references Sundew.ChangeAnalysis for a change source and Sundew.ChangeAnalysis.Impact.Cecil for entry points, and declares its plugins with assembly attributes:
[assembly: ChangeSourcePlugin("svn", typeof(SvnChangeSourcePlugin))]
[assembly: EntryPointPlugin("commands", typeof(ConsoleCommandPlugin), "Commands.Abstractions")]
IChangeSourcePlugin.Create(value, path)creates theIChangeSourcefrom what follows the#and from--repository, andGetRootDirectory(path)gives the root of the repository, which a build server writes as/_/.IEntryPointPluginpairs anIAssemblyEntryPointProviderwith theIEntryPointProviderof the same kind (see Extending), and gives the filter that runs an entry point (GetFilter) and the fewest filters that run several (GetFilters). The third argument ofEntryPointPluginis the assembly whose presence among the assemblies makes the plugin apply.
What runs. A plugin runs with the rights of the tool, so --plugins must only name assemblies that you would run yourself:
- Plugins are only loaded from the paths of
--plugins: not from the current directory, the--assembliesdirectory or a file of the repository. So a build server job that analyzes the output of a build of a pull request, with more rights than that build had, only reads it: a plugin that the pull request put there is not loaded. - The attributes of an assembly are read without loading it. Only the plugins that are chosen are loaded and created, so no code of a plugin that is not used runs.
- A plugin is loaded in a context of its own, so that its dependencies do not clash with those of the tool or of other plugins. That is not a sandbox: .NET has none for code it loads.
Its dependencies come from its
.deps.jsonand its directory, apart from the assemblies that the tool has, which are the tool's. - The git plugin looks for the git executable in the directories of the
PATHand never in the current directory, where .NET would otherwise look first on Windows.
Using the analysis from code
The assemblies that a build compiled can be analyzed by any program, with any changes:
using Sundew.ChangeAnalysis.Git;
using Sundew.ChangeAnalysis.Impact;
using Sundew.ChangeAnalysis.Impact.Cecil;
using Sundew.ChangeAnalysis.Impact.TUnit;
// The output directory of a test project has its assembly and those of the projects it references.
var loadResult = await AssemblyCodeBaseLoader.LoadAsync("Source/Shop.Tests/bin/Debug/net11.0", [new TUnitAssemblyEntryPointProvider()]);
if (!loadResult.TryGet(out var codeBase, out var loadError))
{
Console.Error.WriteLine(loadError.Message);
return 1;
}
// What the branch changed since it left main, committed or not.
var changeSource = new GitChangeSource(".", new GitWorkingTree("origin/main", SinceMergeBase: true));
var analyzer = new ImpactAnalyzer(new TUnitEntryPointProvider());
var result = await analyzer.AnalyzeAsync(changeSource, codeBase.CodeBaseIndex);
if (!result.TryGet(out var analysis, out var changeError))
{
Console.Error.WriteLine(changeError.Message);
return 1;
}
foreach (var affectedSymbol in analysis.AffectedSymbols)
{
Console.WriteLine($"{affectedSymbol.Change} {affectedSymbol.Symbol.Kind}: {affectedSymbol.Symbol.Name}");
}
foreach (var impactedTest in analysis.ImpactedEntryPoints)
{
Console.WriteLine(impactedTest.EntryPoint.Name);
}
return 0;
The result contains:
AffectedSymbols: the classes, methods and other members that the changes affect directly.ImpactedEntryPoints: the entry points that can reach an affected symbol, each with thePaththat leads from it to a change.EntryPoints: all entry points of the code base. The ones that are not impacted are those the changes cannot reach.UnanalyzedChanges: the changes that could not be related to the code base, see What is not analyzed.
Which assemblies are loaded
Without options the projects and the project that was built are found the way the tool finds them, see What is found from the output directory,
and AssemblyCodeBase.RootAssemblyName says which project that was.
AssemblyLoadOptions says it instead, for a layout where that does not hold, or where the program knows more, such as one that runs as part of a build:
var options = new AssemblyLoadOptions
{
// The projects, so that it does not depend on their source files being found, and the project that references all of them.
Projects = [new AssemblyProject("Shop.Tests", "Source/Shop.Tests/Shop.Tests.csproj"), new AssemblyProject("Shop", "Source/Shop/Shop.csproj")],
RootAssemblyName = "Shop.Tests",
// The directory that a build server wrote as /_/ in the debug information.
SourceRoots = [SourceRoot.ForRepository(repositoryPath)],
};
SourceRoot is in the namespace Sundew.ChangeAnalysis.BuildOutput.
AssemblyCodeBase.Diagnostics says what was found that makes the analysis less precise, such as a project without debug information.
Why a test is impacted
The path of an impacted entry point tells why it is impacted. Each step is a symbol and how it leads to the next one:
foreach (var step in impactedTest.Path)
{
Console.WriteLine($"{step.Symbol.Name} ({step.Cause.GetType().Name})");
}
Shop.Tests.PriceCalculatorTests.GetPrice_Then_ResultShouldBePriceTimesQuantity() (Reference)
Shop.PriceCalculator.GetPrice(decimal, int) (Reference)
Shop.IDiscountPolicy.Apply(decimal) (Implementation)
Shop.SeasonalDiscountPolicy.Apply(decimal) (Changed)
ImpactCause is a closed record, so a switch expression over it is checked by the compiler:
| Cause | The symbol... |
|---|---|
Changed |
is affected by a change itself. It ends the path. |
Reference |
references the next symbol: calls it, reads or writes it, creates it, derives from it or uses it as a type. |
Implementation |
is an interface member or a member that can be overridden, and the next symbol implements or overrides it. |
Member |
is a type or a project, and the next symbol is a member of it that runs without being called by the code base, such as a constructor. |
Dependency |
is an entry point, and the next symbol is something its provider says it depends on, or its project. |
The filters of the impacted TUnit tests
A TUnitTest knows the filter that selects it. TUnitTreeNodeFilter.Create combines the tests into a filter per test class:
var tests = analysis.ImpactedEntryPoints.Select(x => x.EntryPoint).OfType<TUnitTest>();
foreach (var filter in TUnitTreeNodeFilter.Create(tests))
{
Console.WriteLine($"{filter.AssemblyName}: {filter.Filter}");
}
Shop.Tests: /Shop.Tests/Shop.Tests/PriceCalculatorTests/(GetPrice_Then_ResultShouldBePriceTimesQuantity|GetTax_Then_ResultShouldBeAQuarterOfThePrice)
Changes from git
GitChangeSource runs the git command line. What it gets is selected by a GitChangeSelection, a union of:
| Selection | Changes |
|---|---|
new GitWorkingTree() |
What is not committed, staged or not, including untracked files. |
new GitWorkingTree("origin/main", SinceMergeBase: true) |
What a branch changed since it left the other branch, committed or not. |
new GitCommit("HEAD") |
What a single commit changed compared to its first parent. |
new GitCommitRange("v1.0", "HEAD") |
What the commits after the first revision up to the second one changed altogether. |
new GitCommitRange("origin/main", FromMergeBase: true) |
What the commits of a branch changed since it left the other branch. |
new GitWorkingTreeSinceTag("v*") |
What changed since the latest tag that matches the pattern, such as the last release, committed or not. The tags of prereleases, whose version is followed by a -, such as v.2.0.0-beta.1, are passed over unless SkipPrereleases is false. What follows a + is build metadata, and a date such as release-2024-05-01 is no version. |
Several selections are added up, so the changes of individual commits can be analyzed together:
var changeSource = new GitChangeSource(repositoryPath, new GitCommit("4f2a91c"), new GitCommit("9d03b7e"));
A change carries the text of the file before and after it, which is read from the objects of the repository. The commits therefore do not have to be the ones that are checked out.
The assemblies describe the files as they were built, though, so the changes of the working tree are the ones that fit them exactly.
The git executable is looked for in the directories of the PATH only (GitChangeSourceOptions.GitExecutable can give its path).
The ChangeSet says what its changes are relative to: its Bases have the commit that each selection starts from, and the name it was asked for or found by, such as the tag of the release.
When the changes cannot be determined, the result is a GitError, a closed record of GitNotFound, NotARepository, UnknownRevision, MissingHistory (a shallow clone), NoMatchingTag, OnlyPrereleaseTags and CommandFailed.
A file that is renamed to another extension has the text it had, so a source file that is renamed to one that is not compiled shows what was taken out.
Changes of declarations
What a change of a file means is told by its declarations, not by its lines. DeclarationChange.Compare gives the declarations that two versions of a source file do not share:
foreach (var change in DeclarationChange.Compare(oldText, text, CSharpParseOptions.Default))
{
Console.WriteLine(change switch
{
AddedDeclaration added => $"Added {added.Declaration.Kind} {added.Declaration.Name} at line {added.Declaration.Line}",
ModifiedDeclaration modified => $"Modified {modified.Declaration.Kind} {modified.Declaration.Name} at line {modified.Declaration.Line}",
RemovedDeclaration removed => $"Removed {removed.Declaration.Kind} {removed.Declaration.Name}, which was at line {removed.Declaration.Line}",
});
}
A declaration is a member, what a type declares outside of its members, or what a file has outside of its types: its using directives, its assembly attributes and its top level statements. It is identified by its names and has changed when its tokens have, so whitespace, comments and the place of a declaration in its file make no difference. The parse options are those of the project of the file, so that code that a directive disables for the project does not count.
The sva tool
dotnet tool install --global Sundew.ChangeAnalysis.Versioning.Tool
sva --packages <path> [--since [<source>#]<value>] [--repository <path>] [--baseline <path>] [--plugins <paths>] [--check] [--below-one <mode>] [--result <file>]
| Option | |
|---|---|
--packages |
The packages to compare: a .nupkg file, a folder of .nupkg files such as the output of dotnet pack, or the folder of an extracted package. The symbol package (.snupkg) beside a .nupkg file is read for its debug information. The files that are read are not changes of the sources, wherever they are. Required. |
--since |
What the changes are relative to, for the change source named before the #. Default: tag:v.*, the last release. git, the default source, takes tag:<pattern>, the latest tag that matches on the history of the checked out commit and is not a prerelease; commit:<revision>, that commit; or a revision, where its history and that of the checked out commit part. The version in the name of a tag, from its first number that is followed by a dot, such as 17.0.0 in v.17.0.0 or 1.0.0 in Http2-v1.0.0, is that of the release. A revision such as HEAD~1 names no release. |
--repository |
A path inside the repository that the packages were built from, also through a symbolic link. Default: the current directory. |
--baseline |
The packages that consumers have, in the same forms as --packages. Default: the packages of the version of the tag, see Where the release comes from. Without --since, only the packages are compared and git plays no part. A package of the global packages folder, such as ~/.nuget/packages/shop/1.4.0, is the folder of an extracted package. |
--base |
What the packages are compared with when --baseline is not given: release, the packages of the version in the name of the base, or sources, the sources as they were at the base, see Without a release. Default: release when the name of the base has a version, sources otherwise. |
--plugins |
Plugin assemblies, or directories whose assemblies are read, separated by ;, for another change source than git, as for sia. |
--check |
Fails when the version of a package is too low for its changes, see The check. |
--below-one |
What a version below 1.0 needs: shifted, the default, one level less, so that a major change needs a new minor version; strict, the same as from 1.0. |
--result |
Also writes the result to this file as JSON: the level, the findings with their files and lines, and the check of each package. |
The packages are paired by id, and each package is compared with its baseline. The level of the changes goes to the standard output on its own, major, minor, patch or none, and nothing else does.
It is the highest level of all packages, because the packages of a repository share their version. The findings go to the standard error, with the file and the line of the declaration they are about when the changes of the sources say so:
The changes since v.1.4.0 (9d0e8b1): 4 changed files.
Shop 2.0.0 against 1.4.0: major changes; the version declares a major change.
MA18 major: The method 'Shop.Order.Cancel()' was removed. (Shop.dll, net10.0, netstandard2.0) at Source/Shop/Order.cs(31) before the change
MI01 minor: The framework net11.0 was added.
PA01 patch: The method 'Shop.Order.Send' changed, and the public API shows no difference for it. (Shop.dll, net10.0, netstandard2.0) at Source/Shop/Order.cs(18)
PA07 patch: The file 'README.md' was changed.
1 changed file is not shipped by any of the packages, which is no change (NO02): Source/Shop.Tests/OrderFixture.cs.
Versioning: the changes are major, from 1 package compared with the baseline.
A package without a package in the baseline is a first release: it has no level, and when no package has a baseline, nothing is written to the standard output.
The exit code is 0 when the comparison ran, 1 with an error (SVA1001) when it could not run or its result could not be written, such as for a path that does not exist, a NuGet.Config file that is not valid, or a release whose packages are not found, and 2 when --check found a version that is too low.
Against the sources of a base whose name has no version, as for a pull request, a package has no declared level, and --check does not check it.
Where the release comes from
The base of the changes is the latest release tag, v. and the version by default, so a repository that is released needs no option. The version in its name says which packages consumers have,
and each of them is looked for in the global packages folder and then in the NuGet sources that a restore of its projects uses: those of the NuGet.Config files in the directory of the project and above it, package source mapping included.
A package that the release did not have is told by its projects having been added since: their project files were added, and no file in their directories was there at the release.
A package that no source has any version of, and whose project was not there at the release, such as one without assemblies, is taken to be new as well, and a warning says so.
Any other package that is not found is an error, so that a release that cannot be compared does not pass the check.
A build on a build server that fetches only the latest commit has no tags: actions/checkout needs fetch-depth: 0.
Without a release: the source base
A pull request, uncommitted work or a repository before its first release has no packages to compare with, such as for --since origin/main. Then the packages are compared with their own sources as they were at the base.
The debug information of each assembly records how the compiler was run: its source files, the text of what generators added, its options, and the assemblies it was compiled against, each by the id of its module.
The sources are compiled twice with those options and references, as they are and with the changes undone, and the public APIs of the two compilations are compared with the same rules as packages are:
sva --packages artifacts --since origin/main
The changes since origin/main (5c1d2e7): 2 changed files.
Shop 1.5.0 against the sources of origin/main (5c1d2e7): major changes.
MA18 major: The method 'Shop.Order.Cancel()' was removed. (Shop.dll, net10.0) at Source/Shop/Order.cs(31) before the change
The assemblies that were compiled against are found by the ids of their modules in the reference packs of the .NET installation and in the packages and projects that the restore of each project resolved, as its obj/project.assets.json lists them, so the comparison runs where the packages were built.
An assembly whose sources did not change is not compiled. --base sources compares with the sources of a release as well, whose version is then in the name of its tag; without a version, --check has nothing to check against and says so.
What a source base does not see:
- Frameworks, dependencies and packed files, which only the packages have.
- Code that generators wrote is that of the current build on both sides, so a change that only shows in it, such as one of the generator itself, is not seen, and a warning says so when a project or build file changed.
- The name and the strong name of an assembly, which the debug information does not record.
The changes of the sources
The debug information of an assembly names the source files it was compiled from, and dotnet pack puts it in a symbol package beside each package when IncludeSymbols and SymbolPackageFormat snupkg are set, or it is embedded with DebugType embedded.
A changed file belongs to the assemblies whose debug information names it, or that the project in its directory builds, which is what a file that was deleted has. Its two versions are compared by their declarations, with the preprocessor symbols of each framework:
- A declaration that changed and for which the public API shows no difference is a patch change: its body (PA01), something that is not public API that was added or removed (PA02), or the using directives (PA10). A finding of the public API is given the line of the declaration it is about instead, and the members that were added or removed with a type that was added or removed are part of the finding of the type. A declaration that moved to another file of the assembly is written differently (PA04), or changed when its tokens changed as well.
- A file that moved to another project left the assembly of the one and joined that of the other: its declarations were removed from the one and added to the other.
- A file whose text is not known on a side of the change, such as one that a change source plugin gives without it, is a patch change (PA02), and a warning says that it is not analyzed.
- A file whose declarations did not change, because only whitespace, comments or code that the preprocessor symbols leave out changed, is no change (NO01).
- The project file and the build files that a shipped project is built with,
.propsand.targetsfiles in its directory or above it, are a patch change (PA09), and a warning says that what they change besides what the packages show is not analyzed. A build file in a directory that no project is in, such aseng/Versions.props, is taken to be imported by all shipped projects. One in the directory of a project, such asbuild/Shop.targets, belongs to that project, and one for projects that no package ships is no change (NO02). - Resources (
.resx) of a shipped project are a patch change (PA10). Other files in the directory of a shipped project are named in a warning: what they change is not analyzed, and what is packed is compared with the package. - Files that no package ships, such as tests, samples and the files of the repository, are no change (NO02).
An assembly without debug information is taken to be built from the files in the directory of its project, which is found by the name of the assembly, and a warning says so.
What is compared
For each target framework of either version, the assemblies that code for that framework compiles against in the baseline are compared with those it compiles against now, the ones in ref/ when the package has them and in lib/ otherwise.
So a framework that is replaced by a compatible one, such as net8.0 by netstandard2.0, is compared with the one that replaced it, and a member that only the replaced framework had is reported as removed.
- Frameworks. A framework that no framework of the package is compatible with any more is a major change (MA01). A framework that is added is a minor one (MI01).
- Assemblies are paired by their file names. One that is removed is a major change (MA02), one that is added counts as the types it adds (MI03).
- The public API of each pair of assemblies is compared as the level of a change describes. A finding for several frameworks is one finding that names them.
- Dependencies, those of the group of the nearest framework, including the shared frameworks of
frameworkReferences. A dependency whose types are in the public API and that is raised to a new major version has its two versions compared as well: it is a major change (MA04) when the public API of the dependency has major changes, or when either version is not found, because code that uses those types compiles against the new major version. A major version that follows something else than the API, such as the version of .NET for Microsoft.Bcl.AsyncInterfaces, is then no major change. Other dependencies that are added, removed, lowered or raised to a new major version are minor changes (MI02), and one that is raised within its major version is a patch change (PA08), as is any change of a dependency that only the build uses. A dependency that is raised to a new major version and is not a major change gives a warning: a consumer that uses it as well gets that version. - Other files and the metadata, such as the README, the documentation files and the description, are compared by their content: a difference is a patch change (PA07). The commit of the repository is not compared, because it differs in every build.
The assemblies of the dependencies tell their types apart. They are looked for among the packages on the same side, so that the packages of a repository find each other, in the global packages folder, NUGET_PACKAGES or ~/.nuget/packages,
and, unless only packages are compared, in the NuGet sources of the repository. A type of a dependency that is not found is compared by its name, and the dependency is taken to have one assembly of its id.
The framework is the one that sva runs on, so a type that only a newer framework has is compared by its name as well.
What a package has besides its API is not compared: the command line of a .NET tool, the properties, items and targets of MSBuild files, and the diagnostics and the generated code of analyzers.
A warning (SVA1003) names them, and their level is your call. The bodies of members are not compared either, because the assemblies of two builds always differ: the changes of the sources tell a patch change from none,
and without them, with --baseline alone, a package base cannot.
The check
The version of a package declares a level against its baseline: a higher major version declares a major change, a higher minor version a minor one, and a higher patch version a patch change.
With --check, a declared level below the one that the changes need is an error, which names the version to raise to:
Sundew.ChangeAnalysis.Versioning : error SVA1002: The version 1.5.0 of Shop declares a minor change against 1.4.0, and its changes need a major change: raise the version to 2.0.
Declaring more than the changes need is always allowed, and that is how a change of behavior is expressed: raise the version by hand. Below 1.0, Semantic Versioning allows anything, and by default a major change needs a new minor version and a minor change a new patch version.
The result file
{
"level": "major",
"check": true,
"versionsBelowOne": "shifted",
"base": { "name": "v.1.4.0", "commit": "9d0e8b1c2a" },
"packages": [
{
"id": "Shop",
"version": "2.0.0",
"base": "package",
"baseVersion": "1.4.0",
"commit": "4f1c2e9a7b",
"baseCommit": "9d0e8b1c2a",
"level": "major",
"requiredLevel": "major",
"declaredLevel": "major",
"isVersionHighEnough": true,
"otherContracts": [],
"findings": [
{
"rule": "MA18", "level": "major", "subject": "M:Shop.Order.Cancel", "message": "The method 'Shop.Order.Cancel()' was removed.", "assembly": "Shop.dll", "frameworks": [ "net10.0", "netstandard2.0" ],
"location": { "path": "Source/Shop/Order.cs", "line": 31, "isBeforeChange": true }
}
],
"notes": []
}
],
"packagesWithoutBaseline": [],
"baselinePackagesNotFound": [],
"unshippedFiles": [ "Source/Shop.Tests/OrderFixture.cs" ],
"unanalyzedFiles": [],
"notes": []
}
base: the base of the changes of the sources, such as the tag of the release, when they were compared. For a package,packagewhen it was compared with a package, andsourceswhen it was compared with its sources at the base, whosebaseVersionanddeclaredLevelarenullwhen the name of the base has no version.subject: the documentation comment id of a symbol, the name of a declaration, or the framework, assembly, dependency, file or metadata element that a finding is about.location: the file and the line of a finding, relative to the root of the repository;isBeforeChangewhen the line is one of the file before the change, as for what was removed. The line is 0 for a file as a whole.notes: what could not be compared, such as an assembly that could not be read or a project file that changed; at the end, what the comparison of the sources could not look at for the repository as a whole, such as a build file that several projects share.packagesWithoutBaselineandbaselinePackagesNotFound: the packages that could not be paired.unshippedFilesandunanalyzedFiles: the changed files that no package ships, and those in the directories of shipped projects whose effect is not analyzed.
The level of a change
Sundew.ChangeAnalysis.Versioning tells what a change means for the version of a package: is it a major, a minor or a patch change?
ApiComparer compares the public API of two versions of an assembly, the one that consumers have and the one that is to be released, and gives each difference its rule:
var comparison = ApiComparer.Compare(baseAssembly, assembly);
Console.WriteLine(comparison.Level);
foreach (var finding in comparison.Findings)
{
Console.WriteLine($"{finding.Rule.Id} {finding.Level} {finding.SymbolId}: {finding.Message}");
}
Major
MA18 Major M:Shop.Order.Cancel: The method 'Shop.Order.Cancel()' was removed.
MI09 Minor M:Shop.Order.Ship: The method 'Shop.Order.Ship()' was added.
The level of a rule follows from what a change can do to a consumer of the base, and the level of a comparison is the highest level of its findings:
| Level | A change is of that level when | Such as |
|---|---|---|
| Major | A consumer can break: it fails at run time without being compiled again, it no longer compiles, it compiles with a warning in code that was clean, or it means something else. | A member is removed, a parameter is added or renamed, a class is sealed, a parameter stops accepting null. |
| Minor | No consumer breaks, but the contract is larger or more permissive: code written against the new version may not work with the old one. | A type or member is added, a class is unsealed, a parameter starts to accept null, [Obsolete] is added. |
| Patch | What ships differs and its contract does not. | An override is added while the member it overrides stays, [DebuggerDisplay] changes. |
VersioningRules lists the rules. The id of a rule tells its level: MA, MI or PA, and a number.
Both versions are Roslyn symbols, so each of them can be an assembly that was built or the assembly of a compilation of sources, Compilation.Assembly.
An assembly that was built is read through a compilation that references it:
static IAssemblySymbol Load(string assemblyPath, IEnumerable<MetadataReference> references)
{
var reference = MetadataReference.CreateFromFile(assemblyPath);
var options = new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, metadataImportOptions: MetadataImportOptions.All);
var compilation = CSharpCompilation.Create("Api", references: references.Append(reference), options: options);
return (IAssemblySymbol)compilation.GetAssemblyOrModuleSymbol(reference)!;
}
The references are the assemblies that the assembly uses: a type of an assembly that is not among them is compared by its name. With all members imported, a member that became internal is told from one that was removed. Without, it counts as removed, which is the same level.
What is compared:
- The public API is what code outside of the assembly can use: public types and their public and protected members. A protected member only counts when its type can be derived from outside of the assembly. What is internal never counts, also not for the assemblies it is visible to.
- Types and members are matched by their documentation comment ids and compared part by part: accessibility, modifiers, base types and interfaces, signatures, constraints, nullability, constant values and attributes. A member whose parameters changed has another id. When a type lost a single member of a name and gained a single one, they are taken to be the same member.
- What consumers override or implement counts for more: a change that is harmless for the code that calls a member can break the type that overrides it, such as a constraint that is removed from a virtual generic method or a parameter of an interface member that starts to accept null.
- Experimental API. A difference in API that the base marks with
[Experimental]is at most a minor change, because its consumers have accepted that it changes. - Exhaustive cases. A case that is added to a
unionor to aclosedhierarchy is a major change, because consumers handle all cases. The same goes for the types and enums that an attribute marks as exhaustive, by default[DiscriminatedUnion]of Sundew.DiscriminatedUnions (ApiComparisonOptions.ExhaustiveAttributes). - The members of an extension block are part of the API as the static methods that implement them, which is also what an extension method is.
What the comparison does not see is what leaves the public API as it is: the bodies of members, what is not public, and what the code does.
So the level is a minimum, and ChangeLevel.None says that the public API does not differ, not that nothing changed.
The sources and the assembly that is built from them give the same findings: the tests compare every case both ways and require that.
As a second opinion they run Microsoft.DotNet.ApiCompat.Tool, the tool of the .NET SDK that reports breaking changes, on the same cases. What it reports is a major change here, except where it is known why not.
Comparing packages
PackageReader reads packages and PackageComparer compares two versions of one, which is what sva does for each package, see What is compared:
if (PackageReader.ReadPackage("artifacts/Shop.2.0.0.nupkg").TryGet(out var package, out var error) &&
PackageReader.ReadPackage("baseline/Shop.1.4.0.nupkg").TryGet(out var basePackage, out error))
{
var options = new PackageComparisonOptions { DependencySources = [new GlobalPackagesFolder(GlobalPackagesFolder.GetDefaultPath())] };
var comparison = PackageComparer.Compare(basePackage, package, options);
Console.WriteLine($"{comparison.Level}, declared {comparison.DeclaredLevel}, needs {comparison.GetRequiredLevel()}");
foreach (var finding in comparison.Findings)
{
Console.WriteLine($"{finding.Rule.Id} {finding.Subject} {string.Join(", ", finding.Frameworks)}: {finding.Message}");
}
}
else
{
Console.WriteLine(error.Message);
}
PackageReader.Read reads every package of a folder. An IPackageSource finds the dependencies of a package: PackageSet among packages that were read, and GlobalPackagesFolder in the global packages folder.
VersionLevels gives the level that a version declares against another, and the level that a version below 1.0 needs.
Comparing the changes of sources
SourceComparer relates the changes of a repository to the packages that were built from it, as The changes of the sources describes, and adds them to the comparison of a package:
var changes = await new GitChangeSource(repositoryPath, new GitWorkingTreeSinceTag("v.*")).GetChangesAsync();
if (changes.TryGet(out var changeSet, out var changeError) && PackageReader.Read("artifacts").TryGet(out var packages, out var packageError))
{
var sourceComparison = SourceComparer.Compare(changeSet, packages, new SourceComparisonOptions(repositoryPath));
foreach (var packageChanges in sourceComparison.Packages)
{
foreach (var change in packageChanges.Changes)
{
Console.WriteLine($"{change.Rule.Id} {change.Location}: {change.Message}");
}
}
// SourceComparer.Combine(comparison, sourceComparison.GetPackage(comparison.Package.Id)!) gives the findings of a comparison of packages their lines.
}
A package has the debug information of the assemblies it runs with in Package.DebugInformation, read from a symbol package beside it, from its .pdb files or from the assemblies themselves.
How it works
1. Reading the assemblies of a build
The assembly of a project says what refers to what: the code of each member names the members and types it uses.
AssemblyCodeBaseLoader reads that for each project and makes an index of it, which is what the analysis runs on:
- The types and members that the project declares.
- The dependencies of each of them, see step 3.
- The entry points of the project, see step 4.
- The source files that the assembly was compiled from, and the language version and the preprocessor symbols they were parsed with, which its debug information has.
What the compiler made of the code is given back to the member that declares it: the methods and types of lambdas, local functions, iterators and asynchronous methods are code of that member, the initializer of a field is code of the field, and what a record declares for its members is the record. The names the compiler gives those are not part of the language. The tests therefore run every scenario on the compilations as well, where the compiler itself says what refers to what, and require the assemblies to give the same.
2. From changes to affected symbols
The analysis does not look at changed lines. It compares the declarations of the two versions of a file: a declaration is changed when its tokens are.
- A change of whitespace, comments or formatting affects nothing, and neither does moving a declaration within its file or renaming the file. Line endings do not count either, also not those inside a string that spans lines: git may keep a file with other line endings than the ones it is checked out with.
- A change inside a member affects the member. A change of what a type declares outside of its members, such as its base types, attributes or primary constructor, affects the type.
- A member that was removed affects its type and the members of that name that are left in the type and its base types, because code that used the member now uses one of them if it still compiles. Only the type itself can use a private member, so the removal of one affects just the remaining overloads.
- A member of an enum that is declared without a value counts on from the last member before it that has one, and from zero when there is none. So it gets another value without a change of its own, and is affected, when a member is added or removed before it, when the members are put in another order and when the value it counts on from is written differently.
- A file is compared the way each project compiles it, so code that a directive disables for a project does not count for that project.
- A change of a project file affects the project as a whole.
An assembly does not say which declaration of a file declares which of its symbols, so the symbol of a changed declaration is found by its names: a type by its name and the types and the namespace around it, a member by its name in its type, and an overload by its parameters. Where the names do not tell overloads apart, all of them are affected, which impacts more and misses nothing.
3. From affected symbols to impacted symbols
A symbol is impacted when it depends on an impacted symbol:
- References. A member or type references what its code and its declaration use, including what the compiler calls on its behalf:
conversion and other operators, the methods behind
foreach,await,using, deconstruction and patterns, collection initializers and query expressions. - Abstractions. Code that uses an interface member or a member that can be overridden may run any implementation of it. So when an implementation is impacted, the member it implements or overrides is impacted too, and with it everything that uses the abstraction.
- Constants. The compiler replaces a constant by its value wherever it is used, so no assembly refers to it. When a constant changes, what uses it is looked up in the sources:
a declaration uses a constant when it writes its name qualified with its type, with a type that derives from that one or with an alias of them,
or on its own where the constant is known by its name: in its type, in the types that derive from it and where a
using staticdirective imports it. A constant that is computed from a changed constant has changed as well, and so on. That includes a member of an enum that counts on from another member. The members of an enum are part of the enum: what uses the enum depends on each of them. - Members that run without being called. A constructor, a finalizer or an instance initializer runs for whatever uses the type, so the type depends on them.
The same goes for the implementation of a member that is declared outside of the code base, such as
Dispose,ToStringorEquals: the framework may call it for whatever has an instance. A module initializer runs when its assembly is loaded, so the project depends on it. - Members that the compiler declares. A default constructor or the members of a record have no declaration that could change, only that of their type. What depends on such a member depends on its type.
- Projects. A project that is impacted as a whole impacts the projects that reference it.
4. From impacted symbols to entry points
An entry point is impacted when its symbol is, or when something its provider says it depends on is. For a TUnit test that is:
- The test class, which TUnit creates for each test: its constructors, initializers and base classes, and
Disposeand the like. - The hooks that run before and after the test:
[Before]and[After]of the test class and its base classes, those of the assembly, and[BeforeEvery]and[AfterEvery], also of referenced projects. - The data sources that are named by a string, such as
[MethodDataSource("Orders")], and the properties TUnit injects.
A test that a class inherits through [InheritsTests] is a test of that class. A test method with several sets of arguments is one test.
What is not analyzed
The analysis is conservative where it can be, and reports what it cannot relate to the code:
- Files that are not C# sources of a project of the analysis, such as
Directory.Build.props,Directory.Packages.props, resources and data files, are returned as unanalyzed changes. Whether they impact an entry point is not known, so it is up to the caller to decide, for example to run all tests. The analysis of a test project only knows the projects the test project references, so the sources of other projects are unanalyzed changes to it as well. - Reflection, dependency injection by convention and
dynamicleave no reference in the code. A type that is only created by a container is reached through whatever registers it by naming it. - Abstractions are followed to every implementation. A test that uses an interface is impacted by a change of any implementation of it that the test project references, also one the test does not use. The same goes for the type arguments of a generic interface.
- A call of a member that can be overridden is a call of the member that declares it first. An assembly does not say which type a member is called on. So a test that calls an override is also impacted by a change of the member it overrides, and through that member by a change of its other overrides.
- The uses of a constant are found by its name. A declaration that writes the name of a changed constant the way that constant can be written is taken to use it, also when it means something else of that name. That impacts more, and misses nothing.
- Naming a member is not using it.
nameof(Method)is a text in an assembly. Only another name changes it, and that changes what names the member as well. - An enum is also used without naming a member: by a number that is converted to it, by all of its values or by their names. So the members of an enum are part of it: whatever uses the enum is impacted when a member is added, removed or given another value, also where that makes no difference to it. A code base that is analyzed from Roslyn compilations instead of assemblies is the exception: there such a use is only impacted when a member is removed.
- What was not built is not there. The assemblies have to be those of the files as they are: the analysis is of the build that it runs after.
- Only C# projects are analyzed.
Requirements
sianeeds the .NET 10 runtime or a later one, and the git command line.svaneeds the .NET 10 runtime or a later one, and the git command line unless only packages are compared.- The libraries need .NET 10 or later.
Sundew.ChangeAnalysis.Gitneeds the git command line.
Extending
Another source control system implements IChangeSource and returns a ChangeSet of FileChanges, a union of AddedFile, ModifiedFile, DeletedFile and RenamedFile.
It can say what the changes are relative to with the Bases of the ChangeSet.
Another kind of entry point, such as the tests of another test framework or the endpoints of a web application, implements IAssemblyEntryPointProvider, which finds the entry points in an assembly:
public sealed class ConsoleCommandAssemblyProvider : IAssemblyEntryPointProvider
{
public string Kind => "ConsoleCommand";
public IEnumerable<AssemblyEntryPoint> GetEntryPoints(AssemblyDefinition assembly, IReadOnlyList<AssemblyDefinition> referencedProjects)
{
// The types that the sources of the assembly declare, nested types included.
foreach (var method in AssemblyIndexer.GetDeclaredTypes(assembly).SelectMany(x => x.Methods))
{
var command = method.CustomAttributes.FirstOrDefault(x => x.AttributeType.Name == "CommandAttribute");
if (command is { ConstructorArguments: [{ Value: string verb }] })
{
// The dependencies are what runs for the entry point without being referenced by it, here the type that declares the command.
yield return new AssemblyEntryPoint(method.Name, [verb], method, [method.DeclaringType]);
}
}
}
}
The provider is given to AssemblyCodeBaseLoader, and the analysis reports its entry points as GenericEntryPoints: what the index says about them, their name, their kind and their values.
To get them as entry points of a type of their own, the analysis is given an IEntryPointProvider of the same kind, which creates them from the index. It also finds them in a compilation, for a code base of Roslyn compilations:
public sealed record ConsoleCommand(SymbolId Symbol, string Name, string Verb) : EntryPoint(Symbol, Name);
public sealed class ConsoleCommandProvider : IEntryPointProvider
{
public string Kind => "ConsoleCommand";
public IEnumerable<EntryPointDeclaration> GetEntryPoints(CodeProject project, CancellationToken cancellationToken)
{
foreach (var (method, verb) in FindCommandMethods(project.Compilation))
{
if (SymbolId.TryCreate(method, out var symbolId))
{
yield return new EntryPointDeclaration(new ConsoleCommand(symbolId, method.Name, verb), method, [method.ContainingType]);
}
}
}
public ImmutableArray<string> GetValues(EntryPoint entryPoint)
{
return [((ConsoleCommand)entryPoint).Verb];
}
public EntryPoint? Create(SymbolId symbol, string name, ImmutableArray<string> values)
{
return values is [var verb] ? new ConsoleCommand(symbol, name, verb) : null;
}
}
For sia, the two providers are paired in a plugin, which also says how an entry point is run:
[assembly: EntryPointPlugin("commands", typeof(ConsoleCommandPlugin), "Commands.Abstractions")]
public sealed class ConsoleCommandPlugin : IEntryPointPlugin
{
public IAssemblyEntryPointProvider AssemblyEntryPointProvider { get; } = new ConsoleCommandAssemblyProvider();
public IEntryPointProvider EntryPointProvider { get; } = new ConsoleCommandProvider();
public string GetFilter(EntryPoint entryPoint) => ((ConsoleCommand)entryPoint).Verb;
public ImmutableArray<string> GetFilters(IReadOnlyList<EntryPoint> entryPoints) => [.. entryPoints.Select(this.GetFilter)];
}
A program of your own can also use the providers directly, as in Using the analysis from code.
A code base does not have to be built either: a CodeBase is a set of CodeProjects, each with a Roslyn Compilation, which the analysis indexes as far as the changes reach (ProjectIndexer creates the index of one).
That compiles the code a second time when it is built anyway, so it is for when it is not.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
-
net10.0
- Microsoft.CodeAnalysis.CSharp (>= 5.12.0)
- Mono.Cecil (>= 0.11.6)
- Sundew.ChangeAnalysis.Impact (>= 0.1.0-u20261130-215044-ci)
- Sundew.ChangeAnalysis.Impact.Cecil (>= 0.1.0-u20261130-215044-ci)
-
net11.0
- Microsoft.CodeAnalysis.CSharp (>= 5.12.0)
- Mono.Cecil (>= 0.11.6)
- Sundew.ChangeAnalysis.Impact (>= 0.1.0-u20261130-215044-ci)
- Sundew.ChangeAnalysis.Impact.Cecil (>= 0.1.0-u20261130-215044-ci)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-u20261130-215044-ci | 33 | 11/30/2026 |
0.1 - Impact analysis of the changes of git commits on TUnit tests.