InstantaneousRewardsResponse.java

1
package org.cardanofoundation.explorer.api.model.response;
2
3
import java.math.BigInteger;
4
import java.time.LocalDateTime;
5
6
import lombok.*;
7
8
@Getter
9
@Setter
10 11 1. time : replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::time → NO_COVERAGE
2. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse::builder → NO_COVERAGE
3. blockNo : replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::blockNo → NO_COVERAGE
4. slotNo : replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::slotNo → NO_COVERAGE
5. txHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::txHash → NO_COVERAGE
6. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::toString → NO_COVERAGE
7. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::build → NO_COVERAGE
8. epochNo : replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::epochNo → NO_COVERAGE
9. epochSlotNo : replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::epochSlotNo → NO_COVERAGE
10. rewards : replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::rewards → NO_COVERAGE
11. numberOfStakes : replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::numberOfStakes → NO_COVERAGE
@Builder
11
@AllArgsConstructor
12
@NoArgsConstructor
13
public class InstantaneousRewardsResponse {
14 1 1. getTxHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse::getTxHash → SURVIVED
  private String txHash;
15 1 1. getTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse::getTime → SURVIVED
  private LocalDateTime time;
16 1 1. getBlockNo : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse::getBlockNo → SURVIVED
  private Long blockNo;
17 1 1. getEpochNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse::getEpochNo → SURVIVED
  private Integer epochNo;
18 1 1. getEpochSlotNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse::getEpochSlotNo → SURVIVED
  private Integer epochSlotNo;
19 1 1. getSlotNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse::getSlotNo → SURVIVED
  private Integer slotNo;
20 1 1. getNumberOfStakes : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse::getNumberOfStakes → SURVIVED
  private Long numberOfStakes;
21 1 1. getRewards : replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse::getRewards → SURVIVED
  private BigInteger rewards;
22
}

Mutations

10

1.1
Location : time
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::time → NO_COVERAGE

2.2
Location : builder
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse::builder → NO_COVERAGE

3.3
Location : blockNo
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::blockNo → NO_COVERAGE

4.4
Location : slotNo
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::slotNo → NO_COVERAGE

5.5
Location : txHash
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::txHash → NO_COVERAGE

6.6
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::toString → NO_COVERAGE

7.7
Location : build
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::build → NO_COVERAGE

8.8
Location : epochNo
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::epochNo → NO_COVERAGE

9.9
Location : epochSlotNo
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::epochSlotNo → NO_COVERAGE

10.10
Location : rewards
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::rewards → NO_COVERAGE

11.11
Location : numberOfStakes
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse$InstantaneousRewardsResponseBuilder::numberOfStakes → NO_COVERAGE

14

1.1
Location : getTxHash
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/InstantaneousRewardsResponse::getTxHash → SURVIVED

15

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

16

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

17

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

18

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

19

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

20

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

21

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

Active mutators

Tests examined


Report generated by PIT 1.14.2