< Summary - Kestrun — Combined Coverage

Information
Class: Kestrun.Hosting.Options.ContentTypeWithSchema
Assembly: Kestrun
File(s): /home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Hosting/Options/ContentTypeWithSchema.cs
Tag: Kestrun/Kestrun@8aa46e1988031758b311143cd39bf5749fbcd39e
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 8
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 02/18/2026 - 08:33:07 Line coverage: 100% (1/1) Total lines: 8 Tag: Kestrun/Kestrun@bf8a937cfb7e8936c225b9df4608f8ddd85558b1

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_ContentType()100%11100%

File(s)

/home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Hosting/Options/ContentTypeWithSchema.cs

#LineLine coverage
 1namespace Kestrun.Hosting.Options;
 2
 3/// <summary>
 4/// Represents a response content type and its associated schema for this route.
 5/// </summary>
 6/// <param name="ContentType">The response content type.</param>
 7/// <param name="Schema">The schema type associated with the response content type.</param>
 27858public record ContentTypeWithSchema(string ContentType, string? Schema = null);

Methods/Properties

get_ContentType()