< Summary

Information
Class: EF.Blockchain.Server.Dtos.BlockInfoDto
Assembly: EF.Blockchain.Server
File(s): C:\dev\@web3\web3-001-ef-blockchain\backend\EF.Blockchain\src\EF.Blockchain.Server\Dtos\BlockInfoDto.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 11
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_PreviousHash()100%11100%
get_Difficulty()100%11100%
get_MaxDifficulty()100%11100%
get_FeePerTx()100%11100%
get_Transactions()100%11100%

File(s)

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

#LineLine coverage
 1namespace EF.Blockchain.Server.Dtos;
 2
 3public class BlockInfoDto
 4{
 165    public int Index { get; set; }
 246    public string PreviousHash { get; set; } = string.Empty;
 167    public int Difficulty { get; set; }
 168    public int MaxDifficulty { get; set; }
 169    public int FeePerTx { get; set; }
 2410    public List<TransactionDto> Transactions { get; set; } = new();
 11}