< Summary - Kestrun — Combined Coverage

Information
Class: Kestrun.Certificates.DevelopmentCertificateResult
Assembly: Kestrun
File(s): /home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Certificates/DevelopmentCertificateResult.cs
Tag: Kestrun/Kestrun@765a8f13c573c01494250a29d6392b6037f087c9
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 20
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 04/19/2026 - 15:52:57 Line coverage: 100% (5/5) Total lines: 20 Tag: Kestrun/Kestrun@765a8f13c573c01494250a29d6392b6037f087c9

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
get_RootCertificate()100%11100%
get_LeafCertificate()100%11100%
get_RootTrusted()100%11100%
get_PublicRootCertificate()100%11100%

File(s)

/home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Certificates/DevelopmentCertificateResult.cs

#LineLine coverage
 1using System.Security.Cryptography.X509Certificates;
 2
 3namespace Kestrun.Certificates;
 4
 5/// <summary>
 6/// Represents a generated development certificate bundle.
 7/// </summary>
 8/// <param name="RootCertificate">The effective development root certificate.</param>
 9/// <param name="LeafCertificate">The localhost leaf certificate signed by the root certificate.</param>
 10/// <param name="RootTrusted">True when the root certificate is present in the Windows CurrentUser Root store after the 
 311public record DevelopmentCertificateResult(
 712    X509Certificate2 RootCertificate,
 813    X509Certificate2 LeafCertificate,
 514    bool RootTrusted)
 15{
 16    /// <summary>
 17    /// Gets a public-only copy of the effective development root certificate without the private key.
 18    /// </summary>
 1119    public X509Certificate2? PublicRootCertificate { get; init; }
 20}