SmartContractDetailResponse.java

1
package org.cardanofoundation.explorer.api.model.response.script.smartcontract;
2
3
import java.util.List;
4
5
import lombok.AllArgsConstructor;
6
import lombok.Builder;
7
import lombok.Getter;
8
import lombok.NoArgsConstructor;
9
import lombok.Setter;
10
11
import org.cardanofoundation.explorer.common.entity.enumeration.ScriptType;
12
13
@Getter
14
@Setter
15 6 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractDetailResponse$SmartContractDetailResponseBuilder::toString → NO_COVERAGE
2. scriptHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractDetailResponse$SmartContractDetailResponseBuilder::scriptHash → KILLED
3. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractDetailResponse$SmartContractDetailResponseBuilder::build → KILLED
4. scriptType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractDetailResponse$SmartContractDetailResponseBuilder::scriptType → KILLED
5. associatedAddresses : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractDetailResponse$SmartContractDetailResponseBuilder::associatedAddresses → KILLED
6. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractDetailResponse::builder → KILLED
@Builder
16
@AllArgsConstructor
17
@NoArgsConstructor
18
public class SmartContractDetailResponse {
19
20 1 1. getScriptHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractDetailResponse::getScriptHash → KILLED
  private String scriptHash;
21 1 1. getScriptType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractDetailResponse::getScriptType → KILLED
  private ScriptType scriptType;
22 1 1. getAssociatedAddresses : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractDetailResponse::getAssociatedAddresses → KILLED
  private List<String> associatedAddresses;
23
}

Mutations

15

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

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

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

4.4
Location : associatedAddresses
Killed by : org.cardanofoundation.explorer.api.service.ScriptServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.ScriptServiceTest]/[method:getSmartContractDetail_shouldReturnSmartContractDetailResponse()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractDetailResponse$SmartContractDetailResponseBuilder::associatedAddresses → KILLED

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

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

20

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

21

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

22

1.1
Location : getAssociatedAddresses
Killed by : org.cardanofoundation.explorer.api.service.ScriptServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.ScriptServiceTest]/[method:getSmartContractDetail_shouldReturnSmartContractDetailResponse()]
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/script/smartcontract/SmartContractDetailResponse::getAssociatedAddresses → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2