1 | package sh.okx.rankup.serialization; | |
2 | ||
3 | import java.util.List; | |
4 | import java.util.Map; | |
5 | import lombok.Data; | |
6 | import org.bukkit.configuration.ConfigurationSection; | |
7 | import org.bukkit.configuration.MemoryConfiguration; | |
8 | ||
9 |
60
1. canEqual : replaced boolean return with false for sh/okx/rankup/serialization/RankSerialized::canEqual → NO_COVERAGE 2. canEqual : replaced boolean return with true for sh/okx/rankup/serialization/RankSerialized::canEqual → NO_COVERAGE 3. equals : negated conditional → NO_COVERAGE 4. equals : negated conditional → NO_COVERAGE 5. equals : negated conditional → NO_COVERAGE 6. equals : negated conditional → NO_COVERAGE 7. equals : negated conditional → NO_COVERAGE 8. equals : negated conditional → NO_COVERAGE 9. equals : negated conditional → NO_COVERAGE 10. equals : negated conditional → NO_COVERAGE 11. equals : negated conditional → NO_COVERAGE 12. equals : negated conditional → NO_COVERAGE 13. equals : negated conditional → NO_COVERAGE 14. equals : negated conditional → 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. equals : negated conditional → NO_COVERAGE 20. equals : negated conditional → NO_COVERAGE 21. equals : negated conditional → NO_COVERAGE 22. equals : negated conditional → NO_COVERAGE 23. equals : negated conditional → NO_COVERAGE 24. equals : negated conditional → NO_COVERAGE 25. equals : negated conditional → NO_COVERAGE 26. equals : negated conditional → NO_COVERAGE 27. equals : replaced boolean return with false for sh/okx/rankup/serialization/RankSerialized::equals → NO_COVERAGE 28. equals : replaced boolean return with false for sh/okx/rankup/serialization/RankSerialized::equals → NO_COVERAGE 29. equals : replaced boolean return with true for sh/okx/rankup/serialization/RankSerialized::equals → NO_COVERAGE 30. equals : replaced boolean return with true for sh/okx/rankup/serialization/RankSerialized::equals → NO_COVERAGE 31. equals : replaced boolean return with true for sh/okx/rankup/serialization/RankSerialized::equals → NO_COVERAGE 32. equals : replaced boolean return with true for sh/okx/rankup/serialization/RankSerialized::equals → NO_COVERAGE 33. equals : replaced boolean return with true for sh/okx/rankup/serialization/RankSerialized::equals → NO_COVERAGE 34. equals : replaced boolean return with true for sh/okx/rankup/serialization/RankSerialized::equals → NO_COVERAGE 35. equals : replaced boolean return with true for sh/okx/rankup/serialization/RankSerialized::equals → NO_COVERAGE 36. equals : replaced boolean return with true for sh/okx/rankup/serialization/RankSerialized::equals → NO_COVERAGE 37. equals : replaced boolean return with true for sh/okx/rankup/serialization/RankSerialized::equals → NO_COVERAGE 38. hashCode : Replaced integer multiplication with division → NO_COVERAGE 39. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 40. hashCode : Replaced integer multiplication with division → NO_COVERAGE 41. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 42. hashCode : Replaced integer multiplication with division → NO_COVERAGE 43. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 44. hashCode : Replaced integer multiplication with division → NO_COVERAGE 45. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 46. hashCode : Replaced integer multiplication with division → NO_COVERAGE 47. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 48. hashCode : Replaced integer multiplication with division → NO_COVERAGE 49. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 50. hashCode : Replaced integer multiplication with division → NO_COVERAGE 51. hashCode : Replaced integer addition with subtraction → NO_COVERAGE 52. hashCode : negated conditional → NO_COVERAGE 53. hashCode : negated conditional → NO_COVERAGE 54. hashCode : negated conditional → NO_COVERAGE 55. hashCode : negated conditional → NO_COVERAGE 56. hashCode : negated conditional → NO_COVERAGE 57. hashCode : negated conditional → NO_COVERAGE 58. hashCode : negated conditional → NO_COVERAGE 59. hashCode : replaced int return with 0 for sh/okx/rankup/serialization/RankSerialized::hashCode → NO_COVERAGE 60. toString : replaced return value with "" for sh/okx/rankup/serialization/RankSerialized::toString → NO_COVERAGE |
@Data |
10 | public class RankSerialized { | |
11 | ||
12 |
1
1. getRank : replaced return value with "" for sh/okx/rankup/serialization/RankSerialized::getRank → KILLED |
private final String rank; |
13 |
1
1. getNext : replaced return value with "" for sh/okx/rankup/serialization/RankSerialized::getNext → KILLED |
private final String next; |
14 | ||
15 |
1
1. getDisplayName : replaced return value with "" for sh/okx/rankup/serialization/RankSerialized::getDisplayName → KILLED |
private final String displayName; |
16 | ||
17 |
1
1. getCommands : replaced return value with Collections.emptyList for sh/okx/rankup/serialization/RankSerialized::getCommands → SURVIVED |
private final List<String> commands; |
18 | ||
19 |
1
1. getRequirements : replaced return value with Collections.emptyList for sh/okx/rankup/serialization/RankSerialized::getRequirements → KILLED |
private final List<String> requirements; |
20 |
1
1. getPrestigeRequirements : replaced return value with null for sh/okx/rankup/serialization/RankSerialized::getPrestigeRequirements → KILLED |
private final Map<String, List<String>> prestigeRequirements; |
21 | ||
22 |
1
1. getMessages : replaced return value with null for sh/okx/rankup/serialization/RankSerialized::getMessages → NO_COVERAGE |
private final Map<String, String> messages; |
23 | ||
24 | public ConfigurationSection getMessagesAsSection() { | |
25 | ConfigurationSection section = new MemoryConfiguration(); | |
26 | for (Map.Entry<String, String> entry : messages.entrySet()) { | |
27 |
1
1. getMessagesAsSection : removed call to org/bukkit/configuration/ConfigurationSection::set → KILLED |
section.set(entry.getKey(), entry.getValue()); |
28 | } | |
29 |
1
1. getMessagesAsSection : replaced return value with null for sh/okx/rankup/serialization/RankSerialized::getMessagesAsSection → KILLED |
return section; |
30 | } | |
31 | } | |
Mutations | ||
9 |
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 |
|
12 |
1.1 |
|
13 |
1.1 |
|
15 |
1.1 |
|
17 |
1.1 |
|
19 |
1.1 |
|
20 |
1.1 |
|
22 |
1.1 |
|
27 |
1.1 |
|
29 |
1.1 |