ContractResponse.java

1
package org.cardanofoundation.explorer.api.model.response.tx;
2
3
import java.util.List;
4
5
import lombok.AllArgsConstructor;
6
import lombok.Builder;
7
import lombok.Getter;
8
import lombok.NoArgsConstructor;
9
import lombok.Setter;
10
11
import com.fasterxml.jackson.annotation.JsonIgnore;
12
13
import org.cardanofoundation.explorer.api.common.enumeration.RedeemerCertType;
14
import org.cardanofoundation.explorer.api.model.response.token.TokenAddressResponse;
15
import org.cardanofoundation.explorer.common.entity.enumeration.ScriptPurposeType;
16
17
@Getter
18
@Setter
19
@NoArgsConstructor
20
@AllArgsConstructor
21 24 1. datumHashOut : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::datumHashOut → NO_COVERAGE
2. purpose : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::purpose → NO_COVERAGE
3. datumBytesOut : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::datumBytesOut → NO_COVERAGE
4. redeemerBytes : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::redeemerBytes → NO_COVERAGE
5. txOutId : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::txOutId → NO_COVERAGE
6. mintingTokens : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::mintingTokens → NO_COVERAGE
7. stakeAddress : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::stakeAddress → NO_COVERAGE
8. redeemerSteps : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::redeemerSteps → NO_COVERAGE
9. scriptBytes : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::scriptBytes → NO_COVERAGE
10. utxoHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::utxoHash → NO_COVERAGE
11. redeemerMem : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::redeemerMem → NO_COVERAGE
12. referenceInputs : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::referenceInputs → NO_COVERAGE
13. address : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::address → NO_COVERAGE
14. datumHashIn : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::datumHashIn → NO_COVERAGE
15. utxoIndex : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::utxoIndex → NO_COVERAGE
16. datumBytesIn : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::datumBytesIn → NO_COVERAGE
17. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::toString → NO_COVERAGE
18. burningTokens : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::burningTokens → NO_COVERAGE
19. redeemerCertType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::redeemerCertType → NO_COVERAGE
20. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::builder → KILLED
21. executionInputs : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::executionInputs → KILLED
22. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::build → KILLED
23. executionOutputs : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::executionOutputs → KILLED
24. scriptHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::scriptHash → KILLED
@Builder
22
public class ContractResponse {
23 1 1. getAddress : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getAddress → NO_COVERAGE
  @JsonIgnore private String address;
24 1 1. getScriptHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getScriptHash → KILLED
  private String scriptHash;
25 1 1. getPurpose : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getPurpose → NO_COVERAGE
  private ScriptPurposeType purpose;
26 1 1. getRedeemerBytes : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getRedeemerBytes → NO_COVERAGE
  private String redeemerBytes;
27 1 1. getRedeemerMem : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getRedeemerMem → NO_COVERAGE
  private Long redeemerMem;
28 1 1. getRedeemerSteps : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getRedeemerSteps → NO_COVERAGE
  private Long redeemerSteps;
29 1 1. getDatumHashIn : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getDatumHashIn → NO_COVERAGE
  private String datumHashIn;
30 1 1. getDatumBytesIn : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getDatumBytesIn → NO_COVERAGE
  private String datumBytesIn;
31 1 1. getScriptBytes : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getScriptBytes → NO_COVERAGE
  private String scriptBytes;
32 1 1. getDatumHashOut : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getDatumHashOut → NO_COVERAGE
  private String datumHashOut;
33 1 1. getDatumBytesOut : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getDatumBytesOut → NO_COVERAGE
  private String datumBytesOut;
34 1 1. getTxOutId : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getTxOutId → NO_COVERAGE
  @JsonIgnore private Long txOutId;
35 1 1. getStakeAddress : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getStakeAddress → NO_COVERAGE
  @JsonIgnore private String stakeAddress;
36 1 1. getMintingTokens : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getMintingTokens → NO_COVERAGE
  private List<TokenAddressResponse> mintingTokens;
37 1 1. getBurningTokens : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getBurningTokens → NO_COVERAGE
  private List<TokenAddressResponse> burningTokens;
38 1 1. getUtxoIndex : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getUtxoIndex → NO_COVERAGE
  private Integer utxoIndex;
39 1 1. getUtxoHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getUtxoHash → NO_COVERAGE
  private String utxoHash;
40 1 1. getRedeemerCertType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getRedeemerCertType → NO_COVERAGE
  private RedeemerCertType redeemerCertType;
41 1 1. getReferenceInputs : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getReferenceInputs → NO_COVERAGE
  private List<TxReferenceInput> referenceInputs;
42 1 1. getExecutionInputs : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getExecutionInputs → KILLED
  private List<String> executionInputs;
43 1 1. getExecutionOutputs : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getExecutionOutputs → KILLED
  private List<String> executionOutputs;
44
}

