WineryData.java

1
package org.cardanofoundation.explorer.api.model.metadatastandard.bolnisi;
2
3
import java.util.List;
4
5
import lombok.AllArgsConstructor;
6
import lombok.Builder;
7
import lombok.Data;
8
import lombok.NoArgsConstructor;
9
10
import com.fasterxml.jackson.annotation.JsonIgnore;
11
12 49 1. equals : negated conditional → NO_COVERAGE
2. hashCode : replaced int return with 0 for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::hashCode → NO_COVERAGE
3. equals : negated conditional → NO_COVERAGE
4. hashCode : Replaced integer multiplication with division → NO_COVERAGE
5. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE
6. equals : negated conditional → NO_COVERAGE
7. hashCode : Replaced integer multiplication with division → NO_COVERAGE
8. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE
9. equals : negated conditional → NO_COVERAGE
10. equals : negated conditional → NO_COVERAGE
11. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
12. equals : negated conditional → NO_COVERAGE
13. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
14. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE
15. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
16. hashCode : negated conditional → NO_COVERAGE
17. equals : negated conditional → NO_COVERAGE
18. equals : negated conditional → NO_COVERAGE
19. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE
20. equals : negated conditional → NO_COVERAGE
21. equals : negated conditional → NO_COVERAGE
22. canEqual : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::canEqual → NO_COVERAGE
23. hashCode : negated conditional → NO_COVERAGE
24. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE
25. hashCode : Replaced integer multiplication with division → NO_COVERAGE
26. hashCode : negated conditional → NO_COVERAGE
27. equals : negated conditional → NO_COVERAGE
28. equals : negated conditional → NO_COVERAGE
29. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE
30. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
31. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::toString → NO_COVERAGE
32. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE
33. hashCode : negated conditional → NO_COVERAGE
34. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE
35. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE
36. hashCode : Replaced integer multiplication with division → NO_COVERAGE
37. equals : negated conditional → NO_COVERAGE
38. hashCode : Replaced integer multiplication with division → NO_COVERAGE
39. hashCode : Replaced integer multiplication with division → NO_COVERAGE
40. equals : negated conditional → NO_COVERAGE
41. hashCode : negated conditional → NO_COVERAGE
42. canEqual : replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::canEqual → NO_COVERAGE
43. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
44. hashCode : negated conditional → NO_COVERAGE
45. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
46. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE
47. equals : negated conditional → NO_COVERAGE
48. equals : negated conditional → NO_COVERAGE
49. equals : negated conditional → NO_COVERAGE
@Data
13 9 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::toString → NO_COVERAGE
2. isPKeyVerified : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::isPKeyVerified → NO_COVERAGE
3. header : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::header → KILLED
4. wineryId : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::wineryId → KILLED
5. isExternalApiAvailable : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::isExternalApiAvailable → KILLED
6. build : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::build → KILLED
7. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::builder → KILLED
8. publicKey : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::publicKey → KILLED
9. lots : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::lots → KILLED
@Builder
14
@AllArgsConstructor
15
@NoArgsConstructor
16
public class WineryData {
17 1 1. getWineryId : replaced return value with "" for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::getWineryId → KILLED
  private String wineryId;
18 2 1. isPKeyVerified : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::isPKeyVerified → SURVIVED
2. isPKeyVerified : replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::isPKeyVerified → KILLED
  private boolean isPKeyVerified;
19 1 1. getLots : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::getLots → KILLED
  private List<LotData> lots;
20 2 1. isExternalApiAvailable : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::isExternalApiAvailable → NO_COVERAGE
2. isExternalApiAvailable : replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::isExternalApiAvailable → NO_COVERAGE
  private boolean isExternalApiAvailable;
21 1 1. getPublicKey : replaced return value with "" for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::getPublicKey → KILLED
  @JsonIgnore private String publicKey;
22 1 1. getHeader : replaced return value with "" for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::getHeader → NO_COVERAGE
  @JsonIgnore private String header;
23
}

Mutations

12

1.1
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : hashCode
Killed by : none
replaced int return with 0 for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::hashCode → NO_COVERAGE

3.3
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

4.4
Location : hashCode
Killed by : none
Replaced integer multiplication with division → NO_COVERAGE

5.5
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE

6.6
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

7.7
Location : hashCode
Killed by : none
Replaced integer multiplication with division → NO_COVERAGE

8.8
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE

9.9
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

10.10
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

11.11
Location : hashCode
Killed by : none
Replaced integer addition with subtraction → NO_COVERAGE

12.12
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

13.13
Location : hashCode
Killed by : none
Replaced integer addition with subtraction → NO_COVERAGE

14.14
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE

