StakeRewardActivityResponse.java

1
package org.cardanofoundation.explorer.api.model.response.stake.lifecycle;
2
3
import java.io.Serializable;
4
import java.math.BigInteger;
5
import java.util.Date;
6
7
import lombok.AllArgsConstructor;
8
import lombok.Builder;
9
import lombok.Getter;
10
import lombok.NoArgsConstructor;
11
import lombok.Setter;
12
13
import org.cardanofoundation.explorer.api.common.enumeration.StakeRewardType;
14
15
@Getter
16
@Setter
17 7 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRewardActivityResponse$StakeRewardActivityResponseBuilder::toString → NO_COVERAGE
2. epochNo : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRewardActivityResponse$StakeRewardActivityResponseBuilder::epochNo → KILLED
3. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRewardActivityResponse$StakeRewardActivityResponseBuilder::build → KILLED
4. amount : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRewardActivityResponse$StakeRewardActivityResponseBuilder::amount → KILLED
5. type : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRewardActivityResponse$StakeRewardActivityResponseBuilder::type → KILLED
6. time : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRewardActivityResponse$StakeRewardActivityResponseBuilder::time → KILLED
7. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRewardActivityResponse::builder → KILLED
@Builder
18
@NoArgsConstructor
19
@AllArgsConstructor
20
public class StakeRewardActivityResponse implements Serializable {
21
22 1 1. getEpochNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRewardActivityResponse::getEpochNo → KILLED
  private Integer epochNo;
23 1 1. getAmount : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRewardActivityResponse::getAmount → KILLED
  private BigInteger amount;
24 1 1. getTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRewardActivityResponse::getTime → SURVIVED
  private Date time;
25 1 1. getType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRewardActivityResponse::getType → KILLED
  private StakeRewardType type;
26
}

Mutations

17

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

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

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

4.4
Location : amount
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:getStakeRewardActivities_whenRewardAvailable_shouldReturnRewardData()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRewardActivityResponse$StakeRewardActivityResponseBuilder::amount → KILLED

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

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

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

22

1.1
Location : getEpochNo
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:testGetRewardActivities()]
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeRewardActivityResponse::getEpochNo → KILLED

23

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

24

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

25

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

Active mutators

Tests examined


Report generated by PIT 1.14.2