ReportHistoryResponse.java

1
package org.cardanofoundation.explorer.api.model.response.stake.report;
2
3
import java.time.LocalDateTime;
4
5
import lombok.Builder;
6
import lombok.Getter;
7
import lombok.Setter;
8
9
import org.cardanofoundation.explorer.common.entity.enumeration.ReportStatus;
10
import org.cardanofoundation.explorer.common.entity.enumeration.ReportType;
11
12
@Getter
13
@Setter
14 9 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::toString → NO_COVERAGE
2. createdAt : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::createdAt → KILLED
3. poolReportId : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::poolReportId → KILLED
4. reportName : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::reportName → KILLED
5. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::build → KILLED
6. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse::builder → KILLED
7. stakeKeyReportId : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::stakeKeyReportId → KILLED
8. type : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::type → KILLED
9. status : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::status → KILLED
@Builder
15
public class ReportHistoryResponse {
16 1 1. getStakeKeyReportId : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse::getStakeKeyReportId → KILLED
  private Long stakeKeyReportId;
17 1 1. getPoolReportId : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse::getPoolReportId → SURVIVED
  private Long poolReportId;
18 1 1. getCreatedAt : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse::getCreatedAt → KILLED
  private LocalDateTime createdAt;
19 1 1. getReportName : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse::getReportName → KILLED
  private String reportName;
20 1 1. getStatus : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse::getStatus → KILLED
  private ReportStatus status;
21 1 1. getType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse::getType → KILLED
  private ReportType type;
22
}

Mutations

14

1.1
Location : createdAt
Killed by : org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest]/[method:whenGetReportHistoryWithCondition_thenReturnReportHistory()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::createdAt → KILLED

2.2
Location : poolReportId
Killed by : org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest]/[method:whenGetReportHistoryWithCondition_thenReturnReportHistory()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::poolReportId → KILLED

3.3
Location : reportName
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyReportControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyReportControllerTest]/[method:shouldGetReportHistoryDashBoard()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::reportName → KILLED

4.4
Location : build
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyReportControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyReportControllerTest]/[method:shouldGetReportHistoryDashBoard()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::build → KILLED

5.5
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::toString → NO_COVERAGE

6.6
Location : builder
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyReportControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyReportControllerTest]/[method:shouldGetReportHistoryDashBoard()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse::builder → KILLED

7.7
Location : stakeKeyReportId
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyReportControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyReportControllerTest]/[method:shouldGetReportHistoryDashBoard()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::stakeKeyReportId → KILLED

8.8
Location : type
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyReportControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyReportControllerTest]/[method:shouldGetReportHistoryDashBoard()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::type → KILLED

9.9
Location : status
Killed by : org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest]/[method:whenGetReportHistoryWithCondition_thenReturnReportHistory()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse$ReportHistoryResponseBuilder::status → KILLED

16

1.1
Location : getStakeKeyReportId
Killed by : org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest]/[method:whenGetReportHistoryWithCondition_thenReturnReportHistory()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse::getStakeKeyReportId → KILLED

17

1.1
Location : getPoolReportId
Killed by : none
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse::getPoolReportId → SURVIVED

18

1.1
Location : getCreatedAt
Killed by : org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest]/[method:whenGetReportHistoryWithCondition_thenReturnReportHistory()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse::getCreatedAt → KILLED

19

1.1
Location : getReportName
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyReportControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyReportControllerTest]/[method:shouldGetReportHistoryDashBoard()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse::getReportName → KILLED

20

1.1
Location : getStatus
Killed by : org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest]/[method:whenGetReportHistoryWithCondition_thenReturnReportHistory()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse::getStatus → KILLED

21

1.1
Location : getType
Killed by : org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest]/[method:whenGetReportHistoryWithCondition_thenReturnReportHistory()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/report/ReportHistoryResponse::getType → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2