TokenFilterResponse.java

1
package org.cardanofoundation.explorer.api.model.response.token;
2
3
import java.time.LocalDateTime;
4
5
import lombok.*;
6
7
import com.fasterxml.jackson.annotation.JsonIgnore;
8
import com.fasterxml.jackson.annotation.JsonInclude;
9
import com.fasterxml.jackson.annotation.JsonInclude.Include;
10
11
@Getter
12
@Setter
13 17 1. policyIsNativeScript : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::policyIsNativeScript → NO_COVERAGE
2. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::toString → NO_COVERAGE
3. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::builder → KILLED
4. id : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::id → KILLED
5. metadata : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::metadata → KILLED
6. supply : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::supply → KILLED
7. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::build → KILLED
8. createdOn : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::createdOn → KILLED
9. fingerprint : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::fingerprint → KILLED
10. totalVolume : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::totalVolume → KILLED
11. name : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::name → KILLED
12. numberOfHolders : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::numberOfHolders → KILLED
13. policy : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::policy → KILLED
14. volumeIn24h : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::volumeIn24h → KILLED
15. displayName : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::displayName → KILLED
16. txCount : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::txCount → KILLED
17. unit : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::unit → KILLED
@Builder
14
@AllArgsConstructor
15
@NoArgsConstructor
16
@JsonInclude(Include.NON_NULL)
17
public class TokenFilterResponse {
18 1 1. getId : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getId → KILLED
  private Long id;
19 1 1. getName : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getName → KILLED
  private String name;
20 1 1. getDisplayName : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getDisplayName → SURVIVED
  private String displayName;
21 1 1. getPolicy : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getPolicy → KILLED
  private String policy;
22 2 1. isPolicyIsNativeScript : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::isPolicyIsNativeScript → SURVIVED
2. isPolicyIsNativeScript : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::isPolicyIsNativeScript → SURVIVED
  private boolean policyIsNativeScript;
23 1 1. getFingerprint : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getFingerprint → KILLED
  private String fingerprint;
24 1 1. getTxCount : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getTxCount → KILLED
  private Integer txCount;
25 1 1. getSupply : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getSupply → SURVIVED
  private String supply;
26 1 1. getVolumeIn24h : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getVolumeIn24h → SURVIVED
  private String volumeIn24h;
27 1 1. getTotalVolume : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getTotalVolume → SURVIVED
  private String totalVolume;
28 1 1. getNumberOfHolders : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getNumberOfHolders → SURVIVED
  private Long numberOfHolders;
29 1 1. getCreatedOn : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getCreatedOn → SURVIVED
  private LocalDateTime createdOn;
30 1 1. getMetadata : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getMetadata → KILLED
  private TokenMetadataResponse metadata;
31 1 1. getUnit : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getUnit → NO_COVERAGE
  @JsonIgnore private String unit;
32
}

Mutations

13

1.1
Location : builder
Killed by : org.cardanofoundation.explorer.api.controller.TokenControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.TokenControllerTest]/[method:testFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::builder → KILLED

2.2
Location : policyIsNativeScript
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::policyIsNativeScript → NO_COVERAGE

3.3
Location : id
Killed by : org.cardanofoundation.explorer.api.controller.TokenControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.TokenControllerTest]/[method:testFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::id → KILLED

4.4
Location : metadata
Killed by : org.cardanofoundation.explorer.api.service.TokenServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.TokenServiceTest]/[method:testFilterToken_WhenQueryNotEmpty()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::metadata → KILLED

5.5
Location : supply
Killed by : org.cardanofoundation.explorer.api.controller.TokenControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.TokenControllerTest]/[method:testFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::supply → KILLED

6.6
Location : build
Killed by : org.cardanofoundation.explorer.api.controller.TokenControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.TokenControllerTest]/[method:testFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::build → KILLED

7.7
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::toString → NO_COVERAGE

8.8
Location : createdOn
Killed by : org.cardanofoundation.explorer.api.controller.TokenControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.TokenControllerTest]/[method:testFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::createdOn → KILLED

9.9
Location : fingerprint
Killed by : org.cardanofoundation.explorer.api.controller.TokenControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.TokenControllerTest]/[method:testFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::fingerprint → KILLED

10.10
Location : totalVolume
Killed by : org.cardanofoundation.explorer.api.controller.TokenControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.TokenControllerTest]/[method:testFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::totalVolume → KILLED

11.11
Location : name
Killed by : org.cardanofoundation.explorer.api.controller.TokenControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.TokenControllerTest]/[method:testFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::name → KILLED

12.12
Location : numberOfHolders
Killed by : org.cardanofoundation.explorer.api.controller.TokenControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.TokenControllerTest]/[method:testFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::numberOfHolders → KILLED

13.13
Location : policy
Killed by : org.cardanofoundation.explorer.api.controller.TokenControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.TokenControllerTest]/[method:testFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::policy → KILLED

14.14
Location : volumeIn24h
Killed by : org.cardanofoundation.explorer.api.controller.TokenControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.TokenControllerTest]/[method:testFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::volumeIn24h → KILLED

15.15
Location : displayName
Killed by : org.cardanofoundation.explorer.api.controller.TokenControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.TokenControllerTest]/[method:testFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::displayName → KILLED

16.16
Location : txCount
Killed by : org.cardanofoundation.explorer.api.controller.TokenControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.TokenControllerTest]/[method:testFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::txCount → KILLED

17.17
Location : unit
Killed by : org.cardanofoundation.explorer.api.service.TokenServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.TokenServiceTest]/[method:testFilterToken_WhenQueryNotEmpty()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse$TokenFilterResponseBuilder::unit → KILLED

18

1.1
Location : getId
Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testGetToken()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getId → KILLED

19

1.1
Location : getName
Killed by : org.cardanofoundation.explorer.api.service.PolicyServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.PolicyServiceTest]/[method:testGetTokens_thenReturn()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getName → KILLED

20

1.1
Location : getDisplayName
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getDisplayName → SURVIVED

21

1.1
Location : getPolicy
Killed by : org.cardanofoundation.explorer.api.service.PolicyServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.PolicyServiceTest]/[method:testGetTokens_thenReturn()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getPolicy → KILLED

22

1.1
Location : isPolicyIsNativeScript
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::isPolicyIsNativeScript → SURVIVED

2.2
Location : isPolicyIsNativeScript
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::isPolicyIsNativeScript → SURVIVED

23

1.1
Location : getFingerprint
Killed by : org.cardanofoundation.explorer.api.controller.ScriptControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.ScriptControllerTest]/[method:testGetToken()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getFingerprint → KILLED

24

1.1
Location : getTxCount
Killed by : org.cardanofoundation.explorer.api.service.TokenServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.TokenServiceTest]/[method:testFilterToken_WhenQueryNotEmpty()]
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getTxCount → KILLED

25

1.1
Location : getSupply
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getSupply → SURVIVED

26

1.1
Location : getVolumeIn24h
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getVolumeIn24h → SURVIVED

27

1.1
Location : getTotalVolume
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getTotalVolume → SURVIVED

28

1.1
Location : getNumberOfHolders
Killed by : none
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getNumberOfHolders → SURVIVED

29

1.1
Location : getCreatedOn
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getCreatedOn → SURVIVED

30

1.1
Location : getMetadata
Killed by : org.cardanofoundation.explorer.api.service.PolicyServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.PolicyServiceTest]/[method:testGetTokens_thenReturn()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getMetadata → KILLED

31

1.1
Location : getUnit
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenFilterResponse::getUnit → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.14.2