< Summary - CoreWCF Coverage — PR #1766

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

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Primitives/src/CoreWCF/Channels/TransportCompressionSupportHelper.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.Channels
 5{
 6    public class TransportCompressionSupportHelper : ITransportCompressionSupport
 7    {
 8        public bool IsCompressionFormatSupported(CompressionFormat compressionFormat)
 9        {
 1810            return true;
 11        }
 12    }
 13}