< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.Dispatcher.CompositeDispatchFormatter
Assembly: CoreWCF.WebHttp
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.WebHttp/src/CoreWCF/Dispatcher/CompositeDispatchFormatter .cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 23
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%
DeserializeRequest(...)100%11100%
SerializeReply(...)100%11100%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.WebHttp/src/CoreWCF/Dispatcher/CompositeDispatchFormatter .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 CoreWCF.Channels;
 5
 6namespace CoreWCF.Dispatcher
 7{
 8    internal class CompositeDispatchFormatter : IDispatchMessageFormatter
 9    {
 10        private readonly IDispatchMessageFormatter _reply;
 11        private readonly IDispatchMessageFormatter _request;
 12
 16313        public CompositeDispatchFormatter(IDispatchMessageFormatter request, IDispatchMessageFormatter reply)
 14        {
 16315            _request = request;
 16316            _reply = reply;
 16317        }
 18
 3319        public void DeserializeRequest(Message message, object[] parameters) => _request.DeserializeRequest(message, par
 20
 3121        public Message SerializeReply(MessageVersion messageVersion, object[] parameters, object result) => _reply.Seria
 22    }
 23}