< Summary

Information
Class: EF.Blockchain.Server.Dtos.BlockDto
Assembly: EF.Blockchain.Server
File(s): C:\dev\@web3\web3-001-ef-blockchain\backend\EF.Blockchain\src\EF.Blockchain.Server\Dtos\BlockDto.cs
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
Total lines: 12
Line coverage: 100%
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_Index()100%11100%
get_Timestamp()100%11100%
get_Hash()100%11100%
get_PreviousHash()100%11100%
get_Transactions()100%11100%
get_Nonce()100%11100%
get_Miner()100%11100%

File(s)

C:\dev\@web3\web3-001-ef-blockchain\backend\EF.Blockchain\src\EF.Blockchain.Server\Dtos\BlockDto.cs

#LineLine coverage
 1namespace EF.Blockchain.Server.Dtos;
 2
 3public class BlockDto
 4{
 1445    public int Index { get; set; }
 2166    public long? Timestamp { get; set; } = null;
 2487    public string? Hash { get; set; } = null;
 2168    public string PreviousHash { get; set; } = string.Empty;
 2089    public List<TransactionDto> Transactions { get; set; } = new();
 20810    public int? Nonce { get; set; } = null;
 20811    public string? Miner { get; set; } = null;
 12}