< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.Configuration.XmlConfigEndpoint
Assembly: CoreWCF.ConfigurationManager
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.ConfigurationManager/src/CoreWCF/Configuration/XmlConfigEndpoint.cs
Line coverage
100%
Covered lines: 10
Uncovered lines: 0
Coverable lines: 10
Total lines: 24
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.ConfigurationManager/src/CoreWCF/Configuration/XmlConfigEndpoint.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    internal class XmlConfigEndpoint : IXmlConfigEndpoint
 10    {
 3111        public Uri Address { get; private set; }
 2912        public Binding Binding { get; private set; }
 2813        public Type Contract { get; private set; }
 4114        public Type Service { get; private set; }
 15
 2216        public XmlConfigEndpoint(Type service, Type contract, Binding binding, Uri address)
 17        {
 2218            Service = service;
 2219            Contract = contract;
 2220            Binding = binding;
 2221            Address = address;
 2222        }
 23    }
 24}