< Summary - Kestrun — Combined Coverage

Information
Class: Kestrun.Languages.ParameterForInjectionResolved
Assembly: Kestrun
File(s): /home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Languages/ParameterForInjectionResolved.cs
Tag: Kestrun/Kestrun@ca54e35c77799b76774b3805b6f075cdbc0c5fbe
Line coverage
100%
Covered lines: 8
Uncovered lines: 0
Coverable lines: 8
Total lines: 26
Line coverage: 100%
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

Coverage history

Coverage history 0 25 50 75 100 01/02/2026 - 00:16:25 Line coverage: 100% (8/8) Total lines: 26 Tag: Kestrun/Kestrun@8405dc23b786b9d436fba0d65fb80baa4171e1d0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Value()100%11100%
.ctor(...)100%11100%

File(s)

/home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Languages/ParameterForInjectionResolved.cs

#LineLine coverage
 1namespace Kestrun.Languages;
 2
 3/// <summary>
 4/// Resolved parameter information for injection into a script.
 5/// </summary>
 6public class ParameterForInjectionResolved : ParameterForInjectionInfoBase
 7{
 8    /// <summary>
 9    /// The resolved value of the parameter.
 10    /// </summary>
 3011    public object? Value { get; init; }
 12    /// <summary>
 13    /// Constructs a ResolvedRequestParameters instance from ParameterForInjectionInfo and its resolved value.
 14    /// </summary>
 15    /// <param name="paramInfo">The parameter metadata.</param>
 16    /// <param name="value">The resolved value of the parameter.</param>
 17    public ParameterForInjectionResolved(ParameterForInjectionInfo paramInfo, object? value) :
 1518     base(paramInfo.Name, paramInfo.ParameterType)
 19    {
 1520        ArgumentNullException.ThrowIfNull(paramInfo);
 1521        Type = paramInfo.Type;
 1522        DefaultValue = paramInfo.DefaultValue;
 1523        In = paramInfo.In;
 1524        Value = value;
 1525    }
 26}