VotingProcedureChartResponse.java

1
package org.cardanofoundation.explorer.api.model.response.drep;
2
3
import lombok.AllArgsConstructor;
4
import lombok.Builder;
5
import lombok.Getter;
6
import lombok.NoArgsConstructor;
7
import lombok.Setter;
8
9
import org.cardanofoundation.explorer.common.entity.enumeration.GovActionType;
10
11
@Getter
12
@Setter
13 8 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse$VotingProcedureChartResponseBuilder::toString → NO_COVERAGE
2. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse::builder → KILLED
3. numberOfYesVote : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse$VotingProcedureChartResponseBuilder::numberOfYesVote → KILLED
4. numberOfAbstainVotes : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse$VotingProcedureChartResponseBuilder::numberOfAbstainVotes → KILLED
5. numberOfNoVotes : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse$VotingProcedureChartResponseBuilder::numberOfNoVotes → KILLED
6. govActionType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse$VotingProcedureChartResponseBuilder::govActionType → KILLED
7. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse$VotingProcedureChartResponseBuilder::build → KILLED
8. dRepHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse$VotingProcedureChartResponseBuilder::dRepHash → KILLED
@Builder
14
@AllArgsConstructor
15
@NoArgsConstructor
16
public class VotingProcedureChartResponse {
17 1 1. getDRepHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse::getDRepHash → KILLED
  private String dRepHash;
18
19 1 1. getGovActionType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse::getGovActionType → SURVIVED
  private GovActionType govActionType;
20
21 1 1. getNumberOfYesVote : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse::getNumberOfYesVote → KILLED
  private Long numberOfYesVote;
22 1 1. getNumberOfNoVotes : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse::getNumberOfNoVotes → KILLED
  private Long numberOfNoVotes;
23 1 1. getNumberOfAbstainVotes : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse::getNumberOfAbstainVotes → KILLED
  private Long numberOfAbstainVotes;
24
}

Mutations

13

1.1
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse$VotingProcedureChartResponseBuilder::toString → NO_COVERAGE

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

3.3
Location : numberOfYesVote
Killed by : org.cardanofoundation.explorer.api.controller.DrepControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.DrepControllerTest]/[method:testGetChartDRepVoteOnGovernanceAction()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse$VotingProcedureChartResponseBuilder::numberOfYesVote → KILLED

4.4
Location : numberOfAbstainVotes
Killed by : org.cardanofoundation.explorer.api.controller.DrepControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.DrepControllerTest]/[method:testGetChartDRepVoteOnGovernanceAction()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse$VotingProcedureChartResponseBuilder::numberOfAbstainVotes → KILLED

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

6.6
Location : govActionType
Killed by : org.cardanofoundation.explorer.api.controller.DrepControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.DrepControllerTest]/[method:testGetChartDRepVoteOnGovernanceAction()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse$VotingProcedureChartResponseBuilder::govActionType → KILLED

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

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

17

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

19

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

21

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

22

1.1
Location : getNumberOfNoVotes
Killed by : org.cardanofoundation.explorer.api.service.DRepServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DRepServiceTest]/[method:testGetVoteProcedureChart()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse::getNumberOfNoVotes → KILLED

23

1.1
Location : getNumberOfAbstainVotes
Killed by : org.cardanofoundation.explorer.api.service.DRepServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DRepServiceTest]/[method:testGetVoteProcedureChart()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/drep/VotingProcedureChartResponse::getNumberOfAbstainVotes → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2