< Summary

Information
Class: Intentum.Simulation.BehaviorScenario
Assembly: Intentum.Simulation
File(s): /home/runner/work/Intentum/Intentum/src/Intentum.Simulation/BehaviorScenario.cs
Line coverage
87%
Covered lines: 7
Uncovered lines: 1
Coverable lines: 8
Total lines: 20
Line coverage: 87.5%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor(...)100%11100%

File(s)

/home/runner/work/Intentum/Intentum/src/Intentum.Simulation/BehaviorScenario.cs

#LineLine coverage
 1namespace Intentum.Simulation;
 2
 3/// <summary>
 4/// A scenario definition: either a fixed sequence of (actor, action) or simulator parameters for random generation.
 5/// </summary>
 6/// <param name="Id">Scenario identifier.</param>
 7/// <param name="Name">Human-readable name.</param>
 8/// <param name="Sequence">Optional fixed sequence (actor, action). When set, used to build BehaviorSpace via FromSequen
 9/// <param name="Actors">For random generation: list of actor names.</param>
 10/// <param name="Actions">For random generation: list of action names.</param>
 11/// <param name="EventCount">For random generation: number of events.</param>
 12/// <param name="RandomSeed">For random generation: optional seed.</param>
 413public sealed record BehaviorScenario(
 414    string Id,
 015    string Name,
 616    IReadOnlyList<(string Actor, string Action)>? Sequence = null,
 317    IReadOnlyList<string>? Actors = null,
 218    IReadOnlyList<string>? Actions = null,
 119    int EventCount = 10,
 520    int? RandomSeed = null);