< Summary

Information
Class: Ice.Current
Assembly: Ice
File(s): /_/csharp/src/Ice/Current.cs
Tag: 91_21789722663
Line coverage
100%
Covered lines: 10
Uncovered lines: 0
Coverable lines: 10
Total lines: 28
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
100%
Covered methods: 19
Total methods: 19
Method coverage: 100%

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
get_adapter()100%11100%
set_adapter(...)100%210%
get_con()100%11100%
set_con(...)100%210%
get_id()100%11100%
set_id(...)100%210%
get_facet()100%11100%
set_facet(...)100%210%
get_operation()100%11100%
set_operation(...)100%210%
get_mode()100%11100%
set_mode(...)100%210%
get_ctx()100%11100%
set_ctx(...)100%210%
get_requestId()100%11100%
set_requestId(...)100%210%
get_encoding()100%11100%
set_encoding(...)100%210%

File(s)

/_/csharp/src/Ice/Current.cs

#LineLine coverage
 1// Copyright (c) ZeroC, Inc.
 2
 3#nullable enable
 4
 5namespace Ice;
 6
 7/// <summary>
 8/// Provides information about an incoming request being dispatched.
 9/// </summary>
 10/// <param name="adapter">The object adapter that received the request.</param>
 11/// <param name="con">The connection that received the request. It's null for collocation-optimized dispatches.</param>
 12/// <param name="id">The identity of the target Ice object.</param>
 13/// <param name="facet">The facet of the target Ice object.</param>
 14/// <param name="operation">The name of the operation.</param>
 15/// <param name="mode">The operation mode (idempotent or not).</param>
 16/// <param name="ctx">The request context.</param>
 17/// <param name="requestId">The request ID. <c>0</c> means the request is one-way.</param>
 18/// <param name="encoding">The Slice encoding version used to marshal the payload of the request.</param>
 119public sealed record class Current(
 120    ObjectAdapter adapter,
 121    Connection? con,
 122    Identity id,
 123    string facet,
 124    string operation,
 125    OperationMode mode,
 126    Dictionary<string, string> ctx,
 127    int requestId,
 128    EncodingVersion encoding);