1 | package org.cardanofoundation.explorer.api.model.request.pool.report; | |
2 | ||
3 | import lombok.AllArgsConstructor; | |
4 | import lombok.Builder; | |
5 | import lombok.Data; | |
6 | import lombok.NoArgsConstructor; | |
7 | ||
8 | import org.cardanofoundation.explorer.api.common.constant.CommonConstant; | |
9 | import org.cardanofoundation.explorer.common.entity.explorer.PoolReportHistory; | |
10 | import org.cardanofoundation.explorer.common.entity.explorer.ReportHistory; | |
11 | import org.cardanofoundation.explorer.common.validation.length.LengthValid; | |
12 | ||
13 |
92
1. hashCode : negated conditional → NO_COVERAGE 2. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → NO_COVERAGE 3. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 4. hashCode : replaced int return with 0 for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::hashCode → NO_COVERAGE 5. equals : negated conditional → NO_COVERAGE 6. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → NO_COVERAGE 7. equals : negated conditional → NO_COVERAGE 8. equals : negated conditional → NO_COVERAGE 9. equals : negated conditional → NO_COVERAGE 10. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → NO_COVERAGE 11. hashCode : Replaced integer multiplication with division → NO_COVERAGE 12. equals : negated conditional → NO_COVERAGE 13. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 14. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::toString → NO_COVERAGE 15. hashCode : Replaced integer multiplication with division → NO_COVERAGE 16. hashCode : negated conditional → NO_COVERAGE 17. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 18. hashCode : negated conditional → NO_COVERAGE 19. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → NO_COVERAGE 20. hashCode : Replaced integer multiplication with division → NO_COVERAGE 21. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → NO_COVERAGE 22. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 23. hashCode : negated conditional → NO_COVERAGE 24. equals : negated conditional → SURVIVED 25. hashCode : negated conditional → NO_COVERAGE 26. hashCode : Replaced integer multiplication with division → NO_COVERAGE 27. hashCode : Replaced integer multiplication with division → NO_COVERAGE 28. equals : negated conditional → NO_COVERAGE 29. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → NO_COVERAGE 30. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 31. hashCode : negated conditional → NO_COVERAGE 32. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → NO_COVERAGE 33. equals : negated conditional → NO_COVERAGE 34. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → NO_COVERAGE 35. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → NO_COVERAGE 36. hashCode : Replaced integer multiplication with division → NO_COVERAGE 37. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → NO_COVERAGE 38. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 39. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 40. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → NO_COVERAGE 41. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → NO_COVERAGE 42. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → NO_COVERAGE 43. hashCode : Replaced integer multiplication with division → NO_COVERAGE 44. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → NO_COVERAGE 45. hashCode : negated conditional → NO_COVERAGE 46. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 47. hashCode : Replaced integer multiplication with division → NO_COVERAGE 48. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 49. hashCode : Replaced integer multiplication with division → NO_COVERAGE 50. hashCode : negated conditional → NO_COVERAGE 51. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → NO_COVERAGE 52. hashCode : Replaced integer multiplication with division → NO_COVERAGE 53. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 54. hashCode : negated conditional → NO_COVERAGE 55. hashCode : negated conditional → NO_COVERAGE 56. equals : negated conditional → NO_COVERAGE 57. equals : negated conditional → NO_COVERAGE 58. hashCode : Replaced integer multiplication with division → NO_COVERAGE 59. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 60. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 61. equals : negated conditional → NO_COVERAGE 62. canEqual : replaced boolean return with true for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::canEqual → SURVIVED 63. equals : negated conditional → NO_COVERAGE 64. hashCode : Replaced integer multiplication with division → NO_COVERAGE 65. hashCode : negated conditional → NO_COVERAGE 66. equals : negated conditional → KILLED 67. equals : negated conditional → KILLED 68. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::equals → KILLED 69. equals : negated conditional → KILLED 70. equals : negated conditional → 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. canEqual : replaced boolean return with false for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::canEqual → 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. equals : negated conditional → KILLED 84. equals : negated conditional → KILLED 85. equals : negated conditional → KILLED 86. equals : negated conditional → KILLED 87. equals : negated conditional → KILLED 88. equals : negated conditional → KILLED 89. equals : negated conditional → KILLED 90. equals : negated conditional → KILLED 91. equals : negated conditional → KILLED 92. equals : negated conditional → KILLED |
@Data |
14 |
15
1. zoneOffset : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest$PoolReportCreateRequestBuilder::zoneOffset → NO_COVERAGE 2. timePattern : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest$PoolReportCreateRequestBuilder::timePattern → NO_COVERAGE 3. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest$PoolReportCreateRequestBuilder::toString → NO_COVERAGE 4. dateFormat : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest$PoolReportCreateRequestBuilder::dateFormat → NO_COVERAGE 5. eventReward : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest$PoolReportCreateRequestBuilder::eventReward → KILLED 6. eventDeregistration : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest$PoolReportCreateRequestBuilder::eventDeregistration → KILLED 7. eventPoolUpdate : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest$PoolReportCreateRequestBuilder::eventPoolUpdate → KILLED 8. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::builder → KILLED 9. build : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest$PoolReportCreateRequestBuilder::build → KILLED 10. reportName : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest$PoolReportCreateRequestBuilder::reportName → KILLED 11. isFeesPaid : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest$PoolReportCreateRequestBuilder::isFeesPaid → KILLED 12. isPoolSize : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest$PoolReportCreateRequestBuilder::isPoolSize → KILLED 13. eventRegistration : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest$PoolReportCreateRequestBuilder::eventRegistration → KILLED 14. epochRanges : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest$PoolReportCreateRequestBuilder::epochRanges → KILLED 15. poolId : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest$PoolReportCreateRequestBuilder::poolId → KILLED |
@Builder |
15 | @NoArgsConstructor | |
16 | @AllArgsConstructor | |
17 | public class PoolReportCreateRequest { | |
18 | ||
19 |
1
1. getReportName : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getReportName → SURVIVED |
private String reportName; |
20 | ||
21 | @LengthValid(CommonConstant.POOL_VIEW_LENGTH) | |
22 |
1
1. getPoolId : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getPoolId → SURVIVED |
private String poolId; |
23 | ||
24 |
2
1. getIsPoolSize : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getIsPoolSize → SURVIVED 2. getIsPoolSize : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getIsPoolSize → SURVIVED |
private Boolean isPoolSize; |
25 | ||
26 |
2
1. getIsFeesPaid : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getIsFeesPaid → SURVIVED 2. getIsFeesPaid : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getIsFeesPaid → SURVIVED |
private Boolean isFeesPaid; |
27 | ||
28 |
2
1. getEventRegistration : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getEventRegistration → SURVIVED 2. getEventRegistration : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getEventRegistration → SURVIVED |
private Boolean eventRegistration; |
29 | ||
30 |
2
1. getEventDeregistration : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getEventDeregistration → SURVIVED 2. getEventDeregistration : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getEventDeregistration → SURVIVED |
private Boolean eventDeregistration; |
31 | ||
32 |
2
1. getEventReward : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getEventReward → SURVIVED 2. getEventReward : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getEventReward → SURVIVED |
private Boolean eventReward; |
33 | ||
34 |
2
1. getEventPoolUpdate : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getEventPoolUpdate → SURVIVED 2. getEventPoolUpdate : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getEventPoolUpdate → SURVIVED |
private Boolean eventPoolUpdate; |
35 | ||
36 |
1
1. getEpochRanges : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getEpochRanges → KILLED |
private Integer[] epochRanges; |
37 |
1
1. getTimePattern : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getTimePattern → SURVIVED |
private String timePattern; |
38 |
1
1. getZoneOffset : replaced Long return value with 0L for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getZoneOffset → SURVIVED |
private Long zoneOffset; // diff with UTC in minutes |
39 |
1
1. getDateFormat : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::getDateFormat → SURVIVED |
private String dateFormat; |
40 | ||
41 | public PoolReportHistory toEntity(ReportHistory reportHistory) { | |
42 |
1
1. toEntity : replaced return value with null for org/cardanofoundation/explorer/api/model/request/pool/report/PoolReportCreateRequest::toEntity → KILLED |
return PoolReportHistory.builder() |
43 | .poolView(this.poolId) | |
44 | .isPoolSize(this.isPoolSize) | |
45 | .isFeesPaid(this.isFeesPaid) | |
46 | .beginEpoch(this.epochRanges[0]) | |
47 | .endEpoch(this.epochRanges[1]) | |
48 | .eventRegistration(this.eventRegistration) | |
49 | .eventReward(this.eventReward) | |
50 | .eventDeregistration(this.eventDeregistration) | |
51 | .eventPoolUpdate(this.eventPoolUpdate) | |
52 | .reportHistory(reportHistory) | |
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 86.86 87.87 88.88 89.89 90.90 91.91 92.92 |
|
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 15.15 |
|
19 |
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 |
|
37 |
1.1 |
|
38 |
1.1 |
|
39 |
1.1 |
|
42 |
1.1 |