SmartContractFilterResponse.java

1
package org.cardanofoundation.explorer.api.model.response.script.smartcontract;
2
3
import java.util.Set;
4
5
import lombok.*;
6
7
import org.cardanofoundation.explorer.api.common.enumeration.TxPurposeType;
8
import org.cardanofoundation.explorer.common.entity.enumeration.ScriptType;
9
10
@Getter
11
@Setter
12 7 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse$SmartContractFilterResponseBuilder::toString → NO_COVERAGE
2. scriptVersion : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse$SmartContractFilterResponseBuilder::scriptVersion → KILLED
3. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse$SmartContractFilterResponseBuilder::build → KILLED
4. txPurposes : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse$SmartContractFilterResponseBuilder::txPurposes → KILLED
5. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse::builder → KILLED
6. scriptHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse$SmartContractFilterResponseBuilder::scriptHash → KILLED
7. txCount : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse$SmartContractFilterResponseBuilder::txCount → KILLED
@Builder
13
@AllArgsConstructor
14
@NoArgsConstructor
15
public class SmartContractFilterResponse {
16
17 1 1. getScriptHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse::getScriptHash → KILLED
  private String scriptHash;
18 1 1. getScriptVersion : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse::getScriptVersion → KILLED
  private ScriptType scriptVersion;
19 1 1. getTxCount : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse::getTxCount → KILLED
  private Long txCount;
20 1 1. getTxPurposes : replaced return value with Collections.emptySet for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse::getTxPurposes → KILLED
  private Set<TxPurposeType> txPurposes;
21
}

Mutations

12

1.1
Location : scriptVersion
Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testGetSmartContracts_thenReturn()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse$SmartContractFilterResponseBuilder::scriptVersion → KILLED

2.2
Location : build
Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testGetSmartContracts()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse$SmartContractFilterResponseBuilder::build → KILLED

3.3
Location : txPurposes
Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testGetSmartContracts_thenReturn()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse$SmartContractFilterResponseBuilder::txPurposes → KILLED

4.4
Location : builder
Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testGetSmartContracts()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse::builder → KILLED

5.5
Location : scriptHash
Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testGetSmartContracts()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse$SmartContractFilterResponseBuilder::scriptHash → KILLED

6.6
Location : txCount
Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testGetSmartContracts()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse$SmartContractFilterResponseBuilder::txCount → KILLED

7.7
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse$SmartContractFilterResponseBuilder::toString → NO_COVERAGE

17

1.1
Location : getScriptHash
Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testGetSmartContracts()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse::getScriptHash → KILLED

18

1.1
Location : getScriptVersion
Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testGetSmartContracts_thenReturn()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse::getScriptVersion → KILLED

19

1.1
Location : getTxCount
Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testGetSmartContracts_thenReturn()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse::getTxCount → KILLED

20

1.1
Location : getTxPurposes
Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testGetSmartContracts_thenReturn()]
replaced return value with Collections.emptySet for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractFilterResponse::getTxPurposes → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2