AuthorResponse.java

1
package org.cardanofoundation.explorer.api.model.response.governanceAction;
2
3
import lombok.AllArgsConstructor;
4
import lombok.Builder;
5
import lombok.Data;
6
import lombok.NoArgsConstructor;
7
8 39 1. equals : negated conditional → NO_COVERAGE
2. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
3. hashCode : replaced int return with 0 for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::hashCode → NO_COVERAGE
4. equals : negated conditional → NO_COVERAGE
5. equals : negated conditional → NO_COVERAGE
6. canEqual : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::canEqual → NO_COVERAGE
7. equals : negated conditional → NO_COVERAGE
8. hashCode : Replaced integer multiplication with division → NO_COVERAGE
9. hashCode : negated conditional → NO_COVERAGE
10. canEqual : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::canEqual → NO_COVERAGE
11. equals : negated conditional → NO_COVERAGE
12. hashCode : negated conditional → NO_COVERAGE
13. equals : negated conditional → NO_COVERAGE
14. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
15. hashCode : Replaced integer multiplication with division → NO_COVERAGE
16. equals : negated conditional → NO_COVERAGE
17. equals : negated conditional → NO_COVERAGE
18. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE
19. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE
20. equals : negated conditional → NO_COVERAGE
21. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
22. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE
23. equals : negated conditional → NO_COVERAGE
24. equals : negated conditional → NO_COVERAGE
25. equals : negated conditional → NO_COVERAGE
26. hashCode : negated conditional → NO_COVERAGE
27. hashCode : Replaced integer multiplication with division → NO_COVERAGE
28. equals : negated conditional → NO_COVERAGE
29. hashCode : Replaced integer multiplication with division → NO_COVERAGE
30. equals : negated conditional → NO_COVERAGE
31. equals : negated conditional → NO_COVERAGE
32. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE
33. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE
34. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::toString → NO_COVERAGE
35. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE
36. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
37. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE
38. hashCode : negated conditional → NO_COVERAGE
39. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE
@Data
9
@NoArgsConstructor
10
@AllArgsConstructor
11 7 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse$AuthorResponseBuilder::toString → NO_COVERAGE
2. signature : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse$AuthorResponseBuilder::signature → KILLED
3. name : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse$AuthorResponseBuilder::name → KILLED
4. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse$AuthorResponseBuilder::build → KILLED
5. witnessAlgorithm : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse$AuthorResponseBuilder::witnessAlgorithm → KILLED
6. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::builder → KILLED
7. publicKey : replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse$AuthorResponseBuilder::publicKey → KILLED
@Builder
12
public class AuthorResponse {
13
14 1 1. getName : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::getName → KILLED
  private String name;
15
16 1 1. getWitnessAlgorithm : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::getWitnessAlgorithm → KILLED
  private String witnessAlgorithm;
17
18 1 1. getPublicKey : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::getPublicKey → KILLED
  private String publicKey;
19
20 1 1. getSignature : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::getSignature → KILLED
  private String signature;
21
}

Mutations

8

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

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

3.3
Location : hashCode
Killed by : none
replaced int return with 0 for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::hashCode → 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 : canEqual
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::canEqual → NO_COVERAGE

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

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

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

10.10
Location : canEqual
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::canEqual → NO_COVERAGE

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

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

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

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

15.15
Location : hashCode
Killed by : none
Replaced integer multiplication with division → 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 : equals
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE

19.19
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE

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

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

22.22
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE

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

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

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

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

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

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

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

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

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

32.32
Location : equals
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE

33.33
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE

34.34
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::toString → NO_COVERAGE

35.35
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE

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

37.37
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE

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

39.39
Location : equals
Killed by : none
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::equals → NO_COVERAGE

11

1.1
Location : signature
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetAuthorsByAnchorUrlAndAnchorHash()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse$AuthorResponseBuilder::signature → KILLED

2.2
Location : name
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetAuthorsByAnchorUrlAndAnchorHash()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse$AuthorResponseBuilder::name → KILLED

3.3
Location : build
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetAuthorsByAnchorUrlAndAnchorHash()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse$AuthorResponseBuilder::build → KILLED

4.4
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse$AuthorResponseBuilder::toString → NO_COVERAGE

5.5
Location : witnessAlgorithm
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetAuthorsByAnchorUrlAndAnchorHash()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse$AuthorResponseBuilder::witnessAlgorithm → KILLED

6.6
Location : builder
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetAuthorsByAnchorUrlAndAnchorHash()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::builder → KILLED

7.7
Location : publicKey
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetAuthorsByAnchorUrlAndAnchorHash()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse$AuthorResponseBuilder::publicKey → KILLED

14

1.1
Location : getName
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetAuthorsByAnchorUrlAndAnchorHash()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::getName → KILLED

16

1.1
Location : getWitnessAlgorithm
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetAuthorsByAnchorUrlAndAnchorHash()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::getWitnessAlgorithm → KILLED

18

1.1
Location : getPublicKey
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetAuthorsByAnchorUrlAndAnchorHash()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::getPublicKey → KILLED

20

1.1
Location : getSignature
Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetAuthorsByAnchorUrlAndAnchorHash()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/governanceAction/AuthorResponse::getSignature → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2