< Summary

Information
Class: Ice.Internal.TraceLevels
Assembly: Ice
File(s): /home/runner/work/ice/ice/csharp/src/Ice/Internal/TraceLevels.cs
Tag: 71_18251537082
Line coverage
100%
Covered lines: 17
Uncovered lines: 0
Coverable lines: 17
Total lines: 42
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/Internal/TraceLevels.cs

#LineLine coverage
 1// Copyright (c) ZeroC, Inc.
 2
 3namespace Ice.Internal;
 4
 5public sealed class TraceLevels
 6{
 17    internal TraceLevels(Ice.Properties properties)
 8    {
 19        dispatchCat = "Dispatch";
 110        networkCat = "Network";
 111        protocolCat = "Protocol";
 112        retryCat = "Retry";
 113        locationCat = "Locator";
 114        slicingCat = "Slicing";
 115        threadPoolCat = "ThreadPool";
 16
 117        string keyBase = "Ice.Trace.";
 18
 119        dispatch = properties.getIcePropertyAsInt(keyBase + dispatchCat);
 120        network = properties.getIcePropertyAsInt(keyBase + networkCat);
 121        protocol = properties.getIcePropertyAsInt(keyBase + protocolCat);
 122        retry = properties.getIcePropertyAsInt(keyBase + retryCat);
 123        location = properties.getIcePropertyAsInt(keyBase + locationCat);
 124        slicing = properties.getIcePropertyAsInt(keyBase + slicingCat);
 125        threadPool = properties.getIcePropertyAsInt(keyBase + threadPoolCat);
 126    }
 27
 28    public readonly int dispatch;
 29    public readonly string dispatchCat;
 30    public readonly int network;
 31    public readonly string networkCat;
 32    public readonly int protocol;
 33    public readonly string protocolCat;
 34    public readonly int retry;
 35    public readonly string retryCat;
 36    public readonly int location;
 37    public readonly string locationCat;
 38    public readonly int slicing;
 39    public readonly string slicingCat;
 40    public readonly int threadPool;
 41    public readonly string threadPoolCat;
 42}

Methods/Properties

.ctor(Ice.Properties)