BlockPropagationResponse.java

1
package org.cardanofoundation.explorer.api.model.response;
2
3
import java.time.LocalDate;
4
5
import lombok.*;
6
7
import com.fasterxml.jackson.annotation.JsonFormat;
8
import com.fasterxml.jackson.annotation.JsonProperty;
9
10 53 1. equals : negated conditional → NO_COVERAGE
2. equals : negated conditional → NO_COVERAGE
3. equals : negated conditional → NO_COVERAGE
4. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
5. equals : negated conditional → NO_COVERAGE
6. equals : negated conditional → NO_COVERAGE
7. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
8. equals : negated conditional → NO_COVERAGE
9. hashCode : negated conditional → NO_COVERAGE
10. hashCode : Replaced integer multiplication with division → NO_COVERAGE
11. equals : negated conditional → NO_COVERAGE
12. hashCode : negated conditional → NO_COVERAGE
13. hashCode : negated conditional → NO_COVERAGE
14. equals : negated conditional → NO_COVERAGE
15. canEqual : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::canEqual → NO_COVERAGE
16. equals : negated conditional → NO_COVERAGE
17. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE
18. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE
19. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
20. equals : negated conditional → NO_COVERAGE
21. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::toString → NO_COVERAGE
22. hashCode : Replaced integer multiplication with division → NO_COVERAGE
23. equals : negated conditional → NO_COVERAGE
24. hashCode : replaced int return with 0 for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::hashCode → NO_COVERAGE
25. equals : negated conditional → NO_COVERAGE
26. equals : negated conditional → NO_COVERAGE
27. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE
28. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE
29. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE
30. equals : negated conditional → NO_COVERAGE
31. equals : negated conditional → NO_COVERAGE
32. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
33. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE
34. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE
35. equals : negated conditional → NO_COVERAGE
36. hashCode : negated conditional → NO_COVERAGE
37. hashCode : Replaced integer multiplication with division → NO_COVERAGE
38. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE
39. hashCode : Replaced integer multiplication with division → NO_COVERAGE
40. hashCode : Replaced integer multiplication with division → NO_COVERAGE
41. hashCode : negated conditional → NO_COVERAGE
42. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE
43. hashCode : Replaced integer multiplication with division → NO_COVERAGE
44. canEqual : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::canEqual → NO_COVERAGE
45. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE
46. equals : negated conditional → NO_COVERAGE
47. equals : negated conditional → NO_COVERAGE
48. equals : negated conditional → NO_COVERAGE
49. equals : negated conditional → NO_COVERAGE
50. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
51. equals : negated conditional → NO_COVERAGE
52. hashCode : negated conditional → NO_COVERAGE
53. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
@Data
11 9 1. blockPropP95 : replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::blockPropP95 → NO_COVERAGE
2. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::build → NO_COVERAGE
3. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::builder → NO_COVERAGE
4. blockPropMean : replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::blockPropMean → NO_COVERAGE
5. blockPropP90 : replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::blockPropP90 → NO_COVERAGE
6. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::toString → NO_COVERAGE
7. epochNo : replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::epochNo → NO_COVERAGE
8. blockPropMedian : replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::blockPropMedian → NO_COVERAGE
9. time : replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::time → NO_COVERAGE
@Builder
12
@AllArgsConstructor
13
@NoArgsConstructor
14
public class BlockPropagationResponse {
15
16
  @JsonProperty("epochNo")
17 1 1. getEpochNo : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::getEpochNo → NO_COVERAGE
  private Integer epochNo;
18
19
  @JsonProperty("time")
20
  @JsonFormat(pattern = "yyyy-MM-dd")
21 1 1. getTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::getTime → NO_COVERAGE
  private LocalDate time;
22
23
  @JsonProperty("blockPropMean")
24 1 1. getBlockPropMean : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::getBlockPropMean → NO_COVERAGE
  private Integer blockPropMean;
25
26
  @JsonProperty("blockPropMedian")
27 1 1. getBlockPropMedian : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::getBlockPropMedian → NO_COVERAGE
  private Integer blockPropMedian;
28
29
  @JsonProperty("blockPropP90")
30 1 1. getBlockPropP90 : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::getBlockPropP90 → NO_COVERAGE
  private Integer blockPropP90;
31
32
  @JsonProperty("blockPropP95")
33 1 1. getBlockPropP95 : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::getBlockPropP95 → NO_COVERAGE
  private Integer blockPropP95;
34
}

Mutations

10

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

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

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

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

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

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

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

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

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

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

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

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

15.15
Location : canEqual
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::canEqual → NO_COVERAGE

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

17.17
Location : equals
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE

18.18
Location : equals
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE

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

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

21.21
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::toString → NO_COVERAGE

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

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

24.24
Location : hashCode
Killed by : none
replaced int return with 0 for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::hashCode → NO_COVERAGE

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

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

27.27
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE

28.28
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE

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

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

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

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

33.33
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE

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

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

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

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

38.38
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE

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

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

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

42.42
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::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 true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::canEqual → NO_COVERAGE

45.45
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::equals → NO_COVERAGE

46.46
Location : equals
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 : hashCode
Killed by : none
Replaced integer addition with subtraction → NO_COVERAGE

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

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

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

11

1.1
Location : blockPropP95
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::blockPropP95 → NO_COVERAGE

2.2
Location : build
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::build → NO_COVERAGE

3.3
Location : builder
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::builder → NO_COVERAGE

4.4
Location : blockPropMean
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::blockPropMean → NO_COVERAGE

5.5
Location : blockPropP90
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::blockPropP90 → NO_COVERAGE

6.6
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::toString → NO_COVERAGE

7.7
Location : epochNo
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::epochNo → NO_COVERAGE

8.8
Location : blockPropMedian
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::blockPropMedian → NO_COVERAGE

9.9
Location : time
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse$BlockPropagationResponseBuilder::time → NO_COVERAGE

17

1.1
Location : getEpochNo
Killed by : none
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::getEpochNo → NO_COVERAGE

21

1.1
Location : getTime
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::getTime → NO_COVERAGE

24

1.1
Location : getBlockPropMean
Killed by : none
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::getBlockPropMean → NO_COVERAGE

27

1.1
Location : getBlockPropMedian
Killed by : none
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::getBlockPropMedian → NO_COVERAGE

30

1.1
Location : getBlockPropP90
Killed by : none
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::getBlockPropP90 → NO_COVERAGE

33

1.1
Location : getBlockPropP95
Killed by : none
replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/BlockPropagationResponse::getBlockPropP95 → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.14.2