1 | package org.cardanofoundation.explorer.api.model.response.pool.report; | |
2 | ||
3 | import java.sql.Timestamp; | |
4 | ||
5 | import lombok.AllArgsConstructor; | |
6 | import lombok.Builder; | |
7 | import lombok.Data; | |
8 | import lombok.NoArgsConstructor; | |
9 | ||
10 | import org.cardanofoundation.explorer.common.entity.enumeration.ReportStatus; | |
11 | import org.cardanofoundation.explorer.common.entity.explorer.PoolReportHistory; | |
12 | ||
13 |
85
1. hashCode : negated conditional → NO_COVERAGE 2. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::equals → NO_COVERAGE 3. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::equals → NO_COVERAGE 4. hashCode : replaced int return with 0 for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::hashCode → NO_COVERAGE 5. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::equals → NO_COVERAGE 6. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::equals → NO_COVERAGE 7. hashCode : Replaced integer multiplication with division → NO_COVERAGE 8. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::equals → NO_COVERAGE 9. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 10. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::toString → NO_COVERAGE 11. hashCode : negated conditional → NO_COVERAGE 12. hashCode : Replaced integer multiplication with division → NO_COVERAGE 13. equals : negated conditional → NO_COVERAGE 14. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 15. hashCode : negated conditional → NO_COVERAGE 16. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::equals → NO_COVERAGE 17. equals : negated conditional → SURVIVED 18. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::equals → NO_COVERAGE 19. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::equals → NO_COVERAGE 20. hashCode : Replaced integer multiplication with division → NO_COVERAGE 21. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 22. hashCode : negated conditional → NO_COVERAGE 23. hashCode : Replaced integer multiplication with division → NO_COVERAGE 24. hashCode : negated conditional → NO_COVERAGE 25. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 26. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 27. equals : negated conditional → NO_COVERAGE 28. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::equals → NO_COVERAGE 29. hashCode : negated conditional → NO_COVERAGE 30. equals : negated conditional → NO_COVERAGE 31. hashCode : Replaced integer multiplication with division → NO_COVERAGE 32. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::equals → NO_COVERAGE 33. equals : negated conditional → NO_COVERAGE 34. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::equals → NO_COVERAGE 35. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 36. equals : negated conditional → NO_COVERAGE 37. hashCode : negated conditional → NO_COVERAGE 38. hashCode : Replaced integer multiplication with division → NO_COVERAGE 39. equals : negated conditional → NO_COVERAGE 40. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 41. equals : negated conditional → NO_COVERAGE 42. equals : negated conditional → NO_COVERAGE 43. hashCode : Replaced integer multiplication with division → NO_COVERAGE 44. hashCode : negated conditional → NO_COVERAGE 45. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 46. canEqual : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::canEqual → SURVIVED 47. hashCode : Replaced integer multiplication with division → NO_COVERAGE 48. equals : negated conditional → NO_COVERAGE 49. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 50. equals : negated conditional → NO_COVERAGE 51. hashCode : negated conditional → NO_COVERAGE 52. hashCode : Replaced integer multiplication with division → NO_COVERAGE 53. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 54. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::equals → NO_COVERAGE 55. hashCode : Replaced integer multiplication with division → NO_COVERAGE 56. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::equals → NO_COVERAGE 57. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::equals → NO_COVERAGE 58. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 59. hashCode : Replaced integer multiplication with division → NO_COVERAGE 60. hashCode : negated conditional → NO_COVERAGE 61. equals : negated conditional → KILLED 62. equals : negated conditional → KILLED 63. equals : negated conditional → KILLED 64. equals : negated conditional → KILLED 65. equals : negated conditional → KILLED 66. equals : negated conditional → KILLED 67. equals : negated conditional → KILLED 68. equals : negated conditional → KILLED 69. equals : negated conditional → KILLED 70. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::equals → KILLED 71. equals : negated conditional → KILLED 72. equals : negated conditional → KILLED 73. equals : negated conditional → KILLED 74. equals : negated conditional → KILLED 75. equals : negated conditional → KILLED 76. equals : negated conditional → KILLED 77. equals : negated conditional → KILLED 78. equals : negated conditional → KILLED 79. equals : negated conditional → KILLED 80. equals : negated conditional → KILLED 81. equals : negated conditional → KILLED 82. equals : negated conditional → KILLED 83. canEqual : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::canEqual → KILLED 84. equals : negated conditional → KILLED 85. equals : negated conditional → KILLED |
@Data |
14 |
14
1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse$PoolReportListResponseBuilder::toString → NO_COVERAGE 2. eventDeregistration : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse$PoolReportListResponseBuilder::eventDeregistration → KILLED 3. epochRanges : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse$PoolReportListResponseBuilder::epochRanges → KILLED 4. isFeesPaid : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse$PoolReportListResponseBuilder::isFeesPaid → KILLED 5. eventPoolUpdate : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse$PoolReportListResponseBuilder::eventPoolUpdate → KILLED 6. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse$PoolReportListResponseBuilder::build → KILLED 7. eventRegistration : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse$PoolReportListResponseBuilder::eventRegistration → KILLED 8. reportName : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse$PoolReportListResponseBuilder::reportName → KILLED 9. createdAt : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse$PoolReportListResponseBuilder::createdAt → KILLED 10. status : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse$PoolReportListResponseBuilder::status → KILLED 11. isPoolSize : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse$PoolReportListResponseBuilder::isPoolSize → KILLED 12. eventReward : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse$PoolReportListResponseBuilder::eventReward → KILLED 13. reportId : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse$PoolReportListResponseBuilder::reportId → KILLED 14. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::builder → KILLED |
@Builder |
15 | @AllArgsConstructor | |
16 | @NoArgsConstructor | |
17 | public class PoolReportListResponse { | |
18 |
1
1. getReportId : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getReportId → KILLED |
private Long reportId; |
19 | ||
20 |
1
1. getReportName : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getReportName → KILLED |
private String reportName; |
21 | ||
22 |
1
1. getEpochRanges : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getEpochRanges → SURVIVED |
private Integer[] epochRanges; |
23 | ||
24 |
2
1. getIsPoolSize : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getIsPoolSize → SURVIVED 2. getIsPoolSize : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getIsPoolSize → SURVIVED |
private Boolean isPoolSize; |
25 | ||
26 |
2
1. getIsFeesPaid : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getIsFeesPaid → SURVIVED 2. getIsFeesPaid : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getIsFeesPaid → SURVIVED |
private Boolean isFeesPaid; |
27 | ||
28 |
2
1. getEventRegistration : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getEventRegistration → SURVIVED 2. getEventRegistration : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getEventRegistration → SURVIVED |
private Boolean eventRegistration; |
29 | ||
30 |
2
1. getEventDeregistration : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getEventDeregistration → SURVIVED 2. getEventDeregistration : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getEventDeregistration → SURVIVED |
private Boolean eventDeregistration; |
31 | ||
32 |
2
1. getEventReward : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getEventReward → SURVIVED 2. getEventReward : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getEventReward → SURVIVED |
private Boolean eventReward; |
33 | ||
34 |
2
1. getEventPoolUpdate : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getEventPoolUpdate → SURVIVED 2. getEventPoolUpdate : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getEventPoolUpdate → SURVIVED |
private Boolean eventPoolUpdate; |
35 | ||
36 |
1
1. getCreatedAt : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getCreatedAt → KILLED |
private Timestamp createdAt; |
37 | ||
38 |
1
1. getStatus : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::getStatus → SURVIVED |
private ReportStatus status; |
39 | ||
40 | public static PoolReportListResponse toDomain(PoolReportHistory entity) { | |
41 |
1
1. toDomain : replaced return value with null for org/cardanofoundation/explorer/api/model/response/pool/report/PoolReportListResponse::toDomain → KILLED |
return PoolReportListResponse.builder() |
42 | .reportId(entity.getId()) | |
43 | .reportName(entity.getReportHistory().getReportName()) | |
44 | .epochRanges(new Integer[] {entity.getBeginEpoch(), entity.getEndEpoch()}) | |
45 | .isPoolSize(entity.getIsPoolSize()) | |
46 | .isFeesPaid(entity.getIsFeesPaid()) | |
47 | .eventRegistration(entity.getEventRegistration()) | |
48 | .eventDeregistration(entity.getEventDeregistration()) | |
49 | .eventReward(entity.getEventReward()) | |
50 | .eventPoolUpdate(entity.getEventPoolUpdate()) | |
51 | .createdAt(entity.getReportHistory().getCreatedAt()) | |
52 | .status(entity.getReportHistory().getStatus()) | |
53 | .build(); | |
54 | } | |
55 | } | |
Mutations | ||
13 |
1.1 2.2 3.3 4.4 5.5 6.6 7.7 8.8 9.9 10.10 11.11 12.12 13.13 14.14 15.15 16.16 17.17 18.18 19.19 20.20 21.21 22.22 23.23 24.24 25.25 26.26 27.27 28.28 29.29 30.30 31.31 32.32 33.33 34.34 35.35 36.36 37.37 38.38 39.39 40.40 41.41 42.42 43.43 44.44 45.45 46.46 47.47 48.48 49.49 50.50 51.51 52.52 53.53 54.54 55.55 56.56 57.57 58.58 59.59 60.60 61.61 62.62 63.63 64.64 65.65 66.66 67.67 68.68 69.69 70.70 71.71 72.72 73.73 74.74 75.75 76.76 77.77 78.78 79.79 80.80 81.81 82.82 83.83 84.84 85.85 |
|
14 |
1.1 2.2 3.3 4.4 5.5 6.6 7.7 8.8 9.9 10.10 11.11 12.12 13.13 14.14 |
|
18 |
1.1 |
|
20 |
1.1 |
|
22 |
1.1 |
|
24 |
1.1 2.2 |
|
26 |
1.1 2.2 |
|
28 |
1.1 2.2 |
|
30 |
1.1 2.2 |
|
32 |
1.1 2.2 |
|
34 |
1.1 2.2 |
|
36 |
1.1 |
|
38 |
1.1 |
|
41 |
1.1 |