< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.Channels.MetadataTransportServiceBuilder
Assembly: CoreWCF.Primitives
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/Channels/MetadataTransportServiceBuilder.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 19
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
Configure(...)100%11100%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/Channels/MetadataTransportServiceBuilder.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 System.Collections.Generic;
 6using System.Text;
 7using CoreWCF.Configuration;
 8using Microsoft.AspNetCore.Builder;
 9
 10namespace CoreWCF.Channels
 11{
 12    internal class MetadataTransportServiceBuilder : ITransportServiceBuilder
 13    {
 14        public void Configure(IApplicationBuilder app)
 15        {
 2416            app.UseMiddleware<MetadataMiddleware>(app);
 2417        }
 18    }
 19}