PotsOverviewResponse.java

1
package org.cardanofoundation.explorer.api.model.response;
2
3
import java.math.BigInteger;
4
5
import lombok.*;
6
7
@Getter
8
@Setter
9 8 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse$PotsOverviewResponseBuilder::toString → NO_COVERAGE
2. rewards : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse$PotsOverviewResponseBuilder::rewards → KILLED
3. treasury : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse$PotsOverviewResponseBuilder::treasury → KILLED
4. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse::builder → KILLED
5. depositsAndFees : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse$PotsOverviewResponseBuilder::depositsAndFees → KILLED
6. reserves : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse$PotsOverviewResponseBuilder::reserves → KILLED
7. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse$PotsOverviewResponseBuilder::build → KILLED
8. epoch : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse$PotsOverviewResponseBuilder::epoch → KILLED
@Builder
10
public class PotsOverviewResponse {
11 1 1. getDepositsAndFees : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse::getDepositsAndFees → KILLED
  BigInteger depositsAndFees;
12 1 1. getRewards : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse::getRewards → KILLED
  BigInteger rewards;
13 1 1. getTreasury : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse::getTreasury → KILLED
  BigInteger treasury;
14 1 1. getReserves : replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse::getReserves → KILLED
  BigInteger reserves;
15 1 1. getEpoch : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse::getEpoch → KILLED
  Integer epoch;
16
}

Mutations

9

1.1
Location : rewards
Killed by : org.cardanofoundation.explorer.api.controller.PotsControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.PotsControllerTest]/[method:testGetPotsOverview()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse$PotsOverviewResponseBuilder::rewards → KILLED

2.2
Location : treasury
Killed by : org.cardanofoundation.explorer.api.controller.PotsControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.PotsControllerTest]/[method:testGetPotsOverview()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse$PotsOverviewResponseBuilder::treasury → KILLED

3.3
Location : builder
Killed by : org.cardanofoundation.explorer.api.service.PotsServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.PotsServiceTest]/[method:testGetPotsOverview_CurrentEpochIsEmpty()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse::builder → KILLED

4.4
Location : depositsAndFees
Killed by : org.cardanofoundation.explorer.api.controller.PotsControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.PotsControllerTest]/[method:testGetPotsOverview()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse$PotsOverviewResponseBuilder::depositsAndFees → KILLED

5.5
Location : reserves
Killed by : org.cardanofoundation.explorer.api.controller.PotsControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.PotsControllerTest]/[method:testGetPotsOverview()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse$PotsOverviewResponseBuilder::reserves → KILLED

6.6
Location : build
Killed by : org.cardanofoundation.explorer.api.service.PotsServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.PotsServiceTest]/[method:testGetPotsOverview_CurrentEpochIsEmpty()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse$PotsOverviewResponseBuilder::build → KILLED

7.7
Location : epoch
Killed by : org.cardanofoundation.explorer.api.service.PotsServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.PotsServiceTest]/[method:testGetPotsOverview_CurrentEpochIsEmpty()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse$PotsOverviewResponseBuilder::epoch → KILLED

8.8
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse$PotsOverviewResponseBuilder::toString → NO_COVERAGE

11

1.1
Location : getDepositsAndFees
Killed by : org.cardanofoundation.explorer.api.controller.PotsControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.PotsControllerTest]/[method:testGetPotsOverview()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse::getDepositsAndFees → KILLED

12

1.1
Location : getRewards
Killed by : org.cardanofoundation.explorer.api.controller.PotsControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.PotsControllerTest]/[method:testGetPotsOverview()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse::getRewards → KILLED

13

1.1
Location : getTreasury
Killed by : org.cardanofoundation.explorer.api.controller.PotsControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.PotsControllerTest]/[method:testGetPotsOverview()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse::getTreasury → KILLED

14

1.1
Location : getReserves
Killed by : org.cardanofoundation.explorer.api.controller.PotsControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.PotsControllerTest]/[method:testGetPotsOverview()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse::getReserves → KILLED

15

1.1
Location : getEpoch
Killed by : org.cardanofoundation.explorer.api.service.PotsServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.PotsServiceTest]/[method:testGetPotsOverview_CurrentEpochIsEmpty()]
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/PotsOverviewResponse::getEpoch → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2