< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.UriTemplateTableMatchCandidate
Assembly: CoreWCF.WebHttp
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.WebHttp/src/CoreWCF/UriTemplateTableMatchCandidate.cs
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
Total lines: 21
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.WebHttp/src/CoreWCF/UriTemplateTableMatchCandidate.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
 5{
 6    internal struct UriTemplateTableMatchCandidate
 7    {
 8        public UriTemplateTableMatchCandidate(UriTemplate template, int segmentsCount, object data)
 9        {
 12110            Template = template;
 12111            SegmentsCount = segmentsCount;
 12112            Data = data;
 12113        }
 14
 3515        public object Data { get; }
 16
 3517        public int SegmentsCount { get; }
 18
 4519        public UriTemplate Template { get; }
 20    }
 21}