PoolDetailDelegatorResponse.java

1
package org.cardanofoundation.explorer.api.model.response;
2
3
import java.io.Serializable;
4
import java.math.BigInteger;
5
import java.sql.Timestamp;
6
7
import lombok.*;
8
9
import org.cardanofoundation.explorer.api.model.response.pool.projection.PoolDetailDelegatorProjection;
10
11
@Getter
12
@Setter
13 8 1. time : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse$PoolDetailDelegatorResponseBuilder::time → NO_COVERAGE
2. view : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse$PoolDetailDelegatorResponseBuilder::view → NO_COVERAGE
3. stakeAddressId : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse$PoolDetailDelegatorResponseBuilder::stakeAddressId → NO_COVERAGE
4. totalStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse$PoolDetailDelegatorResponseBuilder::totalStake → NO_COVERAGE
5. fee : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse$PoolDetailDelegatorResponseBuilder::fee → NO_COVERAGE
6. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse$PoolDetailDelegatorResponseBuilder::build → NO_COVERAGE
7. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse$PoolDetailDelegatorResponseBuilder::toString → NO_COVERAGE
8. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse::builder → NO_COVERAGE
@Builder
14
@AllArgsConstructor
15
@NoArgsConstructor
16
public class PoolDetailDelegatorResponse implements Serializable {
17
18 1 1. getStakeAddressId : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse::getStakeAddressId → SURVIVED
  private Long stakeAddressId;
19
20 1 1. getTotalStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse::getTotalStake → SURVIVED
  private BigInteger totalStake;
21
22 1 1. getTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse::getTime → SURVIVED
  private Timestamp time;
23
24 1 1. getFee : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse::getFee → SURVIVED
  private BigInteger fee;
25
26 1 1. getView : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse::getView → SURVIVED
  private String view;
27
28
  public PoolDetailDelegatorResponse(PoolDetailDelegatorProjection poolDetailDelegator) {
29
    this.stakeAddressId = poolDetailDelegator.getStakeAddressId();
30
    this.fee = poolDetailDelegator.getFee();
31
    this.time = poolDetailDelegator.getTime();
32
    this.view = poolDetailDelegator.getView();
33
  }
34
}

Mutations

13

1.1
Location : time
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse$PoolDetailDelegatorResponseBuilder::time → NO_COVERAGE

2.2
Location : view
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse$PoolDetailDelegatorResponseBuilder::view → NO_COVERAGE

3.3
Location : stakeAddressId
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse$PoolDetailDelegatorResponseBuilder::stakeAddressId → NO_COVERAGE

4.4
Location : totalStake
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse$PoolDetailDelegatorResponseBuilder::totalStake → NO_COVERAGE

5.5
Location : fee
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse$PoolDetailDelegatorResponseBuilder::fee → NO_COVERAGE

6.6
Location : build
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PoolDetailDelegatorResponse$PoolDetailDelegatorResponseBuilder::build → NO_COVERAGE

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

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

18

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

20

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

22

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

24

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

26

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

Active mutators

Tests examined


Report generated by PIT 1.14.2