GovernanceActionRequest.java

1
package org.cardanofoundation.explorer.api.model.request.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
@NoArgsConstructor
14
@AllArgsConstructor
15 7 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionRequest$GovernanceActionRequestBuilder::toString → NO_COVERAGE
2. index : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionRequest$GovernanceActionRequestBuilder::index → KILLED
3. txHash : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionRequest$GovernanceActionRequestBuilder::txHash → KILLED
4. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionRequest::builder → KILLED
5. voterType : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionRequest$GovernanceActionRequestBuilder::voterType → KILLED
6. build : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionRequest$GovernanceActionRequestBuilderImpl::build → KILLED
7. self : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionRequest$GovernanceActionRequestBuilderImpl::self → KILLED
@SuperBuilder
16
public class GovernanceActionRequest {
17 1 1. getTxHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionRequest::getTxHash → KILLED
  String txHash;
18
19 1 1. getIndex : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionRequest::getIndex → SURVIVED
  Integer index;
20
21 1 1. getVoterType : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionRequest::getVoterType → KILLED
  VoterType voterType;
22
}

Mutations

15

1.1
Location : index
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/request/governanceAction/GovernanceActionRequest$GovernanceActionRequestBuilder::index → KILLED

2.2
Location : txHash
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/request/governanceAction/GovernanceActionRequest$GovernanceActionRequestBuilder::txHash → KILLED

3.3
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/request/governanceAction/GovernanceActionRequest::builder → KILLED

4.4
Location : voterType
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/request/governanceAction/GovernanceActionRequest$GovernanceActionRequestBuilder::voterType → KILLED

5.5
Location : build
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/request/governanceAction/GovernanceActionRequest$GovernanceActionRequestBuilderImpl::build → KILLED

6.6
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionRequest$GovernanceActionRequestBuilder::toString → NO_COVERAGE

7.7
Location : self
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/request/governanceAction/GovernanceActionRequest$GovernanceActionRequestBuilderImpl::self → KILLED

17

1.1
Location : getTxHash
Killed by : org.cardanofoundation.explorer.api.service.GovActionServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.GovActionServiceTest]/[method:getGovActionDetails()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionRequest::getTxHash → KILLED

19

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

21

1.1
Location : getVoterType
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/request/governanceAction/GovernanceActionRequest::getVoterType → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2