DelegationHeaderResponse.java

1
package org.cardanofoundation.explorer.api.model.response.pool;
2
3
import java.io.Serializable;
4
import java.math.BigInteger;
5
6
import lombok.*;
7
8
@Getter
9
@Setter
10 10 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::toString → NO_COVERAGE
2. retiredPools : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::retiredPools → KILLED
3. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::builder → KILLED
4. activePools : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::activePools → KILLED
5. epochSlotNo : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::epochSlotNo → KILLED
6. delegators : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::delegators → KILLED
7. countDownEndTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::countDownEndTime → KILLED
8. epochNo : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::epochNo → KILLED
9. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::build → KILLED
10. liveStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::liveStake → KILLED
@Builder
11
@AllArgsConstructor
12
@NoArgsConstructor
13
public class DelegationHeaderResponse implements Serializable {
14
15 1 1. getEpochNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::getEpochNo → KILLED
  private Integer epochNo;
16
17 1 1. getCountDownEndTime : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::getCountDownEndTime → SURVIVED
  private Long countDownEndTime;
18
19 1 1. getEpochSlotNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::getEpochSlotNo → SURVIVED
  private Integer epochSlotNo;
20
21 1 1. getLiveStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::getLiveStake → KILLED
  private BigInteger liveStake;
22
23 1 1. getDelegators : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::getDelegators → KILLED
  private Integer delegators;
24
25 1 1. getActivePools : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::getActivePools → SURVIVED
  private Integer activePools;
26
27 1 1. getRetiredPools : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::getRetiredPools → SURVIVED
  private Integer retiredPools;
28
}

Mutations

10

1.1
Location : retiredPools
Killed by : org.cardanofoundation.explorer.api.service.DelegationServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DelegationServiceTest]/[method:testGetDataForDelegationHeader_shouldReturnRedisIsNull()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::retiredPools → KILLED

2.2
Location : builder
Killed by : org.cardanofoundation.explorer.api.service.DelegationServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DelegationServiceTest]/[method:testGetDataForDelegationHeader_shouldReturnRedisIsNull()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::builder → KILLED

3.3
Location : activePools
Killed by : org.cardanofoundation.explorer.api.service.DelegationServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DelegationServiceTest]/[method:testGetDataForDelegationHeader_shouldReturnRedisIsNull()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::activePools → KILLED

4.4
Location : epochSlotNo
Killed by : org.cardanofoundation.explorer.api.service.DelegationServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DelegationServiceTest]/[method:testGetDataForDelegationHeader_shouldReturnRedisIsNull()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::epochSlotNo → KILLED

5.5
Location : delegators
Killed by : org.cardanofoundation.explorer.api.service.DelegationServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DelegationServiceTest]/[method:testGetDataForDelegationHeader_shouldReturnRedisIsNull()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::delegators → KILLED

6.6
Location : countDownEndTime
Killed by : org.cardanofoundation.explorer.api.service.DelegationServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DelegationServiceTest]/[method:testGetDataForDelegationHeader_shouldReturnRedisIsNull()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::countDownEndTime → KILLED

7.7
Location : epochNo
Killed by : org.cardanofoundation.explorer.api.service.DelegationServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DelegationServiceTest]/[method:testGetDataForDelegationHeader_shouldReturnRedisIsNull()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::epochNo → KILLED

8.8
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::toString → NO_COVERAGE

9.9
Location : build
Killed by : org.cardanofoundation.explorer.api.service.DelegationServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DelegationServiceTest]/[method:testGetDataForDelegationHeader_shouldReturnRedisIsNull()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::build → KILLED

10.10
Location : liveStake
Killed by : org.cardanofoundation.explorer.api.service.DelegationServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DelegationServiceTest]/[method:testGetDataForDelegationHeader_shouldReturnRedisIsNull()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse$DelegationHeaderResponseBuilder::liveStake → KILLED

15

1.1
Location : getEpochNo
Killed by : org.cardanofoundation.explorer.api.service.DelegationServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DelegationServiceTest]/[method:testGetDataForDelegationHeader_shouldReturnRedisIsNull()]
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::getEpochNo → KILLED

17

1.1
Location : getCountDownEndTime
Killed by : none
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::getCountDownEndTime → SURVIVED

19

1.1
Location : getEpochSlotNo
Killed by : none
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::getEpochSlotNo → SURVIVED

21

1.1
Location : getLiveStake
Killed by : org.cardanofoundation.explorer.api.service.DelegationServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DelegationServiceTest]/[method:testGetDataForDelegationHeader_shouldReturn()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::getLiveStake → KILLED

23

1.1
Location : getDelegators
Killed by : org.cardanofoundation.explorer.api.service.DelegationServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DelegationServiceTest]/[method:testGetDataForDelegationHeader_shouldReturnV2()]
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::getDelegators → KILLED

25

1.1
Location : getActivePools
Killed by : none
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::getActivePools → SURVIVED

27

1.1
Location : getRetiredPools
Killed by : none
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/pool/DelegationHeaderResponse::getRetiredPools → SURVIVED

Active mutators

Tests examined


Report generated by PIT 1.14.2