HistoryVote.java

1
package org.cardanofoundation.explorer.api.model.response.governanceAction;
2
3
import java.util.Date;
4
5
import lombok.AllArgsConstructor;
6
import lombok.Getter;
7
import lombok.NoArgsConstructor;
8
import lombok.Setter;
9
import lombok.experimental.SuperBuilder;
10
11
import com.fasterxml.jackson.annotation.JsonIgnore;
12
13
import org.cardanofoundation.explorer.common.entity.enumeration.Vote;
14
15
@Getter
16
@Setter
17 9 1. no : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote$HistoryVoteBuilder::no → NO_COVERAGE
2. txHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote$HistoryVoteBuilder::txHash → SURVIVED
3. timestamp : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote$HistoryVoteBuilder::timestamp → SURVIVED
4. txIndex : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote$HistoryVoteBuilder::txIndex → SURVIVED
5. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote$HistoryVoteBuilder::toString → NO_COVERAGE
6. vote : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote$HistoryVoteBuilder::vote → KILLED
7. self : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote$HistoryVoteBuilderImpl::self → KILLED
8. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote$HistoryVoteBuilderImpl::build → KILLED
9. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote::builder → KILLED
@SuperBuilder
18
@AllArgsConstructor
19
@NoArgsConstructor
20
public class HistoryVote {
21 1 1. getNo : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote::getNo → SURVIVED
  Long no;
22
23 1 1. getVote : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote::getVote → SURVIVED
  Vote vote;
24
25 1 1. getTimestamp : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote::getTimestamp → SURVIVED
  Date timestamp;
26
27 1 1. getTxHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote::getTxHash → NO_COVERAGE
  @JsonIgnore String txHash;
28
29 1 1. getTxIndex : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote::getTxIndex → NO_COVERAGE
  @JsonIgnore String txIndex;
30
}

Mutations

17

1.1
Location : vote
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetVotingProcedureChart()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote$HistoryVoteBuilder::vote → KILLED

2.2
Location : self
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetVotingProcedureChart()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote$HistoryVoteBuilderImpl::self → KILLED

3.3
Location : no
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote$HistoryVoteBuilder::no → NO_COVERAGE

4.4
Location : txHash
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote$HistoryVoteBuilder::txHash → SURVIVED

5.5
Location : timestamp
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote$HistoryVoteBuilder::timestamp → SURVIVED

6.6
Location : build
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetVotingProcedureChart()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote$HistoryVoteBuilderImpl::build → KILLED

7.7
Location : txIndex
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote$HistoryVoteBuilder::txIndex → SURVIVED

8.8
Location : builder
Killed by : org.cardanofoundation.explorer.api.service.GovActionServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.GovActionServiceTest]/[method:getGovActionDetails()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote::builder → KILLED

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

21

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

23

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

25

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

27

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

29

1.1
Location : getTxIndex
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/HistoryVote::getTxIndex → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.14.2