StakeDelegationDetailResponse.java

1
package org.cardanofoundation.explorer.api.model.response.stake.lifecycle;
2
3
import java.math.BigInteger;
4
import java.time.LocalDateTime;
5
6
import lombok.Builder;
7
import lombok.Getter;
8
import lombok.Setter;
9
10
@Getter
11
@Setter
12 12 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::toString → NO_COVERAGE
2. poolId : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::poolId → KILLED
3. blockNo : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::blockNo → KILLED
4. epoch : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::epoch → KILLED
5. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::builder → KILLED
6. outSum : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::outSum → KILLED
7. fee : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::fee → KILLED
8. txHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::txHash → KILLED
9. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::build → KILLED
10. poolName : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::poolName → KILLED
11. time : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::time → KILLED
12. stakeTotalAmount : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::stakeTotalAmount → KILLED
@Builder
13
public class StakeDelegationDetailResponse {
14
15 1 1. getTxHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::getTxHash → KILLED
  private String txHash;
16 1 1. getBlockNo : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::getBlockNo → SURVIVED
  private Long blockNo;
17 1 1. getEpoch : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::getEpoch → SURVIVED
  private Integer epoch;
18 1 1. getOutSum : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::getOutSum → KILLED
  private BigInteger outSum;
19 1 1. getFee : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::getFee → SURVIVED
  private BigInteger fee;
20 1 1. getPoolId : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::getPoolId → KILLED
  private String poolId;
21 1 1. getPoolName : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::getPoolName → KILLED
  private String poolName;
22 1 1. getTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::getTime → SURVIVED
  private LocalDateTime time;
23 1 1. getStakeTotalAmount : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::getStakeTotalAmount → KILLED
  private BigInteger stakeTotalAmount;
24
}

Mutations

12

1.1
Location : poolId
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetDelegationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::poolId → KILLED

2.2
Location : blockNo
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetDelegationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::blockNo → KILLED

3.3
Location : epoch
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetDelegationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::epoch → KILLED

4.4
Location : builder
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetDelegationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::builder → KILLED

5.5
Location : outSum
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetDelegationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::outSum → KILLED

6.6
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::toString → NO_COVERAGE

7.7
Location : fee
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetDelegationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::fee → KILLED

8.8
Location : txHash
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetDelegationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::txHash → KILLED

9.9
Location : build
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetDelegationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::build → KILLED

10.10
Location : poolName
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetDelegationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::poolName → KILLED

11.11
Location : time
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetDelegationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::time → KILLED

12.12
Location : stakeTotalAmount
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetDelegationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse$StakeDelegationDetailResponseBuilder::stakeTotalAmount → KILLED

15

1.1
Location : getTxHash
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetDelegationDetail()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::getTxHash → KILLED

16

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

17

1.1
Location : getEpoch
Killed by : none
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::getEpoch → SURVIVED

18

1.1
Location : getOutSum
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:whenStakeAddressHaveDelegation_showReturnDelegationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::getOutSum → KILLED

19

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

20

1.1
Location : getPoolId
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:whenStakeAddressHaveDelegation_showReturnDelegationDetail()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::getPoolId → KILLED

21

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

22

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

23

1.1
Location : getStakeTotalAmount
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:whenStakeAddressHaveDelegation_showReturnDelegationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeDelegationDetailResponse::getStakeTotalAmount → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2