DRepCertificateHistory.java

1
package org.cardanofoundation.explorer.api.model.response.drep;
2
3
import static org.cardanofoundation.explorer.api.config.JacksonMapperDateConfig.DATE_TIME_FORMAT;
4
5
import java.sql.Date;
6
7
import lombok.AllArgsConstructor;
8
import lombok.Getter;
9
import lombok.NoArgsConstructor;
10
import lombok.Setter;
11
import lombok.experimental.SuperBuilder;
12
13
import com.fasterxml.jackson.annotation.JsonFormat;
14
import com.fasterxml.jackson.annotation.JsonIgnore;
15
16
import org.cardanofoundation.explorer.common.entity.enumeration.DRepActionType;
17
18
@Getter
19
@Setter
20 12 1. self : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilderImpl::self → NO_COVERAGE
2. type : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::type → SURVIVED
3. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilderImpl::build → NO_COVERAGE
4. txIndex : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::txIndex → SURVIVED
5. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::toString → NO_COVERAGE
6. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory::builder → NO_COVERAGE
7. slotNo : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::slotNo → KILLED
8. createdAt : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::createdAt → KILLED
9. txHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::txHash → KILLED
10. epochNo : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::epochNo → KILLED
11. blockNo : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::blockNo → KILLED
12. absoluteSlot : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::absoluteSlot → KILLED
@SuperBuilder
21
@AllArgsConstructor
22
@NoArgsConstructor
23
public class DRepCertificateHistory {
24 1 1. getTxHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory::getTxHash → KILLED
  String txHash;
25
26 1 1. getTxIndex : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory::getTxIndex → NO_COVERAGE
  @JsonIgnore Long txIndex;
27
28 1 1. getType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory::getType → NO_COVERAGE
  @JsonIgnore DRepActionType type;
29
30 1 1. getBlockNo : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory::getBlockNo → KILLED
  Long blockNo;
31
32 1 1. getSlotNo : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory::getSlotNo → SURVIVED
  Long slotNo;
33
34 1 1. getEpochNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory::getEpochNo → SURVIVED
  Integer epochNo;
35
36
  @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DATE_TIME_FORMAT)
37 1 1. getCreatedAt : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory::getCreatedAt → SURVIVED
  Date createdAt;
38
39 1 1. getAbsoluteSlot : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory::getAbsoluteSlot → SURVIVED
  Long absoluteSlot;
40
}

Mutations

20

1.1
Location : self
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilderImpl::self → NO_COVERAGE

2.2
Location : slotNo
Killed by : org.cardanofoundation.explorer.api.controller.DrepControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.DrepControllerTest]/[method:testGetTxDRepCertificatesHistory_withoutPagable()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::slotNo → KILLED

3.3
Location : type
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::type → SURVIVED

4.4
Location : build
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilderImpl::build → NO_COVERAGE

5.5
Location : createdAt
Killed by : org.cardanofoundation.explorer.api.controller.DrepControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.DrepControllerTest]/[method:testGetTxDRepCertificatesHistory()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::createdAt → KILLED

6.6
Location : txIndex
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::txIndex → SURVIVED

7.7
Location : txHash
Killed by : org.cardanofoundation.explorer.api.controller.DrepControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.DrepControllerTest]/[method:testGetTxDRepCertificatesHistory_withoutPagable()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::txHash → KILLED

8.8
Location : epochNo
Killed by : org.cardanofoundation.explorer.api.controller.DrepControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.DrepControllerTest]/[method:testGetTxDRepCertificatesHistory_withoutPagable()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::epochNo → KILLED

9.9
Location : blockNo
Killed by : org.cardanofoundation.explorer.api.controller.DrepControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.DrepControllerTest]/[method:testGetTxDRepCertificatesHistory_withoutPagable()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::blockNo → KILLED

10.10
Location : absoluteSlot
Killed by : org.cardanofoundation.explorer.api.controller.DrepControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.DrepControllerTest]/[method:testGetTxDRepCertificatesHistory_withoutPagable()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::absoluteSlot → KILLED

11.11
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory$DRepCertificateHistoryBuilder::toString → NO_COVERAGE

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

24

1.1
Location : getTxHash
Killed by : org.cardanofoundation.explorer.api.controller.DrepControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.DrepControllerTest]/[method:testGetTxDRepCertificatesHistory_withoutPagable()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory::getTxHash → KILLED

26

1.1
Location : getTxIndex
Killed by : none
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory::getTxIndex → NO_COVERAGE

28

1.1
Location : getType
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory::getType → NO_COVERAGE

30

1.1
Location : getBlockNo
Killed by : org.cardanofoundation.explorer.api.controller.DrepControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.DrepControllerTest]/[method:testGetTxDRepCertificatesHistory_withoutPagable()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/drep/DRepCertificateHistory::getBlockNo → KILLED

32

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

34

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

37

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

39

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

Active mutators

Tests examined


Report generated by PIT 1.14.2