GovActionMetaDataAuthor.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 25 1. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor::equals → NO_COVERAGE
2. equals : negated conditional → NO_COVERAGE
3. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
4. canEqual : replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor::canEqual → NO_COVERAGE
5. hashCode : 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 : replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor::equals → NO_COVERAGE
12. hashCode : replaced int return with 0 for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor::hashCode → NO_COVERAGE
13. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor::toString → NO_COVERAGE
14. hashCode : Replaced integer multiplication with division → NO_COVERAGE
15. canEqual : replaced boolean return with false for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor::canEqual → NO_COVERAGE
16. equals : negated conditional → NO_COVERAGE
17. equals : negated conditional → NO_COVERAGE
18. equals : negated conditional → NO_COVERAGE
19. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor::equals → NO_COVERAGE
20. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor::equals → NO_COVERAGE
21. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor::equals → NO_COVERAGE
22. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor::equals → NO_COVERAGE
23. hashCode : Replaced integer multiplication with division → NO_COVERAGE
24. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
25. hashCode : negated conditional → NO_COVERAGE
@Data
11
@NoArgsConstructor
12
@AllArgsConstructor
13 5 1. build : replaced return value with null for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor$GovActionMetaDataAuthorBuilder::build → NO_COVERAGE
2. witness : replaced return value with null for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor$GovActionMetaDataAuthorBuilder::witness → NO_COVERAGE
3. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor::builder → NO_COVERAGE
4. name : replaced return value with null for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor$GovActionMetaDataAuthorBuilder::name → NO_COVERAGE
5. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor$GovActionMetaDataAuthorBuilder::toString → NO_COVERAGE
@Builder
14
public class GovActionMetaDataAuthor {
15
  @JsonProperty("name")
16 1 1. getName : replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor::getName → KILLED
  String name;
17
18
  @JsonProperty("witness")
19 1 1. getWitness : replaced return value with null for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor::getWitness → KILLED
  Witness witness;
20
}

Mutations

10

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

5.5
Location : hashCode
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
replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor::equals → NO_COVERAGE

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

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

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

15.15
Location : canEqual
Killed by : none
replaced boolean return with false for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor::canEqual → 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
negated conditional → NO_COVERAGE

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

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

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

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

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

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

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

13

1.1
Location : build
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor$GovActionMetaDataAuthorBuilder::build → NO_COVERAGE

2.2
Location : witness
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor$GovActionMetaDataAuthorBuilder::witness → NO_COVERAGE

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

4.4
Location : name
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor$GovActionMetaDataAuthorBuilder::name → NO_COVERAGE

5.5
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/GovActionMetaDataAuthor$GovActionMetaDataAuthorBuilder::toString → NO_COVERAGE

16

1.1
Location : getName
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/GovActionMetaDataAuthor::getName → KILLED

19

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

Active mutators

Tests examined


Report generated by PIT 1.14.2