AddressCarbonEmissionResponse.java

1
package org.cardanofoundation.explorer.api.model.response.micar;
2
3
import lombok.*;
4
5
@Getter
6
@Setter
7
@NoArgsConstructor
8
@AllArgsConstructor
9 7 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse$AddressCarbonEmissionResponseBuilder::toString → NO_COVERAGE
2. txCount : replaced return value with null for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse$AddressCarbonEmissionResponseBuilder::txCount → KILLED
3. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse::builder → KILLED
4. carbonEmissionPerTx : replaced return value with null for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse$AddressCarbonEmissionResponseBuilder::carbonEmissionPerTx → KILLED
5. address : replaced return value with null for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse$AddressCarbonEmissionResponseBuilder::address → KILLED
6. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse$AddressCarbonEmissionResponseBuilder::build → KILLED
7. stakeAddress : replaced return value with null for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse$AddressCarbonEmissionResponseBuilder::stakeAddress → KILLED
@Builder
10
public class AddressCarbonEmissionResponse {
11 1 1. getAddress : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse::getAddress → KILLED
  String address;
12 1 1. getStakeAddress : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse::getStakeAddress → KILLED
  String stakeAddress;
13 1 1. getTxCount : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse::getTxCount → KILLED
  Long txCount;
14 1 1. getCarbonEmissionPerTx : replaced Double return value with 0 for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse::getCarbonEmissionPerTx → KILLED
  Double carbonEmissionPerTx;
15
}

Mutations

9

1.1
Location : txCount
Killed by : org.cardanofoundation.explorer.api.service.MiCARServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.MiCARServiceTest]/[method:testGetCarbonEmissionsByAddress_matchingAddress()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse$AddressCarbonEmissionResponseBuilder::txCount → KILLED

2.2
Location : builder
Killed by : org.cardanofoundation.explorer.api.service.MiCARServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.MiCARServiceTest]/[method:testGetCarbonEmissionsByAddress_AddressNotValid()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse::builder → KILLED

3.3
Location : carbonEmissionPerTx
Killed by : org.cardanofoundation.explorer.api.service.MiCARServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.MiCARServiceTest]/[method:testGetCarbonEmissionsByAddress_matchingAddress()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse$AddressCarbonEmissionResponseBuilder::carbonEmissionPerTx → KILLED

4.4
Location : address
Killed by : org.cardanofoundation.explorer.api.service.MiCARServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.MiCARServiceTest]/[method:testGetCarbonEmissionsByAddress_matchingAddress()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse$AddressCarbonEmissionResponseBuilder::address → KILLED

5.5
Location : build
Killed by : org.cardanofoundation.explorer.api.service.MiCARServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.MiCARServiceTest]/[method:testGetCarbonEmissionsByAddress_AddressNotValid()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse$AddressCarbonEmissionResponseBuilder::build → KILLED

6.6
Location : stakeAddress
Killed by : org.cardanofoundation.explorer.api.service.MiCARServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.MiCARServiceTest]/[method:testGetCarbonEmissionsByAddress_matchingStakeAddress()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse$AddressCarbonEmissionResponseBuilder::stakeAddress → KILLED

7.7
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse$AddressCarbonEmissionResponseBuilder::toString → NO_COVERAGE

11

1.1
Location : getAddress
Killed by : org.cardanofoundation.explorer.api.service.MiCARServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.MiCARServiceTest]/[method:testGetCarbonEmissionsByAddress_AddressNotValid()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse::getAddress → KILLED

12

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

13

1.1
Location : getTxCount
Killed by : org.cardanofoundation.explorer.api.service.MiCARServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.MiCARServiceTest]/[method:testGetCarbonEmissionsByAddress_AddressNotValid()]
replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse::getTxCount → KILLED

14

1.1
Location : getCarbonEmissionPerTx
Killed by : org.cardanofoundation.explorer.api.service.MiCARServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.MiCARServiceTest]/[method:testGetCarbonEmissionsByAddress_matchingAddress()]
replaced Double return value with 0 for org/cardanofoundation/explorer/api/model/response/micar/AddressCarbonEmissionResponse::getCarbonEmissionPerTx → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2