Witness.java

1
package org.cardanofoundation.explorer.api.model.dto;
2
3
import lombok.AllArgsConstructor;
4
import lombok.Builder;
5
import lombok.Data;
6
import lombok.NoArgsConstructor;
7
8
import com.fasterxml.jackson.annotation.JsonProperty;
9
10 32 1. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/dto/Witness::equals → NO_COVERAGE
2. equals : negated conditional → NO_COVERAGE
3. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
4. equals : negated conditional → NO_COVERAGE
5. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/Witness::equals → NO_COVERAGE
6. hashCode : replaced int return with 0 for org/cardanofoundation/explorer/api/model/dto/Witness::hashCode → NO_COVERAGE
7. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/Witness::equals → NO_COVERAGE
8. equals : negated conditional → NO_COVERAGE
9. equals : negated conditional → NO_COVERAGE
10. equals : negated conditional → NO_COVERAGE
11. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/Witness::equals → NO_COVERAGE
12. hashCode : Replaced integer multiplication with division → 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. hashCode : negated conditional → NO_COVERAGE
19. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/dto/Witness::equals → NO_COVERAGE
20. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
21. hashCode : negated conditional → NO_COVERAGE
22. hashCode : negated conditional → NO_COVERAGE
23. canEqual : replaced boolean return with false for org/cardanofoundation/explorer/api/model/dto/Witness::canEqual → NO_COVERAGE
24. canEqual : replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/Witness::canEqual → NO_COVERAGE
25. hashCode : Replaced integer multiplication with division → NO_COVERAGE
26. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
27. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/Witness::equals → NO_COVERAGE
28. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/Witness::toString → NO_COVERAGE
29. equals : negated conditional → NO_COVERAGE
30. hashCode : Replaced integer multiplication with division → NO_COVERAGE
31. equals : negated conditional → NO_COVERAGE
32. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/Witness::equals → NO_COVERAGE
@Data
11
@NoArgsConstructor
12
@AllArgsConstructor
13 6 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/Witness$WitnessBuilder::toString → NO_COVERAGE
2. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/dto/Witness::builder → NO_COVERAGE
3. build : replaced return value with null for org/cardanofoundation/explorer/api/model/dto/Witness$WitnessBuilder::build → NO_COVERAGE
4. signature : replaced return value with null for org/cardanofoundation/explorer/api/model/dto/Witness$WitnessBuilder::signature → NO_COVERAGE
5. publicKey : replaced return value with null for org/cardanofoundation/explorer/api/model/dto/Witness$WitnessBuilder::publicKey → NO_COVERAGE
6. witnessAlgorithm : replaced return value with null for org/cardanofoundation/explorer/api/model/dto/Witness$WitnessBuilder::witnessAlgorithm → NO_COVERAGE
@Builder
14
public class Witness {
15
  @JsonProperty("witnessAlgorithm")
16 1 1. getWitnessAlgorithm : replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/Witness::getWitnessAlgorithm → KILLED
  String witnessAlgorithm;
17
18
  @JsonProperty("publicKey")
19 1 1. getPublicKey : replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/Witness::getPublicKey → KILLED
  String publicKey;
20
21
  @JsonProperty("signature")
22 1 1. getSignature : replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/Witness::getSignature → KILLED
  String signature;
23
}

Mutations

10

1.1
Location : equals
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/dto/Witness::equals → NO_COVERAGE

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

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

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

5.5
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/Witness::equals → NO_COVERAGE

6.6
Location : hashCode
Killed by : none
replaced int return with 0 for org/cardanofoundation/explorer/api/model/dto/Witness::hashCode → NO_COVERAGE

7.7
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/Witness::equals → 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
replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/Witness::equals → NO_COVERAGE

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

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

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

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

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

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

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

19.19
Location : equals
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/dto/Witness::equals → NO_COVERAGE

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

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

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

23.23
Location : canEqual
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/dto/Witness::canEqual → NO_COVERAGE

24.24
Location : canEqual
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/Witness::canEqual → NO_COVERAGE

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

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

27.27
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/Witness::equals → NO_COVERAGE

28.28
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/Witness::toString → NO_COVERAGE

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

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

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

32.32
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/Witness::equals → NO_COVERAGE

13

1.1
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/Witness$WitnessBuilder::toString → NO_COVERAGE

2.2
Location : builder
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/dto/Witness::builder → NO_COVERAGE

3.3
Location : build
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/dto/Witness$WitnessBuilder::build → NO_COVERAGE

4.4
Location : signature
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/dto/Witness$WitnessBuilder::signature → NO_COVERAGE

5.5
Location : publicKey
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/dto/Witness$WitnessBuilder::publicKey → NO_COVERAGE

6.6
Location : witnessAlgorithm
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/dto/Witness$WitnessBuilder::witnessAlgorithm → NO_COVERAGE

16

1.1
Location : getWitnessAlgorithm
Killed by : org.cardanofoundation.explorer.api.service.GovActionServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.GovActionServiceTest]/[method:testGetAuthorsByAnchor()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/Witness::getWitnessAlgorithm → KILLED

19

1.1
Location : getPublicKey
Killed by : org.cardanofoundation.explorer.api.service.GovActionServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.GovActionServiceTest]/[method:testGetAuthorsByAnchor()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/Witness::getPublicKey → KILLED

22

1.1
Location : getSignature
Killed by : org.cardanofoundation.explorer.api.service.GovActionServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.GovActionServiceTest]/[method:testGetAuthorsByAnchor()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/Witness::getSignature → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2