DRepDelegatorsResponse.java

1
package org.cardanofoundation.explorer.api.model.response.drep;
2
3
import java.math.BigInteger;
4
import java.util.Date;
5
6
import lombok.AllArgsConstructor;
7
import lombok.Builder;
8
import lombok.Getter;
9
import lombok.NoArgsConstructor;
10
import lombok.Setter;
11
12
@Getter
13
@Setter
14
@NoArgsConstructor
15
@AllArgsConstructor
16 7 1. fee : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse$DRepDelegatorsResponseBuilder::fee → SURVIVED
2. createdAt : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse$DRepDelegatorsResponseBuilder::createdAt → SURVIVED
3. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse$DRepDelegatorsResponseBuilder::toString → NO_COVERAGE
4. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse$DRepDelegatorsResponseBuilder::build → KILLED
5. totalStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse$DRepDelegatorsResponseBuilder::totalStake → KILLED
6. stakeAddress : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse$DRepDelegatorsResponseBuilder::stakeAddress → KILLED
7. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse::builder → KILLED
@Builder
17
public class DRepDelegatorsResponse {
18
19 1 1. getStakeAddress : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse::getStakeAddress → KILLED
  String stakeAddress;
20
21 1 1. getCreatedAt : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse::getCreatedAt → SURVIVED
  Date createdAt;
22
23 1 1. getFee : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse::getFee → SURVIVED
  Integer fee;
24
25 1 1. getTotalStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse::getTotalStake → SURVIVED
  BigInteger totalStake;
26
}

Mutations

16

1.1
Location : build
Killed by : org.cardanofoundation.explorer.api.service.DRepServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DRepServiceTest]/[method:testDRepGetDelegators()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse$DRepDelegatorsResponseBuilder::build → KILLED

2.2
Location : totalStake
Killed by : org.cardanofoundation.explorer.api.controller.DrepControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.DrepControllerTest]/[method:testGetDelegation()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse$DRepDelegatorsResponseBuilder::totalStake → KILLED

3.3
Location : stakeAddress
Killed by : org.cardanofoundation.explorer.api.controller.DrepControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.DrepControllerTest]/[method:testGetDelegation()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse$DRepDelegatorsResponseBuilder::stakeAddress → KILLED

4.4
Location : fee
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse$DRepDelegatorsResponseBuilder::fee → SURVIVED

5.5
Location : createdAt
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse$DRepDelegatorsResponseBuilder::createdAt → SURVIVED

6.6
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse$DRepDelegatorsResponseBuilder::toString → NO_COVERAGE

7.7
Location : builder
Killed by : org.cardanofoundation.explorer.api.service.DRepServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DRepServiceTest]/[method:testDRepGetDelegators()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse::builder → KILLED

19

1.1
Location : getStakeAddress
Killed by : org.cardanofoundation.explorer.api.service.DRepServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.DRepServiceTest]/[method:testDRepGetDelegators()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse::getStakeAddress → KILLED

21

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

23

1.1
Location : getFee
Killed by : none
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/drep/DRepDelegatorsResponse::getFee → SURVIVED

25

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

Active mutators

Tests examined


Report generated by PIT 1.14.2