1 | package org.cardanofoundation.explorer.api.model.response.drep; | |
2 | ||
3 | import static org.cardanofoundation.explorer.api.config.JacksonMapperDateConfig.DATE_TIME_FORMAT; | |
4 | ||
5 | import java.math.BigInteger; | |
6 | import java.util.Date; | |
7 | ||
8 | import jakarta.persistence.EnumType; | |
9 | import jakarta.persistence.Enumerated; | |
10 | ||
11 | import lombok.AllArgsConstructor; | |
12 | import lombok.Builder; | |
13 | import lombok.Data; | |
14 | import lombok.NoArgsConstructor; | |
15 | ||
16 | import com.fasterxml.jackson.annotation.JsonFormat; | |
17 | ||
18 | import org.cardanofoundation.explorer.common.entity.enumeration.DRepStatus; | |
19 | import org.cardanofoundation.explorer.common.entity.enumeration.DRepType; | |
20 | ||
21 |
88
1. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::equals → NO_COVERAGE 2. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::equals → NO_COVERAGE 3. hashCode : Replaced integer multiplication with division → NO_COVERAGE 4. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::toString → NO_COVERAGE 5. hashCode : negated conditional → NO_COVERAGE 6. hashCode : Replaced integer multiplication with division → NO_COVERAGE 7. equals : negated conditional → NO_COVERAGE 8. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::equals → NO_COVERAGE 9. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 10. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::equals → NO_COVERAGE 11. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::equals → NO_COVERAGE 12. canEqual : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::canEqual → NO_COVERAGE 13. hashCode : negated conditional → NO_COVERAGE 14. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::equals → NO_COVERAGE 15. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::equals → NO_COVERAGE 16. hashCode : Replaced integer multiplication with division → NO_COVERAGE 17. equals : negated conditional → NO_COVERAGE 18. equals : negated conditional → NO_COVERAGE 19. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 20. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::equals → NO_COVERAGE 21. equals : negated conditional → NO_COVERAGE 22. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::equals → NO_COVERAGE 23. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 24. hashCode : negated conditional → NO_COVERAGE 25. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::equals → NO_COVERAGE 26. equals : 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/response/drep/DRepDetailsResponse::equals → 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/drep/DRepDetailsResponse::equals → NO_COVERAGE 33. hashCode : negated conditional → NO_COVERAGE 34. equals : negated conditional → NO_COVERAGE 35. equals : negated conditional → NO_COVERAGE 36. hashCode : Replaced integer multiplication with division → NO_COVERAGE 37. equals : negated conditional → NO_COVERAGE 38. equals : negated conditional → NO_COVERAGE 39. equals : negated conditional → NO_COVERAGE 40. equals : negated conditional → NO_COVERAGE 41. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 42. equals : negated conditional → NO_COVERAGE 43. equals : negated conditional → NO_COVERAGE 44. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 45. hashCode : negated conditional → 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. equals : negated conditional → NO_COVERAGE 51. equals : negated conditional → NO_COVERAGE 52. equals : negated conditional → NO_COVERAGE 53. equals : negated conditional → NO_COVERAGE 54. hashCode : replaced int return with 0 for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::hashCode → NO_COVERAGE 55. equals : negated conditional → NO_COVERAGE 56. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::equals → NO_COVERAGE 57. hashCode : Replaced integer multiplication with division → NO_COVERAGE 58. equals : negated conditional → NO_COVERAGE 59. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 60. equals : negated conditional → NO_COVERAGE 61. hashCode : negated conditional → NO_COVERAGE 62. equals : negated conditional → NO_COVERAGE 63. canEqual : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::canEqual → NO_COVERAGE 64. equals : negated conditional → NO_COVERAGE 65. equals : negated conditional → NO_COVERAGE 66. equals : negated conditional → NO_COVERAGE 67. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 68. equals : negated conditional → NO_COVERAGE 69. hashCode : Replaced integer multiplication with division → NO_COVERAGE 70. hashCode : negated conditional → NO_COVERAGE 71. hashCode : negated conditional → NO_COVERAGE 72. equals : negated conditional → NO_COVERAGE 73. equals : negated conditional → NO_COVERAGE 74. hashCode : Replaced integer multiplication with division → NO_COVERAGE 75. equals : negated conditional → NO_COVERAGE 76. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 77. hashCode : negated conditional → NO_COVERAGE 78. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 79. equals : negated conditional → NO_COVERAGE 80. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::equals → NO_COVERAGE 81. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::equals → NO_COVERAGE 82. hashCode : Replaced integer multiplication with division → NO_COVERAGE 83. hashCode : negated conditional → NO_COVERAGE 84. hashCode : Replaced integer multiplication with division → NO_COVERAGE 85. hashCode : Replaced integer multiplication with division → NO_COVERAGE 86. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 87. hashCode : negated conditional → NO_COVERAGE 88. hashCode : Replaced integer addition with subtraction → NO_COVERAGE |
@Data |
22 |
14
1. type : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse$DRepDetailsResponseBuilder::type → SURVIVED 2. status : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse$DRepDetailsResponseBuilder::status → SURVIVED 3. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse$DRepDetailsResponseBuilder::toString → NO_COVERAGE 4. createdAt : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse$DRepDetailsResponseBuilder::createdAt → SURVIVED 5. anchorUrl : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse$DRepDetailsResponseBuilder::anchorUrl → SURVIVED 6. anchorHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse$DRepDetailsResponseBuilder::anchorHash → SURVIVED 7. delegators : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse$DRepDetailsResponseBuilder::delegators → KILLED 8. liveStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse$DRepDetailsResponseBuilder::liveStake → KILLED 9. votingParticipation : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse$DRepDetailsResponseBuilder::votingParticipation → KILLED 10. drepId : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse$DRepDetailsResponseBuilder::drepId → KILLED 11. drepHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse$DRepDetailsResponseBuilder::drepHash → KILLED 12. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::builder → KILLED 13. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse$DRepDetailsResponseBuilder::build → KILLED 14. activeVoteStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse$DRepDetailsResponseBuilder::activeVoteStake → KILLED |
@Builder |
23 | @AllArgsConstructor | |
24 | @NoArgsConstructor | |
25 | public class DRepDetailsResponse { | |
26 |
1
1. getDrepHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::getDrepHash → KILLED |
private String drepHash; |
27 |
1
1. getDrepId : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::getDrepId → KILLED |
private String drepId; |
28 |
1
1. getAnchorUrl : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::getAnchorUrl → SURVIVED |
private String anchorUrl; |
29 |
1
1. getAnchorHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::getAnchorHash → SURVIVED |
private String anchorHash; |
30 |
1
1. getDelegators : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::getDelegators → KILLED |
private Integer delegators; |
31 |
1
1. getActiveVoteStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::getActiveVoteStake → SURVIVED |
private BigInteger activeVoteStake; |
32 |
1
1. getLiveStake : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::getLiveStake → KILLED |
private BigInteger liveStake; |
33 | ||
34 | @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DATE_TIME_FORMAT) | |
35 |
1
1. getCreatedAt : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::getCreatedAt → SURVIVED |
private Date createdAt; |
36 | ||
37 | @Enumerated(EnumType.STRING) | |
38 |
1
1. getStatus : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::getStatus → SURVIVED |
private DRepStatus status; |
39 | ||
40 | @Enumerated(EnumType.STRING) | |
41 |
1
1. getType : replaced return value with null for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::getType → SURVIVED |
private DRepType type; |
42 | ||
43 |
1
1. getVotingParticipation : replaced Float return value with 0 for org/cardanofoundation/explorer/api/model/response/drep/DRepDetailsResponse::getVotingParticipation → KILLED |
private Float votingParticipation; |
44 | } | |
Mutations | ||
21 |
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 |
|
22 |
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 |
|
26 |
1.1 |
|
27 |
1.1 |
|
28 |
1.1 |
|
29 |
1.1 |
|
30 |
1.1 |
|
31 |
1.1 |
|
32 |
1.1 |
|
35 |
1.1 |
|
38 |
1.1 |
|
41 |
1.1 |
|
43 |
1.1 |