< Summary

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

Metrics

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

File(s)

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

#LineLine coverage
 1// Copyright (c) ZeroC, Inc.
 2
 3#nullable enable
 4
 5namespace Ice;
 6
 7/// <summary>
 8/// Base class for all Ice exceptions.
 9/// </summary>
 10public abstract class Exception : System.Exception
 11{
 12    /// <summary>
 13    /// Returns the type ID of this exception.
 14    /// </summary>
 15    /// <returns>The type ID of this exception.</returns>
 16    public abstract string ice_id();
 17
 18    /// <summary>
 19    /// Initializes a new instance of the <see cref="Exception" /> class.
 20    /// </summary>
 21    /// <param name="message">The exception message.</param>
 22    /// <param name="innerException">The inner exception.</param>
 23    protected Exception(string? message, System.Exception? innerException = null)
 124        : base(message, innerException)
 25    {
 126    }
 27}

Methods/Properties

.ctor(string, System.Exception)