1 | package org.cardanofoundation.explorer.api.config.redis.sentinel; | |
2 | ||
3 | import java.util.List; | |
4 | ||
5 | import lombok.AccessLevel; | |
6 | import lombok.Data; | |
7 | import lombok.experimental.FieldDefaults; | |
8 | ||
9 | import org.springframework.boot.context.properties.ConfigurationProperties; | |
10 | import org.springframework.context.annotation.Configuration; | |
11 | ||
12 | /** | |
13 | * @author huynv | |
14 | * @since 04/08/2021 | |
15 | */ | |
16 |
81
1. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 2. equals : negated conditional → NO_COVERAGE 3. equals : negated conditional → NO_COVERAGE 4. equals : negated conditional → NO_COVERAGE 5. hashCode : Replaced integer multiplication with division → NO_COVERAGE 6. equals : negated conditional → NO_COVERAGE 7. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::equals → NO_COVERAGE 8. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 9. hashCode : negated conditional → NO_COVERAGE 10. hashCode : Replaced integer multiplication with division → NO_COVERAGE 11. equals : negated conditional → NO_COVERAGE 12. equals : negated conditional → NO_COVERAGE 13. equals : negated conditional → NO_COVERAGE 14. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 15. equals : negated conditional → NO_COVERAGE 16. equals : negated conditional → NO_COVERAGE 17. equals : negated conditional → NO_COVERAGE 18. equals : negated conditional → NO_COVERAGE 19. toString : replaced return value with "" for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::toString → NO_COVERAGE 20. equals : negated conditional → NO_COVERAGE 21. equals : negated conditional → NO_COVERAGE 22. hashCode : negated conditional → NO_COVERAGE 23. hashCode : Replaced integer multiplication with division → NO_COVERAGE 24. equals : negated conditional → NO_COVERAGE 25. equals : negated conditional → NO_COVERAGE 26. canEqual : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::canEqual → NO_COVERAGE 27. hashCode : negated conditional → NO_COVERAGE 28. hashCode : Replaced integer multiplication with division → NO_COVERAGE 29. hashCode : negated conditional → NO_COVERAGE 30. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 31. hashCode : negated conditional → NO_COVERAGE 32. hashCode : Replaced integer multiplication with division → NO_COVERAGE 33. equals : negated conditional → NO_COVERAGE 34. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 35. hashCode : replaced int return with 0 for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::hashCode → NO_COVERAGE 36. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::equals → NO_COVERAGE 37. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::equals → NO_COVERAGE 38. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 39. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::equals → NO_COVERAGE 40. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::equals → NO_COVERAGE 41. hashCode : Replaced integer multiplication with division → NO_COVERAGE 42. hashCode : negated conditional → NO_COVERAGE 43. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::equals → NO_COVERAGE 44. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 45. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::equals → NO_COVERAGE 46. hashCode : Replaced integer multiplication with division → NO_COVERAGE 47. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::equals → NO_COVERAGE 48. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::equals → NO_COVERAGE 49. equals : negated conditional → NO_COVERAGE 50. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 51. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::equals → NO_COVERAGE 52. hashCode : negated conditional → NO_COVERAGE 53. hashCode : Replaced integer multiplication with division → NO_COVERAGE 54. equals : negated conditional → NO_COVERAGE 55. hashCode : Replaced integer multiplication with division → NO_COVERAGE 56. equals : negated conditional → NO_COVERAGE 57. equals : negated conditional → NO_COVERAGE 58. canEqual : replaced boolean return with false for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::canEqual → NO_COVERAGE 59. equals : negated conditional → NO_COVERAGE 60. hashCode : negated conditional → NO_COVERAGE 61. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 62. equals : negated conditional → NO_COVERAGE 63. hashCode : negated conditional → NO_COVERAGE 64. equals : negated conditional → NO_COVERAGE 65. equals : negated conditional → NO_COVERAGE 66. equals : negated conditional → NO_COVERAGE 67. equals : negated conditional → NO_COVERAGE 68. equals : negated conditional → NO_COVERAGE 69. hashCode : negated conditional → NO_COVERAGE 70. equals : negated conditional → NO_COVERAGE 71. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::equals → NO_COVERAGE 72. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::equals → NO_COVERAGE 73. equals : negated conditional → NO_COVERAGE 74. equals : negated conditional → NO_COVERAGE 75. hashCode : Replaced integer multiplication with division → NO_COVERAGE 76. equals : negated conditional → NO_COVERAGE 77. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::equals → NO_COVERAGE 78. equals : negated conditional → NO_COVERAGE 79. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 80. equals : negated conditional → NO_COVERAGE 81. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::equals → NO_COVERAGE |
@Data |
17 | @Configuration | |
18 | @ConfigurationProperties(prefix = "redis") | |
19 | @FieldDefaults(level = AccessLevel.PRIVATE) | |
20 | public class RedisProperties { | |
21 | ||
22 |
1
1. getDatabaseIndex : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::getDatabaseIndex → NO_COVERAGE |
Integer databaseIndex; |
23 | ||
24 |
1
1. getMaster : replaced return value with "" for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::getMaster → NO_COVERAGE |
String master; |
25 | ||
26 |
1
1. getPassword : replaced return value with "" for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::getPassword → NO_COVERAGE |
String password; |
27 | ||
28 |
1
1. getSentinels : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::getSentinels → NO_COVERAGE |
List<SentinelNode> sentinels; |
29 | ||
30 |
2
1. getTestOnBorrow : replaced Boolean return with False for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::getTestOnBorrow → NO_COVERAGE 2. getTestOnBorrow : replaced Boolean return with True for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::getTestOnBorrow → NO_COVERAGE |
Boolean testOnBorrow; |
31 | ||
32 |
1
1. getMaxTotal : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::getMaxTotal → NO_COVERAGE |
Integer maxTotal; |
33 | ||
34 |
1
1. getMaxIdle : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::getMaxIdle → NO_COVERAGE |
Integer maxIdle; |
35 | ||
36 |
1
1. getMinIdle : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::getMinIdle → NO_COVERAGE |
Integer minIdle; |
37 | ||
38 |
2
1. getTestOnReturn : replaced Boolean return with False for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::getTestOnReturn → NO_COVERAGE 2. getTestOnReturn : replaced Boolean return with True for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::getTestOnReturn → NO_COVERAGE |
Boolean testOnReturn; |
39 | ||
40 |
2
1. getTestWhileIdle : replaced Boolean return with False for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::getTestWhileIdle → NO_COVERAGE 2. getTestWhileIdle : replaced Boolean return with True for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties::getTestWhileIdle → NO_COVERAGE |
Boolean testWhileIdle; |
41 | ||
42 |
25
1. equals : negated conditional → NO_COVERAGE 2. equals : negated conditional → NO_COVERAGE 3. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties$SentinelNode::equals → NO_COVERAGE 4. equals : negated conditional → NO_COVERAGE 5. equals : negated conditional → NO_COVERAGE 6. canEqual : replaced boolean return with false for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties$SentinelNode::canEqual → NO_COVERAGE 7. equals : negated conditional → NO_COVERAGE 8. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties$SentinelNode::equals → NO_COVERAGE 9. equals : negated conditional → NO_COVERAGE 10. hashCode : negated conditional → NO_COVERAGE 11. equals : negated conditional → NO_COVERAGE 12. equals : negated conditional → NO_COVERAGE 13. hashCode : Replaced integer multiplication with division → NO_COVERAGE 14. equals : negated conditional → NO_COVERAGE 15. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 16. hashCode : replaced int return with 0 for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties$SentinelNode::hashCode → NO_COVERAGE 17. toString : replaced return value with "" for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties$SentinelNode::toString → NO_COVERAGE 18. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 19. hashCode : negated conditional → NO_COVERAGE 20. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties$SentinelNode::equals → NO_COVERAGE 21. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties$SentinelNode::equals → NO_COVERAGE 22. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties$SentinelNode::equals → NO_COVERAGE 23. hashCode : Replaced integer multiplication with division → NO_COVERAGE 24. canEqual : replaced boolean return with true for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties$SentinelNode::canEqual → NO_COVERAGE 25. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties$SentinelNode::equals → NO_COVERAGE |
@Data |
43 | @FieldDefaults(level = AccessLevel.PRIVATE) | |
44 | public static class SentinelNode { | |
45 | ||
46 |
1
1. getHost : replaced return value with "" for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties$SentinelNode::getHost → NO_COVERAGE |
String host; |
47 | ||
48 |
1
1. getPort : replaced Integer return value with 0 for org/cardanofoundation/explorer/api/config/redis/sentinel/RedisProperties$SentinelNode::getPort → NO_COVERAGE |
Integer port; |
49 | } | |
50 | } | |
Mutations | ||
16 |
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 |
|
22 |
1.1 |
|
24 |
1.1 |
|
26 |
1.1 |
|
28 |
1.1 |
|
30 |
1.1 2.2 |
|
32 |
1.1 |
|
34 |
1.1 |
|
36 |
1.1 |
|
38 |
1.1 2.2 |
|
40 |
1.1 2.2 |
|
42 |
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 |
|
46 |
1.1 |
|
48 |
1.1 |