1
|
|
package org.cardanofoundation.explorer.api.model.response.script.nativescript; |
2
|
|
|
3
|
|
import java.time.LocalDateTime; |
4
|
|
import java.util.ArrayList; |
5
|
|
import java.util.List; |
6
|
|
|
7
|
|
import lombok.*; |
8
|
|
|
9
|
|
import org.cardanofoundation.explorer.api.model.response.token.TokenFilterResponse; |
10
|
|
|
11
|
|
@Getter |
12
|
|
@Setter |
13
|
11
1. isMultiSig : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::isMultiSig → NO_COVERAGE
2. after : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::after → NO_COVERAGE
3. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::toString → NO_COVERAGE
4. isOpen : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::isOpen → NO_COVERAGE
5. before : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::before → NO_COVERAGE
6. tokens : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::tokens → NO_COVERAGE
7. numberOfTokens : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::numberOfTokens → KILLED
8. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::build → KILLED
9. numberOfAssetHolders : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::numberOfAssetHolders → KILLED
10. scriptHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::scriptHash → KILLED
11. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::builder → KILLED
|
@Builder |
14
|
|
@AllArgsConstructor |
15
|
|
@NoArgsConstructor |
16
|
|
public class NativeScriptFilterResponse { |
17
|
1
1. getScriptHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getScriptHash → KILLED
|
private String scriptHash; |
18
|
1
1. getAfter : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getAfter → SURVIVED
|
private LocalDateTime after; |
19
|
1
1. getBefore : replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getBefore → SURVIVED
|
private LocalDateTime before; |
20
|
2
1. getIsMultiSig : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getIsMultiSig → SURVIVED
2. getIsMultiSig : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getIsMultiSig → SURVIVED
|
private Boolean isMultiSig = false; |
21
|
2
1. getIsOpen : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getIsOpen → SURVIVED
2. getIsOpen : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getIsOpen → KILLED
|
private Boolean isOpen = false; |
22
|
1
1. getNumberOfTokens : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getNumberOfTokens → KILLED
|
private Long numberOfTokens = 0L; |
23
|
1
1. getNumberOfAssetHolders : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getNumberOfAssetHolders → KILLED
|
private Long numberOfAssetHolders = 0L; |
24
|
1
1. getTokens : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getTokens → SURVIVED
|
private List<TokenFilterResponse> tokens = new ArrayList<>(); |
25
|
|
} |
| | Mutations |
13 |
|
1.1 Location : isMultiSig Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::isMultiSig → NO_COVERAGE 2.2 Location : numberOfTokens Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testNativeScripts_thenReturn()] replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::numberOfTokens → KILLED 3.3 Location : after Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::after → NO_COVERAGE 4.4 Location : toString Killed by : none replaced return value with "" for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::toString → NO_COVERAGE 5.5 Location : isOpen Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::isOpen → NO_COVERAGE 6.6 Location : before Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::before → NO_COVERAGE 7.7 Location : build Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testNativeScripts_thenReturn()] replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::build → KILLED 8.8 Location : numberOfAssetHolders Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testNativeScripts_thenReturn()] replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::numberOfAssetHolders → KILLED 9.9 Location : scriptHash Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testNativeScripts_thenReturn()] replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::scriptHash → KILLED 10.10 Location : tokens Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse$NativeScriptFilterResponseBuilder::tokens → NO_COVERAGE 11.11 Location : builder Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testNativeScripts_thenReturn()] replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::builder → KILLED
|
17 |
|
1.1 Location : getScriptHash Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testNativeScripts_thenReturn()] replaced return value with "" for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getScriptHash → KILLED
|
18 |
|
1.1 Location : getAfter Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getAfter → SURVIVED
|
19 |
|
1.1 Location : getBefore Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getBefore → SURVIVED
|
20 |
|
1.1 Location : getIsMultiSig Killed by : none replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getIsMultiSig → SURVIVED 2.2 Location : getIsMultiSig Killed by : none replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getIsMultiSig → SURVIVED
|
21 |
|
1.1 Location : getIsOpen Killed by : none replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getIsOpen → SURVIVED 2.2 Location : getIsOpen Killed by : org.cardanofoundation.explorer.api.service.ScriptServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.ScriptServiceTest]/[method:testGetNativeScripts_thenReturn()] replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getIsOpen → KILLED
|
22 |
|
1.1 Location : getNumberOfTokens Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testNativeScripts_thenReturn()] replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getNumberOfTokens → KILLED
|
23 |
|
1.1 Location : getNumberOfAssetHolders Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testNativeScripts_thenReturn()] replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getNumberOfAssetHolders → KILLED
|
24 |
|
1.1 Location : getTokens Killed by : none replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/script/nativescript/NativeScriptFilterResponse::getTokens → SURVIVED
|