< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.Configuration.BindingElementExtensionElement
Assembly: CoreWCF.ConfigurationManager
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.ConfigurationManager/src/CoreWCF/Configuration/BindingElementExtensionElement.cs
Line coverage
50%
Covered lines: 1
Uncovered lines: 1
Coverable lines: 2
Total lines: 25
Line coverage: 50%
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
InitializeFrom(...)100%110%
ApplyConfiguration(...)100%11100%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.ConfigurationManager/src/CoreWCF/Configuration/BindingElementExtensionElement.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;
 5using CoreWCF.Channels;
 6
 7namespace CoreWCF.Configuration
 8{
 9    public abstract class BindingElementExtensionElement : ServiceModelExtensionElement
 10    {
 11        protected internal abstract BindingElement CreateBindingElement();
 12
 13        public abstract Type BindingElementType { get; }
 14
 15        protected internal virtual void InitializeFrom(BindingElement bindingElement)
 16        {
 17
 018        }
 19
 20        public virtual void ApplyConfiguration(BindingElement bindingElement)
 21        {
 22
 1623        }
 24    }
 25}