< 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@ca54e35c77799b76774b3805b6f075cdbc0c5fbe
Line coverage
100%
Covered lines: 11
Uncovered lines: 0
Coverable lines: 11
Total lines: 55
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@826bf9dcf9db118c5de4c78a3259bce9549f0dcd12/21/2025 - 06:07:10 Line coverage: 100% (11/11) Total lines: 55 Tag: Kestrun/Kestrun@8cf7f77e55fd1fd046ea4e5413eb9ef96e49fe6a

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%
get_MediaType()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>
 615    public IReadOnlyList<Type> ParameterTypes { get; init; } = [];
 16    /// <summary>
 17    /// Response types available for reuse in the specification.
 18    /// </summary>
 619    public IReadOnlyList<Type> ResponseTypes { get; init; } = [];
 20    /// <summary>
 21    /// Example types available for reuse in the specification.
 22    /// </summary>
 623    public IReadOnlyList<Type> ExampleTypes { get; init; } = [];
 24    /// <summary>
 25    /// Request body types available for reuse in the specification.
 26    /// </summary>
 627    public IReadOnlyList<Type> RequestBodyTypes { get; init; } = [];
 28    /// <summary>
 29    /// Header types available for reuse in the specification.
 30    /// </summary>
 631    public IReadOnlyList<Type> HeaderTypes { get; init; } = [];
 32    /// <summary>
 33    /// Link types available for reuse in the specification.
 34    /// </summary>
 635    public IReadOnlyList<Type> LinkTypes { get; init; } = [];
 36    /// <summary>
 37    /// Callback types available for reuse in the specification.
 38    /// </summary>
 639    public IReadOnlyList<Type> CallbackTypes { get; init; } = [];
 40    /// <summary>
 41    /// Path item types available for reuse in the specification.
 42    /// </summary>
 643    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>
 649    public IReadOnlyList<Type> SecuritySchemeTypes { get; init; } = [];
 50
 51    /// <summary>
 52    /// Media type types available for reuse in the specification.
 53    /// </summary>
 654    public IReadOnlyList<Type> MediaType { get; init; } = [];
 55}