ReportLimitResponse.java

1
package org.cardanofoundation.explorer.api.model.response;
2
3
import lombok.Builder;
4
import lombok.Getter;
5
import lombok.Setter;
6
7
@Getter
8
@Setter
9 5 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/ReportLimitResponse$ReportLimitResponseBuilder::toString → NO_COVERAGE
2. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/ReportLimitResponse::builder → KILLED
3. isLimitReached : replaced return value with null for org/cardanofoundation/explorer/api/model/response/ReportLimitResponse$ReportLimitResponseBuilder::isLimitReached → KILLED
4. limitPer24hours : replaced return value with null for org/cardanofoundation/explorer/api/model/response/ReportLimitResponse$ReportLimitResponseBuilder::limitPer24hours → KILLED
5. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/ReportLimitResponse$ReportLimitResponseBuilder::build → KILLED
@Builder
10
public class ReportLimitResponse {
11
12 1 1. getLimitPer24hours : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/ReportLimitResponse::getLimitPer24hours → KILLED
  private Integer limitPer24hours;
13 2 1. getIsLimitReached : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/ReportLimitResponse::getIsLimitReached → KILLED
2. getIsLimitReached : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/ReportLimitResponse::getIsLimitReached → KILLED
  private Boolean isLimitReached;
14
}

Mutations

9

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

2.2
Location : isLimitReached
Killed by : org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest]/[method:getReportLimitPer24Hours_shouldReturnLimit()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/ReportLimitResponse$ReportLimitResponseBuilder::isLimitReached → KILLED

3.3
Location : limitPer24hours
Killed by : org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest]/[method:getReportLimitPer24Hours_shouldReturnLimit()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/ReportLimitResponse$ReportLimitResponseBuilder::limitPer24hours → KILLED

4.4
Location : build
Killed by : org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest]/[method:getReportLimitPer24Hours_shouldReturnLimit()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/ReportLimitResponse$ReportLimitResponseBuilder::build → KILLED

5.5
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/ReportLimitResponse$ReportLimitResponseBuilder::toString → NO_COVERAGE

12

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

13

1.1
Location : getIsLimitReached
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyReportControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyReportControllerTest]/[method:testGetReportLimit()]
replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/ReportLimitResponse::getIsLimitReached → KILLED

2.2
Location : getIsLimitReached
Killed by : org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.ReportHistoryServiceTest]/[method:getReportLimitPer24Hours_shouldReturnLimit()]
replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/ReportLimitResponse::getIsLimitReached → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2