TxResponse.java

1
package org.cardanofoundation.explorer.api.model.response.tx;
2
3
import java.util.List;
4
5
import lombok.Getter;
6
import lombok.Setter;
7
8
import org.cardanofoundation.explorer.api.projection.TxInstantaneousRewardsProjection;
9
10
@Getter
11
@Setter
12
public class TxResponse {
13
14 1 1. getTx : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getTx → KILLED
  private TxInfoResponse tx;
15 1 1. getSummary : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getSummary → SURVIVED
  private SummaryResponse summary;
16 1 1. getUTxOs : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getUTxOs → SURVIVED
  private UTxOResponse uTxOs;
17 1 1. getContracts : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getContracts → KILLED
  private List<ContractResponse> contracts;
18 1 1. getCollaterals : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getCollaterals → SURVIVED
  private CollateralResponse collaterals;
19 1 1. getNotes : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getNotes → SURVIVED
  private List<NoteResponse> notes;
20 1 1. getWithdrawals : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getWithdrawals → SURVIVED
  private List<WithdrawalResponse> withdrawals;
21 1 1. getDelegations : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getDelegations → SURVIVED
  private List<TxDelegationResponse> delegations;
22 1 1. getMints : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getMints → SURVIVED
  private List<TxMintingResponse> mints;
23 1 1. getStakeCertificates : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getStakeCertificates → SURVIVED
  private List<TxStakeCertificate> stakeCertificates;
24 1 1. getPoolCertificates : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getPoolCertificates → SURVIVED
  private List<TxPoolCertificate> poolCertificates;
25 1 1. getProtocols : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getProtocols → SURVIVED
  private ProtocolParamResponse protocols;
26 1 1. getPreviousProtocols : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getPreviousProtocols → SURVIVED
  private ProtocolParamResponse previousProtocols;
27 1 1. getInstantaneousRewards : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getInstantaneousRewards → SURVIVED
  private List<TxInstantaneousRewardsProjection> instantaneousRewards;
28 1 1. getMetadataHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getMetadataHash → SURVIVED
  private String metadataHash;
29 1 1. getMetadata : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getMetadata → SURVIVED
  private List<TxMetadataResponse> metadata;
30 1 1. getSignersInformation : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getSignersInformation → SURVIVED
  private List<TxSignersResponse> signersInformation;
31
}

Mutations

14

1.1
Location : getTx
Killed by : org.cardanofoundation.explorer.api.service.TxServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.TxServiceTest]/[method:testGetTxDetailByHash_EpochRepositoryReturnsAbsent()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getTx → KILLED

15

1.1
Location : getSummary
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getSummary → SURVIVED

16

1.1
Location : getUTxOs
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getUTxOs → SURVIVED

17

1.1
Location : getContracts
Killed by : org.cardanofoundation.explorer.api.service.ScriptServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.ScriptServiceTest]/[method:getContractExecutions_shouldReturnContractExecutions()]
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getContracts → KILLED

18

1.1
Location : getCollaterals
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getCollaterals → SURVIVED

19

1.1
Location : getNotes
Killed by : none
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getNotes → SURVIVED

20

1.1
Location : getWithdrawals
Killed by : none
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getWithdrawals → SURVIVED

21

1.1
Location : getDelegations
Killed by : none
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getDelegations → SURVIVED

22

1.1
Location : getMints
Killed by : none
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getMints → SURVIVED

23

1.1
Location : getStakeCertificates
Killed by : none
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getStakeCertificates → SURVIVED

24

1.1
Location : getPoolCertificates
Killed by : none
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getPoolCertificates → SURVIVED

25

1.1
Location : getProtocols
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getProtocols → SURVIVED

26

1.1
Location : getPreviousProtocols
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getPreviousProtocols → SURVIVED

27

1.1
Location : getInstantaneousRewards
Killed by : none
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getInstantaneousRewards → SURVIVED

28

1.1
Location : getMetadataHash
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getMetadataHash → SURVIVED

29

1.1
Location : getMetadata
Killed by : none
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getMetadata → SURVIVED

30

1.1
Location : getSignersInformation
Killed by : none
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxResponse::getSignersInformation → SURVIVED

Active mutators

Tests examined


Report generated by PIT 1.14.2