StakeRegistrationDetailResponse.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 8 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse$StakeRegistrationDetailResponseBuilder::toString → NO_COVERAGE
2. deposit : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse$StakeRegistrationDetailResponseBuilder::deposit → KILLED
3. joinDepositPaid : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse$StakeRegistrationDetailResponseBuilder::joinDepositPaid → KILLED
4. time : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse$StakeRegistrationDetailResponseBuilder::time → KILLED
5. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse$StakeRegistrationDetailResponseBuilder::build → KILLED
6. fee : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse$StakeRegistrationDetailResponseBuilder::fee → KILLED
7. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse::builder → KILLED
8. txHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse$StakeRegistrationDetailResponseBuilder::txHash → KILLED
@Builder
13
public class StakeRegistrationDetailResponse {
14
15 1 1. getTxHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse::getTxHash → KILLED
  private String txHash;
16 1 1. getFee : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse::getFee → KILLED
  private BigInteger fee;
17 1 1. getDeposit : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse::getDeposit → KILLED
  private Long deposit;
18 1 1. getTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse::getTime → SURVIVED
  private LocalDateTime time;
19 2 1. isJoinDepositPaid : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse::isJoinDepositPaid → KILLED
2. isJoinDepositPaid : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse::isJoinDepositPaid → KILLED
  private boolean joinDepositPaid;
20
}

Mutations

12

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

2.2
Location : joinDepositPaid
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:whenStakeAddressAndTxHashHaveDeRegistrationAndCountGreaterThanOneAndValueNotPositive_showReturnDeRegistrationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse$StakeRegistrationDetailResponseBuilder::joinDepositPaid → KILLED

3.3
Location : time
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:whenStakeAddressAndTxHashHaveDeRegistrationAndCountGreaterThanOneAndValueNotPositive_showReturnDeRegistrationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse$StakeRegistrationDetailResponseBuilder::time → KILLED

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

5.5
Location : build
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:whenStakeAddressAndTxHashHaveDeRegistrationAndCountGreaterThanOneAndValueNotPositive_showReturnDeRegistrationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse$StakeRegistrationDetailResponseBuilder::build → KILLED

6.6
Location : fee
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:whenStakeAddressAndTxHashHaveDeRegistrationAndCountGreaterThanOneAndValueNotPositive_showReturnDeRegistrationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse$StakeRegistrationDetailResponseBuilder::fee → KILLED

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

8.8
Location : txHash
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:whenStakeAddressAndTxHashHaveDeRegistrationAndCountGreaterThanOneAndValueNotPositive_showReturnDeRegistrationDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse$StakeRegistrationDetailResponseBuilder::txHash → KILLED

15

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

16

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

17

1.1
Location : getDeposit
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:whenStakeAddressAndTxHashHaveDeRegistrationAndCountGreaterThanOneAndValueNotPositive_showReturnDeRegistrationDetail()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse::getDeposit → KILLED

18

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

19

1.1
Location : isJoinDepositPaid
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:whenStakeAddressAndTxHashHaveDeRegistrationAndCountEqualOne_showReturnDeRegistrationDetail()]
replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse::isJoinDepositPaid → KILLED

2.2
Location : isJoinDepositPaid
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:whenStakeAddressAndTxHashHaveDeRegistrationAndCountGreaterThanOneAndValueNotPositive_showReturnDeRegistrationDetail()]
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRegistrationDetailResponse::isJoinDepositPaid → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2