< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.Channels.KafkaMessageHeader
Assembly: CoreWCF.Kafka
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Kafka/src/CoreWCF/Channels/KafkaMessageHeader.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 18
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

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor(...)100%11100%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Kafka/src/CoreWCF/Channels/KafkaMessageHeader.cs

#LineLine coverage
 1// Licensed to the .NET Foundation under one or more agreements.
 2// The .NET Foundation licenses this file to you under the MIT license.
 3
 4using System;
 5
 6namespace CoreWCF.Channels;
 7
 8public sealed class KafkaMessageHeader
 9{
 410    public KafkaMessageHeader(string key, ReadOnlyMemory<byte> value)
 11    {
 412        Key = key;
 413        Value = value;
 414    }
 15
 416    public string Key { get; }
 417    public ReadOnlyMemory<byte> Value { get; }
 18}