< Summary

Information
Class: dotnet_etcd.WatchEvent
Assembly: dotnet-etcd
File(s): /home/runner/work/dotnet-etcd/dotnet-etcd/dotnet-etcd/watchclient/WatchEvent.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 25
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Key()100%210%
get_Value()100%210%
get_Type()100%210%

File(s)

/home/runner/work/dotnet-etcd/dotnet-etcd/dotnet-etcd/watchclient/WatchEvent.cs

#LineLine coverage
 1using Mvccpb;
 2
 3namespace dotnet_etcd;
 4
 5/// <summary>
 6///     WatchEvent class is used for retrieval of minimal
 7///     data from watch events on etcd.
 8/// </summary>
 9public class WatchEvent
 10{
 11    /// <summary>
 12    ///     etcd Key
 13    /// </summary>
 014    public string Key { get; set; }
 15
 16    /// <summary>
 17    ///     etcd value
 18    /// </summary>
 019    public string Value { get; set; }
 20
 21    /// <summary>
 22    ///     etcd watch event type (PUT,DELETE etc.)
 23    /// </summary>
 024    public Event.Types.EventType Type { get; set; }
 25}

Methods/Properties

get_Key()
get_Value()
get_Type()