SearchResponse.java

1
package org.cardanofoundation.explorer.api.model.response.search;
2
3
import lombok.Getter;
4
import lombok.Setter;
5
6
@Getter
7
@Setter
8
public class SearchResponse {
9 1 1. getEpoch : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::getEpoch → KILLED
  private Integer epoch;
10 1 1. getBlock : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::getBlock → KILLED
  private String block;
11 1 1. getTx : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::getTx → KILLED
  private String tx;
12 1 1. getToken : replaced return value with null for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::getToken → KILLED
  private TokenSearchResponse token;
13 2 1. isValidTokenName : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::isValidTokenName → SURVIVED
2. isValidTokenName : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::isValidTokenName → KILLED
  private boolean validTokenName;
14 1 1. getAddress : replaced return value with null for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::getAddress → KILLED
  private AddressSearchResponse address;
15 1 1. getPool : replaced return value with null for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::getPool → KILLED
  private PoolSearchResponse pool;
16 2 1. isValidPoolName : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::isValidPoolName → SURVIVED
2. isValidPoolName : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::isValidPoolName → KILLED
  private boolean validPoolName;
17 1 1. getScript : replaced return value with null for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::getScript → KILLED
  private ScriptSearchResponse script;
18 1 1. getDRep : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::getDRep → SURVIVED
  private String dRep;
19
}

Mutations

9

1.1
Location : getEpoch
Killed by : org.cardanofoundation.explorer.api.service.SearchServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.SearchServiceTest]/[method:testSearch_thenReturnMatchingEpoch()]
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::getEpoch → KILLED

10

1.1
Location : getBlock
Killed by : org.cardanofoundation.explorer.api.service.SearchServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.SearchServiceTest]/[method:testSearch_thenReturnMatchBlock()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::getBlock → KILLED

11

1.1
Location : getTx
Killed by : org.cardanofoundation.explorer.api.service.SearchServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.SearchServiceTest]/[method:testSearch_thenReturnMatchTx9()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::getTx → KILLED

12

1.1
Location : getToken
Killed by : org.cardanofoundation.explorer.api.service.SearchServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.SearchServiceTest]/[method:testSearch_thenReturnMatchMultiAssets_MatchToken()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::getToken → KILLED

13

1.1
Location : isValidTokenName
Killed by : org.cardanofoundation.explorer.api.service.SearchServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.SearchServiceTest]/[method:testSearch_thenReturnMatchMultiAssets_NoMatchToken()]
replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::isValidTokenName → KILLED

2.2
Location : isValidTokenName
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::isValidTokenName → SURVIVED

14

1.1
Location : getAddress
Killed by : org.cardanofoundation.explorer.api.service.SearchServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.SearchServiceTest]/[method:testSearch_thenReturnMatchAddress_isStakeAddress()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::getAddress → KILLED

15

1.1
Location : getPool
Killed by : org.cardanofoundation.explorer.api.service.SearchServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.SearchServiceTest]/[method:testSearch_thenReturnMatchPool()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::getPool → KILLED

16

1.1
Location : isValidPoolName
Killed by : org.cardanofoundation.explorer.api.service.SearchServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.SearchServiceTest]/[method:testSearch_thenReturnMatchPool()]
replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::isValidPoolName → KILLED

2.2
Location : isValidPoolName
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::isValidPoolName → SURVIVED

17

1.1
Location : getScript
Killed by : org.cardanofoundation.explorer.api.service.SearchServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.SearchServiceTest]/[method:testSearch_thenReturnMatchScript()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/search/SearchResponse::getScript → KILLED

18

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

Active mutators

Tests examined


Report generated by PIT 1.14.2