< Summary

Class:SeungYongShim.Akka.OpenTelemetry.TraceException
Assembly:SeungYongShim.Akka.OpenTelemetry
File(s):/home/runner/work/SeungYongShim.Akka/SeungYongShim.Akka/src/SeungYongShim.Akka.OpenTelemetry/TraceException.cs
Covered lines:7
Uncovered lines:0
Coverable lines:7
Total lines:20
Line coverage:100% (7 of 7)
Covered branches:0
Total branches:0
Tag:81_945672945

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
.ctor(...)0%330100%
.ctor(...)0%110100%

File(s)

/home/runner/work/SeungYongShim.Akka/SeungYongShim.Akka/src/SeungYongShim.Akka.OpenTelemetry/TraceException.cs

#LineLine coverage
 1using System;
 2using System.Diagnostics;
 3
 4namespace SeungYongShim.Akka.OpenTelemetry
 5{
 6    public class TraceException : Exception
 7    {
 18        public TraceException(Exception exception) : this(exception, Activity.Current?.Id)
 19        {
 10
 111        }
 12
 213        public TraceException(Exception exception, string activityId) : base("TraceException", exception)
 214        {
 215            ActivityId = activityId;
 216        }
 17
 18        public string ActivityId { get; }
 19    }
 20}