StakeLifecycleResponse.java

1
package org.cardanofoundation.explorer.api.model.response.stake.lifecycle;
2
3
import java.math.BigInteger;
4
5
import lombok.Builder;
6
import lombok.Getter;
7
import lombok.Setter;
8
9
@Getter
10
@Setter
11 10 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse$StakeLifecycleResponseBuilder::toString → NO_COVERAGE
2. hasRegistration : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse$StakeLifecycleResponseBuilder::hasRegistration → KILLED
3. hashRewards : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse$StakeLifecycleResponseBuilder::hashRewards → KILLED
4. hasDeRegistration : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse$StakeLifecycleResponseBuilder::hasDeRegistration → KILLED
5. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::builder → KILLED
6. hasWithdrawal : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse$StakeLifecycleResponseBuilder::hasWithdrawal → KILLED
7. hasDelegation : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse$StakeLifecycleResponseBuilder::hasDelegation → KILLED
8. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse$StakeLifecycleResponseBuilder::build → KILLED
9. totalOperatorRewards : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse$StakeLifecycleResponseBuilder::totalOperatorRewards → KILLED
10. totalDelegatorRewards : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse$StakeLifecycleResponseBuilder::totalDelegatorRewards → KILLED
@Builder
12
public class StakeLifecycleResponse {
13 2 1. getHasRegistration : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasRegistration → SURVIVED
2. getHasRegistration : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasRegistration → KILLED
  private Boolean hasRegistration;
14 2 1. getHasDelegation : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasDelegation → SURVIVED
2. getHasDelegation : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasDelegation → KILLED
  private Boolean hasDelegation;
15 2 1. getHashRewards : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHashRewards → SURVIVED
2. getHashRewards : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHashRewards → KILLED
  private Boolean hashRewards;
16 2 1. getHasWithdrawal : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasWithdrawal → SURVIVED
2. getHasWithdrawal : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasWithdrawal → KILLED
  private Boolean hasWithdrawal;
17 2 1. getHasDeRegistration : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasDeRegistration → SURVIVED
2. getHasDeRegistration : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasDeRegistration → KILLED
  private Boolean hasDeRegistration;
18 1 1. getTotalOperatorRewards : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getTotalOperatorRewards → SURVIVED
  private BigInteger totalOperatorRewards;
19 1 1. getTotalDelegatorRewards : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getTotalDelegatorRewards → KILLED
  private BigInteger totalDelegatorRewards;
20
}

Mutations

11

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

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

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

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

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

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

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

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

9.9
Location : totalOperatorRewards
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:testStakeKeyLifeCycle()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse$StakeLifecycleResponseBuilder::totalOperatorRewards → KILLED

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

13

1.1
Location : getHasRegistration
Killed by : none
replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasRegistration → SURVIVED

2.2
Location : getHasRegistration
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:testGetStakeLifeCycle()]
replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasRegistration → KILLED

14

1.1
Location : getHasDelegation
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:testStakeKeyLifeCycle()]
replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasDelegation → KILLED

2.2
Location : getHasDelegation
Killed by : none
replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasDelegation → SURVIVED

15

1.1
Location : getHashRewards
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:testGetStakeLifeCycle()]
replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHashRewards → KILLED

2.2
Location : getHashRewards
Killed by : none
replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHashRewards → SURVIVED

16

1.1
Location : getHasWithdrawal
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:testStakeKeyLifeCycle()]
replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasWithdrawal → KILLED

2.2
Location : getHasWithdrawal
Killed by : none
replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasWithdrawal → SURVIVED

17

1.1
Location : getHasDeRegistration
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:testStakeKeyLifeCycle()]
replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasDeRegistration → KILLED

2.2
Location : getHasDeRegistration
Killed by : none
replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeLifecycleResponse::getHasDeRegistration → SURVIVED

18

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

19

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

Active mutators

Tests examined


Report generated by PIT 1.14.2