< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.ServiceModel.Runtime.Diagnostics.EtwDiagnosticTrace
Assembly: CoreWCF.RabbitMQ.Client
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.RabbitMQ.Client/src/CoreWCF/ServiceModel/Runtime/Diagnostics/EtwDiagnosticTrace.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 7
Coverable lines: 7
Total lines: 29
Line coverage: 0%
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
.cctor()100%110%
.ctor(...)100%110%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.RabbitMQ.Client/src/CoreWCF/ServiceModel/Runtime/Diagnostics/EtwDiagnosticTrace.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.ServiceModel.Runtime.Diagnostics
 7{
 8    internal sealed class EtwDiagnosticTrace
 9    {
 010        public static readonly Guid ImmutableDefaultEtwProviderId = new Guid("{c651f5f6-1c0d-492e-8ae1-b4efd7c9d503}");
 011        private static Guid s_defaultEtwProviderId = ImmutableDefaultEtwProviderId;
 12
 13        public static Guid DefaultEtwProviderId
 14        {
 15            get
 16            {
 017                return s_defaultEtwProviderId;
 18            }
 19            set
 20            {
 021                s_defaultEtwProviderId = value;
 022            }
 23        }
 24
 025        public EtwDiagnosticTrace(string traceSourceName, Guid etwProviderId)
 26        {
 027        }
 28    }
 29}