< Summary - Combined Code Coverage

Information
Class: NLightning.Domain.Bitcoin.Events.NewBlockEventArgs
Assembly: NLightning.Domain
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Domain/Bitcoin/Events/NewBlockEventArgs.cs
Tag: 36_15743069263
Line coverage
66%
Covered lines: 4
Uncovered lines: 2
Coverable lines: 6
Total lines: 15
Line coverage: 66.6%
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_Height()100%210%
get_BlockHash()100%210%
.ctor(...)100%11100%

File(s)

/home/runner/work/nlightning/nlightning/src/NLightning.Domain/Bitcoin/Events/NewBlockEventArgs.cs

#LineLine coverage
 1using NLightning.Domain.Crypto.ValueObjects;
 2
 3namespace NLightning.Domain.Bitcoin.Events;
 4
 5public class NewBlockEventArgs : EventArgs
 6{
 07    public uint Height { get; }
 08    public Hash BlockHash { get; }
 9
 410    public NewBlockEventArgs(uint height, Hash blockHash)
 11    {
 412        Height = height;
 413        BlockHash = blockHash;
 414    }
 15}