< Summary - Kestrun — Combined Coverage

Information
Class: Kestrun.OpenApi.OpenApiComponentSet
Assembly: Kestrun
File(s): /home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/OpenApi/OpenApiComponentSet.cs
Tag: Kestrun/Kestrun@0d738bf294e6281b936d031e1979d928007495ff
Line coverage
100%
Covered lines: 10
Uncovered lines: 0
Coverable lines: 10
Total lines: 50
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 12/12/2025 - 17:27:19 Line coverage: 100% (10/10) Total lines: 50 Tag: Kestrun/Kestrun@826bf9dcf9db118c5de4c78a3259bce9549f0dcd

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_SchemaTypes()100%11100%
get_ParameterTypes()100%11100%
get_ResponseTypes()100%11100%
get_ExampleTypes()100%11100%
get_RequestBodyTypes()100%11100%
get_HeaderTypes()100%11100%
get_LinkTypes()100%11100%
get_CallbackTypes()100%11100%
get_PathItemTypes()100%11100%
get_SecuritySchemeTypes()100%11100%

File(s)

/home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/OpenApi/OpenApiComponentSet.cs

#LineLine coverage
 1namespace Kestrun.OpenApi;
 2
 3/// <summary>
 4/// Set of discovered OpenAPI component types.
 5/// </summary>
 6public sealed class OpenApiComponentSet
 7{
 8    /// <summary>
 9    /// Schema types available for reuse in the specification.
 10    /// </summary>
 1211    public IReadOnlyList<Type> SchemaTypes { get; init; } = [];
 12    /// <summary>
 13    /// Parameter types available for reuse in the specification.
 14    /// </summary>
 815    public IReadOnlyList<Type> ParameterTypes { get; init; } = [];
 16    /// <summary>
 17    /// Response types available for reuse in the specification.
 18    /// </summary>
 919    public IReadOnlyList<Type> ResponseTypes { get; init; } = [];
 20    /// <summary>
 21    /// Example types available for reuse in the specification.
 22    /// </summary>
 1223    public IReadOnlyList<Type> ExampleTypes { get; init; } = [];
 24    /// <summary>
 25    /// Request body types available for reuse in the specification.
 26    /// </summary>
 1027    public IReadOnlyList<Type> RequestBodyTypes { get; init; } = [];
 28    /// <summary>
 29    /// Header types available for reuse in the specification.
 30    /// </summary>
 931    public IReadOnlyList<Type> HeaderTypes { get; init; } = [];
 32    /// <summary>
 33    /// Link types available for reuse in the specification.
 34    /// </summary>
 435    public IReadOnlyList<Type> LinkTypes { get; init; } = [];
 36    /// <summary>
 37    /// Callback types available for reuse in the specification.
 38    /// </summary>
 439    public IReadOnlyList<Type> CallbackTypes { get; init; } = [];
 40    /// <summary>
 41    /// Path item types available for reuse in the specification.
 42    /// </summary>
 443    public IReadOnlyList<Type> PathItemTypes { get; init; } = [];
 44
 45    //public IReadOnlyList<Type> ExtensionTypes { get; init; } = [];
 46    /// <summary>
 47    /// Security scheme types available for reuse in the specification.
 48    /// </summary>
 449    public IReadOnlyList<Type> SecuritySchemeTypes { get; init; } = [];
 50}