TokenResponse.java

1
package org.cardanofoundation.explorer.api.model.response.token;
2
3
import java.sql.Timestamp;
4
import java.time.LocalDateTime;
5
6
import lombok.Getter;
7
import lombok.Setter;
8
9
import org.cardanofoundation.explorer.api.common.enumeration.TokenType;
10
import org.cardanofoundation.explorer.api.model.metadatastandard.cip.MetadataCIP;
11
12
@Getter
13
@Setter
14
public class TokenResponse {
15
16 1 1. getName : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenResponse::getName → SURVIVED
  private String name;
17 1 1. getDisplayName : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenResponse::getDisplayName → SURVIVED
  private String displayName;
18 1 1. getPolicy : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenResponse::getPolicy → SURVIVED
  private String policy;
19 1 1. getFingerprint : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenResponse::getFingerprint → SURVIVED
  private String fingerprint;
20 1 1. getTxCount : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/token/TokenResponse::getTxCount → KILLED
  private Integer txCount;
21 1 1. getSupply : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenResponse::getSupply → SURVIVED
  private String supply;
22 1 1. getCreatedOn : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenResponse::getCreatedOn → SURVIVED
  private LocalDateTime createdOn;
23 1 1. getMetadata : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenResponse::getMetadata → KILLED
  private TokenMetadataResponse metadata;
24 1 1. getTokenLastActivity : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenResponse::getTokenLastActivity → KILLED
  private Timestamp tokenLastActivity;
25 1 1. getTokenType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenResponse::getTokenType → KILLED
  private TokenType tokenType;
26 1 1. getMetadataJson : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/token/TokenResponse::getMetadataJson → KILLED
  private String metadataJson;
27 1 1. getMetadataCIP25 : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenResponse::getMetadataCIP25 → SURVIVED
  private MetadataCIP metadataCIP25;
28 1 1. getMetadataCIP60 : replaced return value with null for org/cardanofoundation/explorer/api/model/response/token/TokenResponse::getMetadataCIP60 → SURVIVED
  private MetadataCIP metadataCIP60;
29
}

Mutations

16

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

17

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

18

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

19

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

20

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

21

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

22

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

23

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

24

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

25

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

26

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

27

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

28

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

Active mutators

Tests examined


Report generated by PIT 1.14.2