< Summary

Information
Class: EF.Blockchain.Server.Dtos.StatusDto
Assembly: EF.Blockchain.Server
File(s): C:\dev\@web3\web3-001-ef-blockchain\backend\EF.Blockchain\src\EF.Blockchain.Server\Dtos\StatusDto.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 10
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_Mempool()100%11100%
get_Blocks()100%11100%
get_IsValid()100%11100%
get_LastBlock()100%11100%
get_Difficulty()100%11100%

File(s)

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

#LineLine coverage
 1namespace EF.Blockchain.Server.Dtos;
 2
 3public class StatusDto
 4{
 245    public int Mempool { get; set; }
 326    public int Blocks { get; set; }
 327    public bool IsValid { get; set; }
 248    public BlockDto? LastBlock { get; set; }
 219    public int Difficulty { get; set; }
 10}