PoolInfoResponse.java

1
package org.cardanofoundation.explorer.api.model.response.pool.lifecycle;
2
3
import java.io.Serializable;
4
import java.math.BigInteger;
5
import java.util.List;
6
7
import lombok.Getter;
8
import lombok.Setter;
9
10
@Getter
11
@Setter
12
public class PoolInfoResponse implements Serializable {
13
14 1 1. getPoolId : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getPoolId → KILLED
  private String poolId;
15
16 1 1. getPoolName : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getPoolName → KILLED
  private String poolName;
17
18 1 1. getPoolView : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getPoolView → SURVIVED
  private String poolView;
19
20 1 1. getPoolSize : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getPoolSize → SURVIVED
  private BigInteger poolSize;
21
22 1 1. getRewardAvailable : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getRewardAvailable → SURVIVED
  private BigInteger rewardAvailable;
23
24 1 1. getStatus : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getStatus → SURVIVED
  private String status;
25
26 1 1. getEpochNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getEpochNo → SURVIVED
  private Integer epochNo;
27
28 1 1. getStakeKeys : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getStakeKeys → SURVIVED
  private List<String> stakeKeys;
29
30 1 1. getRewardAccounts : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getRewardAccounts → KILLED
  private List<String> rewardAccounts;
31
}

Mutations

14

1.1
Location : getPoolId
Killed by : org.cardanofoundation.explorer.api.controller.PoolLifecycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.PoolLifecycleControllerTest]/[method:whenCallPoolInfo()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getPoolId → KILLED

16

1.1
Location : getPoolName
Killed by : org.cardanofoundation.explorer.api.service.PoolLifecycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.PoolLifecycleServiceTest]/[method:whenPoolViewIsExist_returnInfoResponse()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getPoolName → KILLED

18

1.1
Location : getPoolView
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getPoolView → SURVIVED

20

1.1
Location : getPoolSize
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getPoolSize → SURVIVED

22

1.1
Location : getRewardAvailable
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getRewardAvailable → SURVIVED

24

1.1
Location : getStatus
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getStatus → SURVIVED

26

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

28

1.1
Location : getStakeKeys
Killed by : none
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getStakeKeys → SURVIVED

30

1.1
Location : getRewardAccounts
Killed by : org.cardanofoundation.explorer.api.service.PoolLifecycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.PoolLifecycleServiceTest]/[method:whenPoolViewIsExist_usingKoios_returnInfoResponse()]
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/pool/lifecycle/PoolInfoResponse::getRewardAccounts → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2