PrestigeSerialized.java

1
package sh.okx.rankup.serialization;
2
3
import java.util.List;
4
import java.util.Map;
5
import lombok.EqualsAndHashCode;
6
import lombok.Getter;
7
import lombok.ToString;
8
9
@Getter
10 1 1. toString : replaced return value with "" for sh/okx/rankup/serialization/PrestigeSerialized::toString → NO_COVERAGE
@ToString(callSuper = true)
11 26 1. canEqual : replaced boolean return with false for sh/okx/rankup/serialization/PrestigeSerialized::canEqual → NO_COVERAGE
2. canEqual : replaced boolean return with true for sh/okx/rankup/serialization/PrestigeSerialized::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 : replaced boolean return with false for sh/okx/rankup/serialization/PrestigeSerialized::equals → NO_COVERAGE
14. equals : replaced boolean return with false for sh/okx/rankup/serialization/PrestigeSerialized::equals → NO_COVERAGE
15. equals : replaced boolean return with true for sh/okx/rankup/serialization/PrestigeSerialized::equals → NO_COVERAGE
16. equals : replaced boolean return with true for sh/okx/rankup/serialization/PrestigeSerialized::equals → NO_COVERAGE
17. equals : replaced boolean return with true for sh/okx/rankup/serialization/PrestigeSerialized::equals → NO_COVERAGE
18. equals : replaced boolean return with true for sh/okx/rankup/serialization/PrestigeSerialized::equals → NO_COVERAGE
19. equals : replaced boolean return with true for sh/okx/rankup/serialization/PrestigeSerialized::equals → NO_COVERAGE
20. hashCode : Replaced integer multiplication with division → NO_COVERAGE
21. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
22. hashCode : Replaced integer multiplication with division → NO_COVERAGE
23. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
24. hashCode : negated conditional → NO_COVERAGE
25. hashCode : negated conditional → NO_COVERAGE
26. hashCode : replaced int return with 0 for sh/okx/rankup/serialization/PrestigeSerialized::hashCode → NO_COVERAGE
@EqualsAndHashCode(callSuper = true)
12
public class PrestigeSerialized extends RankSerialized {
13
14 1 1. getFrom : replaced return value with "" for sh/okx/rankup/serialization/PrestigeSerialized::getFrom → NO_COVERAGE
  private final String from;
15 1 1. getTo : replaced return value with "" for sh/okx/rankup/serialization/PrestigeSerialized::getTo → NO_COVERAGE
  private final String to;
16
17
  public PrestigeSerialized(String rank, String next, String displayName,
18
      List<String> commands, List<String> requirements,
19
      Map<String, List<String>> prestigeRequirements,
20
      Map<String, String> messages, String from, String to) {
21
    super(rank, next, displayName, commands, requirements, prestigeRequirements, messages);
22
    this.from = from;
23
    this.to = to;
24
  }
25
}

Mutations

10

1.1
Location : toString
Killed by : none
replaced return value with "" for sh/okx/rankup/serialization/PrestigeSerialized::toString → NO_COVERAGE

11

1.1
Location : canEqual
Killed by : none
replaced boolean return with false for sh/okx/rankup/serialization/PrestigeSerialized::canEqual → NO_COVERAGE

2.2
Location : canEqual
Killed by : none
replaced boolean return with true for sh/okx/rankup/serialization/PrestigeSerialized::canEqual → NO_COVERAGE

3.3
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

4.4
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

5.5
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

6.6
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

7.7
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

8.8
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

9.9
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

10.10
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

11.11
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

12.12
Location : equals
Killed by : none
negated conditional → NO_COVERAGE

13.13
Location : equals
Killed by : none
replaced boolean return with false for sh/okx/rankup/serialization/PrestigeSerialized::equals → NO_COVERAGE

14.14
Location : equals
Killed by : none
replaced boolean return with false for sh/okx/rankup/serialization/PrestigeSerialized::equals → NO_COVERAGE

15.15
Location : equals
Killed by : none
replaced boolean return with true for sh/okx/rankup/serialization/PrestigeSerialized::equals → NO_COVERAGE

16.16
Location : equals
Killed by : none
replaced boolean return with true for sh/okx/rankup/serialization/PrestigeSerialized::equals → NO_COVERAGE

17.17
Location : equals
Killed by : none
replaced boolean return with true for sh/okx/rankup/serialization/PrestigeSerialized::equals → NO_COVERAGE

18.18
Location : equals
Killed by : none
replaced boolean return with true for sh/okx/rankup/serialization/PrestigeSerialized::equals → NO_COVERAGE

19.19
Location : equals
Killed by : none
replaced boolean return with true for sh/okx/rankup/serialization/PrestigeSerialized::equals → NO_COVERAGE

20.20
Location : hashCode
Killed by : none
Replaced integer multiplication with division → NO_COVERAGE

21.21
Location : hashCode
Killed by : none
Replaced integer addition with subtraction → NO_COVERAGE

22.22
Location : hashCode
Killed by : none
Replaced integer multiplication with division → NO_COVERAGE

23.23
Location : hashCode
Killed by : none
Replaced integer addition with subtraction → NO_COVERAGE

24.24
Location : hashCode
Killed by : none
negated conditional → NO_COVERAGE

25.25
Location : hashCode
Killed by : none
negated conditional → NO_COVERAGE

26.26
Location : hashCode
Killed by : none
replaced int return with 0 for sh/okx/rankup/serialization/PrestigeSerialized::hashCode → NO_COVERAGE

14

1.1
Location : getFrom
Killed by : none
replaced return value with "" for sh/okx/rankup/serialization/PrestigeSerialized::getFrom → NO_COVERAGE

15

1.1
Location : getTo
Killed by : none
replaced return value with "" for sh/okx/rankup/serialization/PrestigeSerialized::getTo → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.7.0