15.15
Location : hashCode
Killed by : none
Replaced integer addition with subtraction → NO_COVERAGE

16.16
Location : hashCode
Killed by : none
negated conditional → NO_COVERAGE

17.17
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

18.18
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

19.19
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE

20.20
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

21.21
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

22.22
Location : canEqual
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::canEqual → NO_COVERAGE

23.23
Location : hashCode
Killed by : none
negated conditional → NO_COVERAGE

24.24
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE

25.25
Location : hashCode
Killed by : none
Replaced integer multiplication with division → NO_COVERAGE

26.26
Location : hashCode
Killed by : none
negated conditional → NO_COVERAGE

27.27
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

28.28
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

29.29
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE

30.30
Location : hashCode
Killed by : none
Replaced integer addition with subtraction → NO_COVERAGE

31.31
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::toString → NO_COVERAGE

32.32
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE

33.33
Location : hashCode
Killed by : none
negated conditional → NO_COVERAGE

34.34
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE

35.35
Location : equals
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE

36.36
Location : hashCode
Killed by : none
Replaced integer multiplication with division → NO_COVERAGE

37.37
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

38.38
Location : hashCode
Killed by : none
Replaced integer multiplication with division → NO_COVERAGE

39.39
Location : hashCode
Killed by : none
Replaced integer multiplication with division → NO_COVERAGE

40.40
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

41.41
Location : hashCode
Killed by : none
negated conditional → NO_COVERAGE

42.42
Location : canEqual
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::canEqual → NO_COVERAGE

43.43
Location : hashCode
Killed by : none
Replaced integer addition with subtraction → NO_COVERAGE

44.44
Location : hashCode
Killed by : none
negated conditional → NO_COVERAGE

45.45
Location : hashCode
Killed by : none
Replaced integer addition with subtraction → NO_COVERAGE

46.46
Location : equals
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::equals → NO_COVERAGE

47.47
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

48.48
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

49.49
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

13

1.1
Location : header
Killed by : org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest]/[method:getBolnisiMetadata_whenAllDataValid_shouldReturnValidBolnisiMetadata()]
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::header → KILLED

2.2
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::toString → NO_COVERAGE

3.3
Location : isPKeyVerified
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::isPKeyVerified → NO_COVERAGE

4.4
Location : wineryId
Killed by : org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest]/[method:getBolnisiMetadata_whenAllDataValid_shouldReturnValidBolnisiMetadata()]
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::wineryId → KILLED

5.5
Location : isExternalApiAvailable
Killed by : org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest]/[method:getBolnisiMetadata_whenAllDataValid_shouldReturnValidBolnisiMetadata()]
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::isExternalApiAvailable → KILLED

6.6
Location : build
Killed by : org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest]/[method:getBolnisiMetadata_whenAllDataValid_shouldReturnValidBolnisiMetadata()]
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::build → KILLED

7.7
Location : builder
Killed by : org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest]/[method:getBolnisiMetadata_whenAllDataValid_shouldReturnValidBolnisiMetadata()]
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::builder → KILLED

8.8
Location : publicKey
Killed by : org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest]/[method:getBolnisiMetadata_whenAllDataValid_shouldReturnValidBolnisiMetadata()]
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::publicKey → KILLED

9.9
Location : lots
Killed by : org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest]/[method:getBolnisiMetadata_whenAllDataValid_shouldReturnValidBolnisiMetadata()]
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData$WineryDataBuilder::lots → KILLED

17

1.1
Location : getWineryId
Killed by : org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest]/[method:getBolnisiMetadata_whenAllDataValid_shouldReturnValidBolnisiMetadata()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::getWineryId → KILLED

18

1.1
Location : isPKeyVerified
Killed by : org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest]/[method:getBolnisiMetadata_whenAllDataValid_shouldReturnValidBolnisiMetadata()]
replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::isPKeyVerified → KILLED

2.2
Location : isPKeyVerified
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::isPKeyVerified → SURVIVED

19

1.1
Location : getLots
Killed by : org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest]/[method:getBolnisiMetadata_whenAllDataValid_shouldReturnValidBolnisiMetadata()]
replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::getLots → KILLED

20

1.1
Location : isExternalApiAvailable
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::isExternalApiAvailable → NO_COVERAGE

2.2
Location : isExternalApiAvailable
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::isExternalApiAvailable → NO_COVERAGE

21

1.1
Location : getPublicKey
Killed by : org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest]/[method:getBolnisiMetadata_whenAllDataValid_shouldReturnValidBolnisiMetadata()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::getPublicKey → KILLED

22

1.1
Location : getHeader
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/WineryData::getHeader → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.14.2