< Summary

Information
Class: Ice.LocalException
Assembly: Ice
File(s): /home/runner/work/ice/ice/csharp/src/Ice/LocalException.cs
Tag: 71_18251537082
Line coverage
66%
Covered lines: 2
Uncovered lines: 1
Coverable lines: 3
Total lines: 23
Line coverage: 66.6%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
50%
Covered methods: 1
Total methods: 2
Method coverage: 50%

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
ice_id()100%210%

File(s)

/home/runner/work/ice/ice/csharp/src/Ice/LocalException.cs

#LineLine coverage
 1// Copyright (c) ZeroC, Inc.
 2
 3#nullable enable
 4
 5namespace Ice;
 6
 7/// <summary>
 8/// Base class for Ice run-time exceptions.
 9/// </summary>
 10public class LocalException : Ice.Exception
 11{
 12    /// <summary>
 13    /// Initializes a new instance of the <see cref="LocalException" /> class.
 14    /// </summary>
 15    /// <param name="message">The exception message.</param>
 16    /// <param name="innerException">The inner exception.</param>
 17    public LocalException(string? message, System.Exception? innerException = null)
 118        : base(message, innerException)
 19    {
 120    }
 21
 022    public override string ice_id() => "::Ice::LocalException";
 23}