MetadataBolnisi.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 54 1. equals : negated conditional → NO_COVERAGE
2. equals : negated conditional → NO_COVERAGE
3. hashCode : Replaced integer multiplication with division → NO_COVERAGE
4. equals : negated conditional → NO_COVERAGE
5. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::equals → NO_COVERAGE
6. equals : negated conditional → NO_COVERAGE
7. equals : negated conditional → NO_COVERAGE
8. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::equals → NO_COVERAGE
9. equals : negated conditional → NO_COVERAGE
10. hashCode : Replaced integer multiplication with division → NO_COVERAGE
11. hashCode : negated conditional → NO_COVERAGE
12. equals : negated conditional → NO_COVERAGE
13. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
14. equals : negated conditional → NO_COVERAGE
15. equals : negated conditional → NO_COVERAGE
16. equals : negated conditional → NO_COVERAGE
17. hashCode : negated conditional → NO_COVERAGE
18. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::equals → NO_COVERAGE
19. canEqual : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::canEqual → NO_COVERAGE
20. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
21. hashCode : negated conditional → NO_COVERAGE
22. equals : negated conditional → NO_COVERAGE
23. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
24. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::equals → NO_COVERAGE
25. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::toString → NO_COVERAGE
26. equals : negated conditional → NO_COVERAGE
27. equals : negated conditional → NO_COVERAGE
28. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
29. hashCode : Replaced integer multiplication with division → NO_COVERAGE
30. hashCode : Replaced integer multiplication with division → NO_COVERAGE
31. equals : negated conditional → NO_COVERAGE
32. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::equals → NO_COVERAGE
33. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
34. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
35. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::equals → NO_COVERAGE
36. hashCode : Replaced integer multiplication with division → NO_COVERAGE
37. hashCode : negated conditional → NO_COVERAGE
38. hashCode : replaced int return with 0 for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::hashCode → NO_COVERAGE
39. hashCode : Replaced integer multiplication with division → NO_COVERAGE
40. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::equals → NO_COVERAGE
41. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::equals → NO_COVERAGE
42. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::equals → NO_COVERAGE
43. hashCode : Replaced integer multiplication with division → NO_COVERAGE
44. canEqual : replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::canEqual → NO_COVERAGE
45. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::equals → NO_COVERAGE
46. hashCode : negated conditional → NO_COVERAGE
47. equals : negated conditional → NO_COVERAGE
48. equals : negated conditional → NO_COVERAGE
49. equals : negated conditional → NO_COVERAGE
50. equals : negated conditional → NO_COVERAGE
51. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
52. hashCode : negated conditional → NO_COVERAGE
53. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::equals → NO_COVERAGE
54. hashCode : negated conditional → NO_COVERAGE
@Data
13 10 1. isCidVerified : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::isCidVerified → NO_COVERAGE
2. certData : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::certData → NO_COVERAGE
3. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::toString → NO_COVERAGE
4. tag : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::tag → SURVIVED
5. cid : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::cid → SURVIVED
6. isExternalApiAvailable : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::isExternalApiAvailable → SURVIVED
7. wineryData : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::wineryData → SURVIVED
8. isOnChainMetadataValid : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::isOnChainMetadataValid → SURVIVED
9. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::builder → KILLED
10. build : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::build → KILLED
@Builder
14
@AllArgsConstructor
15
@NoArgsConstructor
16
public class MetadataBolnisi {
17 1 1. getCid : replaced return value with "" for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::getCid → KILLED
  private String cid;
18 1 1. getTag : replaced return value with "" for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::getTag → KILLED
  private String tag;
19 2 1. isCidVerified : replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::isCidVerified → KILLED
2. isCidVerified : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::isCidVerified → KILLED
  private boolean isCidVerified;
20 2 1. isExternalApiAvailable : replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::isExternalApiAvailable → KILLED
2. isExternalApiAvailable : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::isExternalApiAvailable → KILLED
  private boolean isExternalApiAvailable;
21 1 1. getWineryData : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::getWineryData → KILLED
  private List<WineryData> wineryData;
22 1 1. getCertData : replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::getCertData → NO_COVERAGE
  private CertData certData;
23 2 1. isOnChainMetadataValid : replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::isOnChainMetadataValid → KILLED
2. isOnChainMetadataValid : replaced boolean return with false for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::isOnChainMetadataValid → KILLED
  @JsonIgnore private boolean isOnChainMetadataValid;
24
}

Mutations

12

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

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

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

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

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

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

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

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

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

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

11.11
Location : hashCode
Killed by : none
negated conditional → 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
negated conditional → NO_COVERAGE

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

46.46
Location : hashCode
Killed by : none
negated conditional → 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

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

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

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

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

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

13

1.1
Location : isCidVerified
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::isCidVerified → NO_COVERAGE

2.2
Location : certData
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::certData → NO_COVERAGE

3.3
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::toString → NO_COVERAGE

4.4
Location : tag
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::tag → SURVIVED

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

6.6
Location : cid
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::cid → SURVIVED

7.7
Location : isExternalApiAvailable
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::isExternalApiAvailable → SURVIVED

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

9.9
Location : wineryData
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::wineryData → SURVIVED

10.10
Location : isOnChainMetadataValid
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi$MetadataBolnisiBuilder::isOnChainMetadataValid → SURVIVED

17

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

18

1.1
Location : getTag
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/MetadataBolnisi::getTag → KILLED

19

1.1
Location : isCidVerified
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/MetadataBolnisi::isCidVerified → KILLED

2.2
Location : isCidVerified
Killed by : org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest]/[method:getBolnisiMetadata_whenOnChainMetadataInvalid_shouldReturnInvalidBolnisiMetadata()]
replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::isCidVerified → KILLED

20

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

2.2
Location : isExternalApiAvailable
Killed by : org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.BolnisiMetadataServiceTest]/[method:getBolnisiMetadata_whenExternalApiNotAvailable_shouldReturnInvalidBolnisiMetadata()]
replaced boolean return with true for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::isExternalApiAvailable → KILLED

21

1.1
Location : getWineryData
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/MetadataBolnisi::getWineryData → KILLED

22

1.1
Location : getCertData
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/metadatastandard/bolnisi/MetadataBolnisi::getCertData → NO_COVERAGE

23

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

2.2
Location : isOnChainMetadataValid
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/MetadataBolnisi::isOnChainMetadataValid → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2