StakeAddressRewardDistribution.java

1
package org.cardanofoundation.explorer.api.model.response.address;
2
3
import java.math.BigInteger;
4
5
import lombok.AllArgsConstructor;
6
import lombok.Builder;
7
import lombok.Getter;
8
import lombok.NoArgsConstructor;
9
import lombok.Setter;
10
11
@Getter
12
@Setter
13 7 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution$StakeAddressRewardDistributionBuilder::toString → NO_COVERAGE
2. rewardAvailable : replaced return value with null for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution$StakeAddressRewardDistributionBuilder::rewardAvailable → NO_COVERAGE
3. hasLeaderReward : replaced return value with null for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution$StakeAddressRewardDistributionBuilder::hasLeaderReward → KILLED
4. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution$StakeAddressRewardDistributionBuilder::build → KILLED
5. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution::builder → KILLED
6. hasMemberReward : replaced return value with null for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution$StakeAddressRewardDistributionBuilder::hasMemberReward → KILLED
7. stakeAddress : replaced return value with null for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution$StakeAddressRewardDistributionBuilder::stakeAddress → KILLED
@Builder
14
@NoArgsConstructor
15
@AllArgsConstructor
16
public class StakeAddressRewardDistribution {
17 1 1. getStakeAddress : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution::getStakeAddress → KILLED
  private String stakeAddress;
18 1 1. getRewardAvailable : replaced return value with null for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution::getRewardAvailable → KILLED
  private BigInteger rewardAvailable;
19 2 1. isHasMemberReward : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution::isHasMemberReward → KILLED
2. isHasMemberReward : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution::isHasMemberReward → KILLED
  private boolean hasMemberReward;
20 2 1. isHasLeaderReward : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution::isHasLeaderReward → SURVIVED
2. isHasLeaderReward : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution::isHasLeaderReward → KILLED
  private boolean hasLeaderReward;
21
}

Mutations

13

1.1
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution$StakeAddressRewardDistributionBuilder::toString → NO_COVERAGE

2.2
Location : hasLeaderReward
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyControllerTest]/[method:testGetStakeAddressRewardDistributionInfo()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution$StakeAddressRewardDistributionBuilder::hasLeaderReward → KILLED

3.3
Location : build
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyControllerTest]/[method:testGetStakeAddressRewardDistributionInfo()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution$StakeAddressRewardDistributionBuilder::build → KILLED

4.4
Location : builder
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyControllerTest]/[method:testGetStakeAddressRewardDistributionInfo()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution::builder → KILLED

5.5
Location : rewardAvailable
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution$StakeAddressRewardDistributionBuilder::rewardAvailable → NO_COVERAGE

6.6
Location : hasMemberReward
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyControllerTest]/[method:testGetStakeAddressRewardDistributionInfo()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution$StakeAddressRewardDistributionBuilder::hasMemberReward → KILLED

7.7
Location : stakeAddress
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyControllerTest]/[method:testGetStakeAddressRewardDistributionInfo()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution$StakeAddressRewardDistributionBuilder::stakeAddress → KILLED

17

1.1
Location : getStakeAddress
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyServiceTest]/[method:getStakeAddressRewardDistributionInfo_whenRewardDataNotAvailable_shouldNotReturnRewardData()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution::getStakeAddress → KILLED

18

1.1
Location : getRewardAvailable
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyServiceTest]/[method:testRewardDistribution_thenReturnNoType()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution::getRewardAvailable → KILLED

19

1.1
Location : isHasMemberReward
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyServiceTest]/[method:testRewardDistribution_thenReturnNoType()]
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution::isHasMemberReward → KILLED

2.2
Location : isHasMemberReward
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyServiceTest]/[method:getStakeAddressRewardDistributionInfo_whenRewardDataAvailable_shouldReturnRewardData()]
replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution::isHasMemberReward → KILLED

20

1.1
Location : isHasLeaderReward
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyServiceTest]/[method:testRewardDistribution_thenReturnNoType()]
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution::isHasLeaderReward → KILLED

2.2
Location : isHasLeaderReward
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/address/StakeAddressRewardDistribution::isHasLeaderReward → SURVIVED

Active mutators

Tests examined


Report generated by PIT 1.14.2