VotingChartResponse.java

1
package org.cardanofoundation.explorer.api.model.response.governanceAction;
2
3
import java.math.BigInteger;
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 org.cardanofoundation.explorer.common.entity.enumeration.VoterType;
12
13
@Getter
14
@Setter
15 16 1. yesCcMembers : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::yesCcMembers → NO_COVERAGE
2. abstainCcMembers : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::abstainCcMembers → NO_COVERAGE
3. threshold : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::threshold → NO_COVERAGE
4. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::toString → NO_COVERAGE
5. ccMembers : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::ccMembers → NO_COVERAGE
6. noCcMembers : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::noCcMembers → NO_COVERAGE
7. voterType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::voterType → NO_COVERAGE
8. activeVoteStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::activeVoteStake → KILLED
9. abstainVoteStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::abstainVoteStake → KILLED
10. txHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::txHash → KILLED
11. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilderImpl::build → KILLED
12. totalNoVoteStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::totalNoVoteStake → KILLED
13. index : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::index → KILLED
14. totalYesVoteStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::totalYesVoteStake → KILLED
15. self : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilderImpl::self → KILLED
16. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::builder → KILLED
@SuperBuilder
16
@AllArgsConstructor
17
@NoArgsConstructor
18
public class VotingChartResponse {
19 1 1. getTxHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getTxHash → KILLED
  String txHash;
20 1 1. getIndex : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getIndex → SURVIVED
  Integer index;
21 1 1. getVoterType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getVoterType → SURVIVED
  VoterType voterType;
22
23 1 1. getActiveVoteStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getActiveVoteStake → KILLED
  BigInteger activeVoteStake;
24 1 1. getAbstainVoteStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getAbstainVoteStake → KILLED
  BigInteger abstainVoteStake;
25 1 1. getTotalYesVoteStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getTotalYesVoteStake → KILLED
  BigInteger totalYesVoteStake;
26 1 1. getTotalNoVoteStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getTotalNoVoteStake → KILLED
  BigInteger totalNoVoteStake;
27
28 1 1. getThreshold : replaced Double return value with 0 for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getThreshold → KILLED
  Double threshold;
29
30 1 1. getCcMembers : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getCcMembers → KILLED
  Long ccMembers;
31 1 1. getAbstainCcMembers : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getAbstainCcMembers → KILLED
  Long abstainCcMembers;
32 1 1. getYesCcMembers : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getYesCcMembers → KILLED
  Long yesCcMembers;
33 1 1. getNoCcMembers : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getNoCcMembers → KILLED
  Long noCcMembers;
34
}

Mutations

15

1.1
Location : yesCcMembers
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::yesCcMembers → NO_COVERAGE

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

3.3
Location : abstainVoteStake
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:getVotingChartByGovAction()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::abstainVoteStake → KILLED

4.4
Location : txHash
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:getVotingChartByGovAction()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::txHash → KILLED

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

6.6
Location : abstainCcMembers
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::abstainCcMembers → NO_COVERAGE

7.7
Location : threshold
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::threshold → NO_COVERAGE

8.8
Location : totalNoVoteStake
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:getVotingChartByGovAction()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::totalNoVoteStake → KILLED

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

10.10
Location : index
Killed by : org.cardanofoundation.explorer.api.service.GovActionServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.GovActionServiceTest]/[method:testGetVotingChartByGovActionTxHashAndIndex_withCCType()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::index → KILLED

11.11
Location : totalYesVoteStake
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:getVotingChartByGovAction()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::totalYesVoteStake → KILLED

12.12
Location : ccMembers
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::ccMembers → NO_COVERAGE

13.13
Location : noCcMembers
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::noCcMembers → NO_COVERAGE

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

15.15
Location : voterType
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse$VotingChartResponseBuilder::voterType → NO_COVERAGE

16.16
Location : builder
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:getVotingChartByGovAction()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::builder → KILLED

19

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

20

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

21

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

23

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

24

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

25

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

26

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

28

1.1
Location : getThreshold
Killed by : org.cardanofoundation.explorer.api.service.GovActionServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.GovActionServiceTest]/[method:testGetVotingChartByGovActionTxHashAndIndex()]
replaced Double return value with 0 for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getThreshold → KILLED

30

1.1
Location : getCcMembers
Killed by : org.cardanofoundation.explorer.api.service.GovActionServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.GovActionServiceTest]/[method:testGetVotingChartByGovActionTxHashAndIndex_withCCType()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getCcMembers → KILLED

31

1.1
Location : getAbstainCcMembers
Killed by : org.cardanofoundation.explorer.api.service.GovActionServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.GovActionServiceTest]/[method:testGetVotingChartByGovActionTxHashAndIndex_withCCType()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getAbstainCcMembers → KILLED

32

1.1
Location : getYesCcMembers
Killed by : org.cardanofoundation.explorer.api.service.GovActionServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.GovActionServiceTest]/[method:testGetVotingChartByGovActionTxHashAndIndex_withCCType()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getYesCcMembers → KILLED

33

1.1
Location : getNoCcMembers
Killed by : org.cardanofoundation.explorer.api.service.GovActionServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.GovActionServiceTest]/[method:testGetVotingChartByGovActionTxHashAndIndex_withCCType()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChartResponse::getNoCcMembers → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2