TxPoolCertificate.java

1
package org.cardanofoundation.explorer.api.model.response.tx;
2
3
import java.math.BigInteger;
4
import java.util.List;
5
6
import lombok.AllArgsConstructor;
7
import lombok.Builder;
8
import lombok.Getter;
9
import lombok.NoArgsConstructor;
10
import lombok.Setter;
11
12
import com.fasterxml.jackson.annotation.JsonInclude;
13
14
import org.cardanofoundation.explorer.api.common.enumeration.CertificateType;
15
import org.cardanofoundation.explorer.api.model.response.pool.PoolRelayResponse;
16
17
@Getter
18
@Setter
19
@NoArgsConstructor
20
@AllArgsConstructor
21 15 1. poolId : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::poolId → NO_COVERAGE
2. metadataHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::metadataHash → NO_COVERAGE
3. rewardAccount : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::rewardAccount → NO_COVERAGE
4. metadataUrl : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::metadataUrl → NO_COVERAGE
5. cost : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::cost → NO_COVERAGE
6. epoch : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::epoch → NO_COVERAGE
7. relays : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::relays → NO_COVERAGE
8. margin : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::margin → NO_COVERAGE
9. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::builder → NO_COVERAGE
10. vrfKey : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::vrfKey → NO_COVERAGE
11. type : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::type → NO_COVERAGE
12. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::build → NO_COVERAGE
13. pledge : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::pledge → NO_COVERAGE
14. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::toString → NO_COVERAGE
15. poolOwners : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::poolOwners → NO_COVERAGE
@Builder
22
@JsonInclude(JsonInclude.Include.NON_NULL)
23
public class TxPoolCertificate {
24 1 1. getPoolId : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getPoolId → NO_COVERAGE
  private String poolId;
25 1 1. getEpoch : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getEpoch → NO_COVERAGE
  private Integer epoch;
26 1 1. getVrfKey : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getVrfKey → NO_COVERAGE
  private String vrfKey;
27 1 1. getRewardAccount : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getRewardAccount → NO_COVERAGE
  private String rewardAccount;
28 1 1. getPoolOwners : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getPoolOwners → NO_COVERAGE
  private List<String> poolOwners;
29 1 1. getMetadataHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getMetadataHash → NO_COVERAGE
  private String metadataHash;
30 1 1. getMetadataUrl : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getMetadataUrl → NO_COVERAGE
  private String metadataUrl;
31 1 1. getMargin : replaced Double return value with 0 for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getMargin → NO_COVERAGE
  private Double margin;
32 1 1. getCost : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getCost → NO_COVERAGE
  private BigInteger cost;
33 1 1. getPledge : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getPledge → NO_COVERAGE
  private BigInteger pledge;
34 1 1. getRelays : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getRelays → NO_COVERAGE
  private List<PoolRelayResponse> relays;
35 1 1. getType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getType → NO_COVERAGE
  private CertificateType type;
36
}

Mutations

21

1.1
Location : poolId
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::poolId → NO_COVERAGE

2.2
Location : metadataHash
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::metadataHash → NO_COVERAGE

3.3
Location : rewardAccount
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::rewardAccount → NO_COVERAGE

4.4
Location : metadataUrl
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::metadataUrl → NO_COVERAGE

5.5
Location : cost
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::cost → NO_COVERAGE

6.6
Location : epoch
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::epoch → NO_COVERAGE

7.7
Location : relays
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::relays → NO_COVERAGE

8.8
Location : margin
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::margin → NO_COVERAGE

9.9
Location : builder
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::builder → NO_COVERAGE

10.10
Location : vrfKey
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::vrfKey → NO_COVERAGE

11.11
Location : type
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::type → NO_COVERAGE

12.12
Location : build
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::build → NO_COVERAGE

13.13
Location : pledge
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::pledge → NO_COVERAGE

14.14
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::toString → NO_COVERAGE

15.15
Location : poolOwners
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate$TxPoolCertificateBuilder::poolOwners → NO_COVERAGE

24

1.1
Location : getPoolId
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getPoolId → NO_COVERAGE

25

1.1
Location : getEpoch
Killed by : none
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getEpoch → NO_COVERAGE

26

1.1
Location : getVrfKey
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getVrfKey → NO_COVERAGE

27

1.1
Location : getRewardAccount
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getRewardAccount → NO_COVERAGE

28

1.1
Location : getPoolOwners
Killed by : none
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getPoolOwners → NO_COVERAGE

29

1.1
Location : getMetadataHash
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getMetadataHash → NO_COVERAGE

30

1.1
Location : getMetadataUrl
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getMetadataUrl → NO_COVERAGE

31

1.1
Location : getMargin
Killed by : none
replaced Double return value with 0 for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getMargin → NO_COVERAGE

32

1.1
Location : getCost
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getCost → NO_COVERAGE

33

1.1
Location : getPledge
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getPledge → NO_COVERAGE

34

1.1
Location : getRelays
Killed by : none
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getRelays → NO_COVERAGE

35

1.1
Location : getType
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/tx/TxPoolCertificate::getType → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.14.2