BlockSyncInfo.java

1
package org.cardanofoundation.explorer.api.event.blocksync;
2
3
import lombok.Builder;
4
import lombok.Getter;
5
import lombok.Setter;
6
7
import org.cardanofoundation.explorer.api.model.response.dashboard.EpochSummary;
8
9
@Getter
10
@Setter
11 7 1. build : replaced return value with null for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo$BlockSyncInfoBuilder::build → SURVIVED
2. toString : replaced return value with "" for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo$BlockSyncInfoBuilder::toString → NO_COVERAGE
3. builder : replaced return value with null for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo::builder → KILLED
4. hasTx : replaced return value with null for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo$BlockSyncInfoBuilder::hasTx → KILLED
5. blockHash : replaced return value with null for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo$BlockSyncInfoBuilder::blockHash → KILLED
6. blockNo : replaced return value with null for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo$BlockSyncInfoBuilder::blockNo → KILLED
7. epochSummary : replaced return value with null for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo$BlockSyncInfoBuilder::epochSummary → KILLED
@Builder
12
public class BlockSyncInfo {
13 1 1. getBlockNo : replaced long return with 0 for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo::getBlockNo → SURVIVED
  private long blockNo;
14 1 1. getBlockHash : replaced return value with "" for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo::getBlockHash → SURVIVED
  private String blockHash;
15 1 1. getEpochSummary : replaced return value with null for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo::getEpochSummary → SURVIVED
  private EpochSummary epochSummary;
16 2 1. isHasTx : replaced boolean return with true for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo::isHasTx → SURVIVED
2. isHasTx : replaced boolean return with false for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo::isHasTx → SURVIVED
  private boolean hasTx;
17
}

Mutations

11

1.1
Location : build
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo$BlockSyncInfoBuilder::build → SURVIVED

2.2
Location : builder
Killed by : org.cardanofoundation.explorer.api.service.WebSocketServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.WebSocketServiceTest]/[method:getCurrentBlockInfoMessage_shouldReturnResponse()]
replaced return value with null for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo::builder → KILLED

3.3
Location : hasTx
Killed by : org.cardanofoundation.explorer.api.service.WebSocketServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.WebSocketServiceTest]/[method:getCurrentBlockInfoMessage_shouldReturnResponse()]
replaced return value with null for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo$BlockSyncInfoBuilder::hasTx → KILLED

4.4
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo$BlockSyncInfoBuilder::toString → NO_COVERAGE

5.5
Location : blockHash
Killed by : org.cardanofoundation.explorer.api.service.WebSocketServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.WebSocketServiceTest]/[method:getCurrentBlockInfoMessage_shouldReturnResponse()]
replaced return value with null for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo$BlockSyncInfoBuilder::blockHash → KILLED

6.6
Location : blockNo
Killed by : org.cardanofoundation.explorer.api.service.WebSocketServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.WebSocketServiceTest]/[method:getCurrentBlockInfoMessage_shouldReturnResponse()]
replaced return value with null for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo$BlockSyncInfoBuilder::blockNo → KILLED

7.7
Location : epochSummary
Killed by : org.cardanofoundation.explorer.api.service.WebSocketServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.WebSocketServiceTest]/[method:getCurrentBlockInfoMessage_shouldReturnResponse()]
replaced return value with null for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo$BlockSyncInfoBuilder::epochSummary → KILLED

13

1.1
Location : getBlockNo
Killed by : none
replaced long return with 0 for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo::getBlockNo → SURVIVED

14

1.1
Location : getBlockHash
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo::getBlockHash → SURVIVED

15

1.1
Location : getEpochSummary
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo::getEpochSummary → SURVIVED

16

1.1
Location : isHasTx
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo::isHasTx → SURVIVED

2.2
Location : isHasTx
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/event/blocksync/BlockSyncInfo::isHasTx → SURVIVED

Active mutators

Tests examined


Report generated by PIT 1.14.2