VotingChart.java

1
package org.cardanofoundation.explorer.api.model.response.governanceAction;
2
3
import lombok.AllArgsConstructor;
4
import lombok.Getter;
5
import lombok.NoArgsConstructor;
6
import lombok.Setter;
7
import lombok.experimental.SuperBuilder;
8
9
import org.cardanofoundation.explorer.common.entity.enumeration.VoterType;
10
11
@Getter
12
@Setter
13 8 1. numberOfAbstainVotes : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart$VotingChartBuilder::numberOfAbstainVotes → NO_COVERAGE
2. self : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart$VotingChartBuilderImpl::self → NO_COVERAGE
3. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart$VotingChartBuilder::toString → NO_COVERAGE
4. numberOfYesVote : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart$VotingChartBuilder::numberOfYesVote → NO_COVERAGE
5. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart::builder → NO_COVERAGE
6. numberOfNoVotes : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart$VotingChartBuilder::numberOfNoVotes → NO_COVERAGE
7. voterType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart$VotingChartBuilder::voterType → NO_COVERAGE
8. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart$VotingChartBuilderImpl::build → NO_COVERAGE
@SuperBuilder
14
@AllArgsConstructor
15
@NoArgsConstructor
16
public class VotingChart {
17 1 1. getVoterType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart::getVoterType → NO_COVERAGE
  VoterType voterType;
18 1 1. getNumberOfYesVote : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart::getNumberOfYesVote → NO_COVERAGE
  private Long numberOfYesVote;
19 1 1. getNumberOfNoVotes : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart::getNumberOfNoVotes → NO_COVERAGE
  private Long numberOfNoVotes;
20 1 1. getNumberOfAbstainVotes : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart::getNumberOfAbstainVotes → NO_COVERAGE
  private Long numberOfAbstainVotes;
21
}

Mutations

13

1.1
Location : numberOfAbstainVotes
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart$VotingChartBuilder::numberOfAbstainVotes → NO_COVERAGE

2.2
Location : self
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart$VotingChartBuilderImpl::self → NO_COVERAGE

3.3
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart$VotingChartBuilder::toString → NO_COVERAGE

4.4
Location : numberOfYesVote
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart$VotingChartBuilder::numberOfYesVote → NO_COVERAGE

5.5
Location : builder
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart::builder → NO_COVERAGE

6.6
Location : numberOfNoVotes
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart$VotingChartBuilder::numberOfNoVotes → NO_COVERAGE

7.7
Location : voterType
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart$VotingChartBuilder::voterType → NO_COVERAGE

8.8
Location : build
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart$VotingChartBuilderImpl::build → NO_COVERAGE

17

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

18

1.1
Location : getNumberOfYesVote
Killed by : none
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart::getNumberOfYesVote → NO_COVERAGE

19

1.1
Location : getNumberOfNoVotes
Killed by : none
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart::getNumberOfNoVotes → NO_COVERAGE

20

1.1
Location : getNumberOfAbstainVotes
Killed by : none
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/VotingChart::getNumberOfAbstainVotes → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.14.2