EpochResponse.java

1
package org.cardanofoundation.explorer.api.model.response;
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
import org.cardanofoundation.explorer.api.common.enumeration.EpochStatus;
11
12
@Getter
13
@Setter
14 14 1. account : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::account → NO_COVERAGE
2. syncingProgress : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::syncingProgress → NO_COVERAGE
3. status : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::status → NO_COVERAGE
4. rewardsDistributed : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::rewardsDistributed → NO_COVERAGE
5. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::toString → NO_COVERAGE
6. startTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::startTime → KILLED
7. blkCount : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::blkCount → KILLED
8. no : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::no → KILLED
9. endTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::endTime → KILLED
10. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse::builder → KILLED
11. outSum : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::outSum → KILLED
12. maxSlot : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::maxSlot → KILLED
13. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::build → KILLED
14. txCount : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::txCount → KILLED
@Builder
15
public class EpochResponse {
16
17 1 1. getNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/EpochResponse::getNo → KILLED
  private Integer no;
18
19 1 1. getStatus : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse::getStatus → KILLED
  private EpochStatus status;
20
21 1 1. getBlkCount : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/EpochResponse::getBlkCount → SURVIVED
  private Integer blkCount;
22
23 1 1. getOutSum : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse::getOutSum → SURVIVED
  private BigInteger outSum;
24
25 1 1. getTxCount : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/EpochResponse::getTxCount → SURVIVED
  private Integer txCount;
26
27 1 1. getStartTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse::getStartTime → KILLED
  private LocalDateTime startTime;
28
29 1 1. getEndTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse::getEndTime → KILLED
  private LocalDateTime endTime;
30
31 1 1. getMaxSlot : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/EpochResponse::getMaxSlot → KILLED
  private Integer maxSlot;
32
33 1 1. getRewardsDistributed : replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse::getRewardsDistributed → SURVIVED
  private BigInteger rewardsDistributed;
34
35 1 1. getAccount : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/EpochResponse::getAccount → KILLED
  private Integer account;
36 1 1. getSyncingProgress : replaced Double return value with 0 for org/cardanofoundation/explorer/api/model/response/EpochResponse::getSyncingProgress → KILLED
  private Double syncingProgress;
37
}

Mutations

14

1.1
Location : account
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::account → NO_COVERAGE

2.2
Location : syncingProgress
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::syncingProgress → NO_COVERAGE

3.3
Location : startTime
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetEpochDetailDone()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::startTime → KILLED

4.4
Location : status
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::status → NO_COVERAGE

5.5
Location : blkCount
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetEpochDetailDone()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::blkCount → KILLED

6.6
Location : rewardsDistributed
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::rewardsDistributed → NO_COVERAGE

7.7
Location : no
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetEpochDetailDone()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::no → KILLED

8.8
Location : endTime
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetEpochDetailDone()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::endTime → KILLED

9.9
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::toString → NO_COVERAGE

10.10
Location : builder
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetEpochDetailDone()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse::builder → KILLED

11.11
Location : outSum
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetEpochDetailDone()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::outSum → KILLED

12.12
Location : maxSlot
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetEpochDetailDone()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::maxSlot → KILLED

13.13
Location : build
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetEpochDetailDone()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::build → KILLED

14.14
Location : txCount
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetEpochDetailDone()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse$EpochResponseBuilder::txCount → KILLED

17

1.1
Location : getNo
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetAllEpoch_thenReturn()]
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/EpochResponse::getNo → KILLED

19

1.1
Location : getStatus
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetEpochDetailDone()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse::getStatus → KILLED

21

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

23

1.1
Location : getOutSum
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse::getOutSum → SURVIVED

25

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

27

1.1
Location : getStartTime
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetEpochDetailDone()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse::getStartTime → KILLED

29

1.1
Location : getEndTime
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetEpochDetail_thenReturnNotRewardDistributed()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse::getEndTime → KILLED

31

1.1
Location : getMaxSlot
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetEpochDetail_thenReturnNotRewardDistributed()]
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/EpochResponse::getMaxSlot → KILLED

33

1.1
Location : getRewardsDistributed
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/EpochResponse::getRewardsDistributed → SURVIVED

35

1.1
Location : getAccount
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetEpochDetail_thenReturnNotRewardDistributed()]
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/EpochResponse::getAccount → KILLED

36

1.1
Location : getSyncingProgress
Killed by : org.cardanofoundation.explorer.api.service.EpochServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.EpochServiceTest]/[method:testGetEpochDetail_thenReturnNotRewardDistributed()]
replaced Double return value with 0 for org/cardanofoundation/explorer/api/model/response/EpochResponse::getSyncingProgress → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2