Mutations

21

1.1
Location : datumHashOut
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::datumHashOut → NO_COVERAGE

2.2
Location : purpose
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::purpose → NO_COVERAGE

3.3
Location : datumBytesOut
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::datumBytesOut → NO_COVERAGE

4.4
Location : redeemerBytes
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::redeemerBytes → NO_COVERAGE

5.5
Location : txOutId
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::txOutId → NO_COVERAGE

6.6
Location : builder
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 null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::builder → KILLED

7.7
Location : mintingTokens
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::mintingTokens → NO_COVERAGE

8.8
Location : executionInputs
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 null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::executionInputs → KILLED

9.9
Location : stakeAddress
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::stakeAddress → NO_COVERAGE

10.10
Location : redeemerSteps
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::redeemerSteps → NO_COVERAGE

11.11
Location : scriptBytes
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::scriptBytes → NO_COVERAGE

12.12
Location : utxoHash
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::utxoHash → NO_COVERAGE

13.13
Location : redeemerMem
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::redeemerMem → NO_COVERAGE

14.14
Location : referenceInputs
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::referenceInputs → NO_COVERAGE

15.15
Location : address
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::address → NO_COVERAGE

16.16
Location : datumHashIn
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::datumHashIn → NO_COVERAGE

17.17
Location : build
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 null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::build → KILLED

18.18
Location : utxoIndex
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::utxoIndex → NO_COVERAGE

19.19
Location : datumBytesIn
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::datumBytesIn → NO_COVERAGE

20.20
Location : executionOutputs
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 null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::executionOutputs → KILLED

21.21
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::toString → NO_COVERAGE

22.22
Location : burningTokens
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::burningTokens → NO_COVERAGE

23.23
Location : scriptHash
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 null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::scriptHash → KILLED

24.24
Location : redeemerCertType
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse$ContractResponseBuilder::redeemerCertType → NO_COVERAGE

23

1.1
Location : getAddress
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getAddress → NO_COVERAGE

24

1.1
Location : getScriptHash
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 "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getScriptHash → KILLED

25

1.1
Location : getPurpose
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getPurpose → NO_COVERAGE

26

1.1
Location : getRedeemerBytes
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getRedeemerBytes → NO_COVERAGE

27

1.1
Location : getRedeemerMem
Killed by : none
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getRedeemerMem → NO_COVERAGE

28

1.1
Location : getRedeemerSteps
Killed by : none
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getRedeemerSteps → NO_COVERAGE

29

1.1
Location : getDatumHashIn
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getDatumHashIn → NO_COVERAGE

30

1.1
Location : getDatumBytesIn
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getDatumBytesIn → NO_COVERAGE

31

1.1
Location : getScriptBytes
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getScriptBytes → NO_COVERAGE

32

1.1
Location : getDatumHashOut
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getDatumHashOut → NO_COVERAGE

33

1.1
Location : getDatumBytesOut
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getDatumBytesOut → NO_COVERAGE

34

1.1
Location : getTxOutId
Killed by : none
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getTxOutId → NO_COVERAGE

35

1.1
Location : getStakeAddress
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getStakeAddress → NO_COVERAGE

36

1.1
Location : getMintingTokens
Killed by : none
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getMintingTokens → NO_COVERAGE

37

1.1
Location : getBurningTokens
Killed by : none
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getBurningTokens → NO_COVERAGE

38

1.1
Location : getUtxoIndex
Killed by : none
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getUtxoIndex → NO_COVERAGE

39

1.1
Location : getUtxoHash
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getUtxoHash → NO_COVERAGE

40

1.1
Location : getRedeemerCertType
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getRedeemerCertType → NO_COVERAGE

41

1.1
Location : getReferenceInputs
Killed by : none
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/ContractResponse::getReferenceInputs → NO_COVERAGE

42

1.1
Location : getExecutionInputs
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/ContractResponse::getExecutionInputs → KILLED

43

1.1
Location : getExecutionOutputs
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/ContractResponse::getExecutionOutputs → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2