< Summary

Information
Class: EF.Blockchain.Server.Dtos.TransactionDto
Assembly: EF.Blockchain.Server
File(s): C:\dev\@web3\web3-001-ef-blockchain\backend\EF.Blockchain\src\EF.Blockchain.Server\Dtos\TransactionDto.cs
Line coverage
100%
Covered lines: 9
Uncovered lines: 0
Coverable lines: 9
Total lines: 16
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_Type()100%11100%
get_Timestamp()100%11100%
get_Hash()100%11100%
get_TxInputs()100%11100%
get_TxOutputs()100%11100%
get_FromWalletAddress()100%11100%
get_Amount()100%11100%
get_FromWalletPrivateKey()100%11100%
get_ToWalletAddress()100%11100%

File(s)

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

#LineLine coverage
 1using EF.Blockchain.Domain;
 2
 3namespace EF.Blockchain.Server.Dtos;
 4
 5public class TransactionDto
 6{
 3847    public TransactionType? Type { get; set; } = TransactionType.REGULAR;
 3848    public long? Timestamp { get; set; } = null;
 3689    public string? Hash { get; set; } = string.Empty;
 38410    public List<TransactionInputDto>? TxInputs { get; set; } = null;
 38411    public List<TransactionOutputDto> TxOutputs { get; set; } = new();
 13212    public string? FromWalletAddress { get; set; } = string.Empty;
 6013    public int Amount { get; set; }
 13214    public string? FromWalletPrivateKey { get; set; } = string.Empty;
 13215    public string? ToWalletAddress { get; set; } = string.Empty;
 16}