< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.Description.MessagePropertyDescription
Assembly: CoreWCF.Primitives
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/Description/MessagePropertyDescription.cs
Line coverage
33%
Covered lines: 1
Uncovered lines: 2
Coverable lines: 3
Total lines: 17
Line coverage: 33.3%
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%
.ctor(...)100%110%
Clone()100%110%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/Description/MessagePropertyDescription.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
 4namespace CoreWCF.Description
 5{
 6    public class MessagePropertyDescription : MessagePartDescription
 7    {
 108        public MessagePropertyDescription(string name) : base(name, "") { }
 9
 010        internal MessagePropertyDescription(MessagePropertyDescription other) : base(other) { }
 11
 12        public override MessagePartDescription Clone()
 13        {
 014            return new MessagePropertyDescription(this);
 15        }
 16    }
 17}