GovernanceOverviewResponse.java

1
package org.cardanofoundation.explorer.api.model.response.governanceAction;
2
3
import java.util.Map;
4
5
import lombok.AllArgsConstructor;
6
import lombok.Builder;
7
import lombok.Getter;
8
import lombok.NoArgsConstructor;
9
import lombok.Setter;
10
11
import org.cardanofoundation.explorer.common.entity.enumeration.GovActionStatus;
12
import org.cardanofoundation.explorer.common.entity.enumeration.GovActionType;
13
14
@Getter
15
@Setter
16 9 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::toString → NO_COVERAGE
2. totalGovActions : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::totalGovActions → KILLED
3. activeCommittees : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::activeCommittees → KILLED
4. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse::builder → KILLED
5. activeSPOs : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::activeSPOs → KILLED
6. govCountMap : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::govCountMap → KILLED
7. govStatusMap : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::govStatusMap → KILLED
8. activeDReps : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::activeDReps → KILLED
9. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::build → KILLED
@Builder
17
@AllArgsConstructor
18
@NoArgsConstructor
19
public class GovernanceOverviewResponse {
20 1 1. getActiveDReps : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse::getActiveDReps → KILLED
  private Long activeDReps;
21 1 1. getActiveSPOs : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse::getActiveSPOs → KILLED
  private Long activeSPOs;
22 1 1. getActiveCommittees : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse::getActiveCommittees → KILLED
  private Long activeCommittees;
23 1 1. getTotalGovActions : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse::getTotalGovActions → KILLED
  private Long totalGovActions;
24
25 1 1. getGovCountMap : replaced return value with Collections.emptyMap for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse::getGovCountMap → KILLED
  private Map<GovActionType, Long> govCountMap;
26 1 1. getGovStatusMap : replaced return value with Collections.emptyMap for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse::getGovStatusMap → KILLED
  private Map<GovActionStatus, Long> govStatusMap;
27
}

Mutations

16

1.1
Location : totalGovActions
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionCommitteeHistoryByFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::totalGovActions → KILLED

2.2
Location : activeCommittees
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionCommitteeHistoryByFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::activeCommittees → KILLED

3.3
Location : builder
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionCommitteeHistoryByFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse::builder → KILLED

4.4
Location : activeSPOs
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionCommitteeHistoryByFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::activeSPOs → KILLED

5.5
Location : govCountMap
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionCommitteeHistoryByFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::govCountMap → KILLED

6.6
Location : govStatusMap
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionCommitteeHistoryByFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::govStatusMap → KILLED

7.7
Location : activeDReps
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionCommitteeHistoryByFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::activeDReps → KILLED

8.8
Location : build
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionCommitteeHistoryByFilter()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::build → KILLED

9.9
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse$GovernanceOverviewResponseBuilder::toString → NO_COVERAGE

20

1.1
Location : getActiveDReps
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionCommitteeHistoryByFilter()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse::getActiveDReps → KILLED

21

1.1
Location : getActiveSPOs
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionCommitteeHistoryByFilter()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse::getActiveSPOs → KILLED

22

1.1
Location : getActiveCommittees
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionCommitteeHistoryByFilter()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse::getActiveCommittees → KILLED

23

1.1
Location : getTotalGovActions
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionCommitteeHistoryByFilter()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse::getTotalGovActions → KILLED

25

1.1
Location : getGovCountMap
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionCommitteeHistoryByFilter()]
replaced return value with Collections.emptyMap for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse::getGovCountMap → KILLED

26

1.1
Location : getGovStatusMap
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionCommitteeHistoryByFilter()]
replaced return value with Collections.emptyMap for org/cardanofoundation/explorer/api/model/response/governanceAction/GovernanceOverviewResponse::getGovStatusMap → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2