TxFilterResponse.java

1
package org.cardanofoundation.explorer.api.model.response;
2
3
import java.io.Serializable;
4
import java.math.BigInteger;
5
import java.time.LocalDateTime;
6
import java.util.ArrayList;
7
import java.util.List;
8
9
import lombok.Getter;
10
import lombok.Setter;
11
12
import com.fasterxml.jackson.annotation.JsonIgnore;
13
14
import org.cardanofoundation.explorer.api.model.response.token.TokenAddressResponse;
15
16
@Getter
17
@Setter
18
public class TxFilterResponse implements Serializable {
19 1 1. getId : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/TxFilterResponse::getId → NO_COVERAGE
  @JsonIgnore private Long id;
20 1 1. getHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/TxFilterResponse::getHash → SURVIVED
  private String hash;
21 1 1. getBlockNo : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/TxFilterResponse::getBlockNo → SURVIVED
  private Long blockNo;
22 1 1. getBlockHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/TxFilterResponse::getBlockHash → SURVIVED
  private String blockHash;
23 1 1. getEpochNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/TxFilterResponse::getEpochNo → SURVIVED
  private Integer epochNo;
24 1 1. getEpochSlotNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/TxFilterResponse::getEpochSlotNo → SURVIVED
  private Integer epochSlotNo;
25 1 1. getSlot : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/TxFilterResponse::getSlot → SURVIVED
  private Integer slot;
26 1 1. getTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/TxFilterResponse::getTime → SURVIVED
  private LocalDateTime time;
27 1 1. getFee : replaced return value with null for org/cardanofoundation/explorer/api/model/response/TxFilterResponse::getFee → SURVIVED
  private BigInteger fee;
28 1 1. getBalance : replaced return value with null for org/cardanofoundation/explorer/api/model/response/TxFilterResponse::getBalance → SURVIVED
  private BigInteger balance;
29 1 1. getTokens : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/TxFilterResponse::getTokens → SURVIVED
  private List<TokenAddressResponse> tokens = new ArrayList<>();
30
}

Mutations

19

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

20

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

21

1.1
Location : getBlockNo
Killed by : none
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/TxFilterResponse::getBlockNo → SURVIVED

22

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

23

1.1
Location : getEpochNo
Killed by : none
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/TxFilterResponse::getEpochNo → SURVIVED

24

1.1
Location : getEpochSlotNo
Killed by : none
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/TxFilterResponse::getEpochSlotNo → SURVIVED

25

1.1
Location : getSlot
Killed by : none
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/TxFilterResponse::getSlot → SURVIVED

26

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

27

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

28

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

29

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

Active mutators

Tests examined


Report generated by PIT 1.14.2