GovActionMetaData.java

1
package org.cardanofoundation.explorer.api.model.dto;
2
3
import java.util.List;
4
5
import lombok.AllArgsConstructor;
6
import lombok.Builder;
7
import lombok.Data;
8
import lombok.NoArgsConstructor;
9
10
import com.fasterxml.jackson.annotation.JsonProperty;
11
12 18 1. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData::equals → NO_COVERAGE
2. hashCode : Replaced integer multiplication with division → NO_COVERAGE
3. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData::toString → NO_COVERAGE
4. equals : negated conditional → NO_COVERAGE
5. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData::equals → NO_COVERAGE
6. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData::equals → NO_COVERAGE
7. hashCode : negated conditional → NO_COVERAGE
8. hashCode : replaced int return with 0 for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData::hashCode → NO_COVERAGE
9. canEqual : replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData::canEqual → NO_COVERAGE
10. equals : replaced boolean return with false for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData::equals → NO_COVERAGE
11. equals : negated conditional → NO_COVERAGE
12. equals : negated conditional → NO_COVERAGE
13. equals : negated conditional → NO_COVERAGE
14. canEqual : replaced boolean return with false for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData::canEqual → NO_COVERAGE
15. equals : negated conditional → NO_COVERAGE
16. equals : replaced boolean return with true for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData::equals → NO_COVERAGE
17. equals : negated conditional → NO_COVERAGE
18. hashCode : Replaced integer addition with subtraction → NO_COVERAGE
@Data
13
@NoArgsConstructor
14
@AllArgsConstructor
15 4 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData$GovActionMetaDataBuilder::toString → NO_COVERAGE
2. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData::builder → NO_COVERAGE
3. authors : replaced return value with null for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData$GovActionMetaDataBuilder::authors → NO_COVERAGE
4. build : replaced return value with null for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData$GovActionMetaDataBuilder::build → NO_COVERAGE
@Builder
16
public class GovActionMetaData {
17
  @JsonProperty("authors")
18 1 1. getAuthors : replaced return value with Collections.emptyList for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData::getAuthors → KILLED
  List<GovActionMetaDataAuthor> authors;
19
}

Mutations

12

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

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

3.3
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData::toString → 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/GovActionMetaData::equals → NO_COVERAGE

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

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

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

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

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

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

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

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

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

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

15

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

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

3.3
Location : authors
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData$GovActionMetaDataBuilder::authors → NO_COVERAGE

4.4
Location : build
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/dto/GovActionMetaData$GovActionMetaDataBuilder::build → NO_COVERAGE

18

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

Active mutators

Tests examined


Report generated by PIT 1.14.2