CommentBuilder.java

1
package pro.verron.officestamper.asciidoc;
2
3
import java.math.BigInteger;
4
5
public class CommentBuilder {
6
    private BigInteger id;
7
    private int blockStart;
8
    private int lineStart;
9
    private int blockEnd;
10
    private int lineEnd;
11
12
    public DocxToAsciiDoc.CommentRecorder.Comment createComment() {
13 1 1. createComment : replaced return value with null for pro/verron/officestamper/asciidoc/CommentBuilder::createComment → NO_COVERAGE
        return new DocxToAsciiDoc.CommentRecorder.Comment(id, blockStart, lineStart, blockEnd, lineEnd);
14
    }
15
16
    public BigInteger getId() {
17 1 1. getId : replaced return value with null for pro/verron/officestamper/asciidoc/CommentBuilder::getId → NO_COVERAGE
        return this.id;
18
    }
19
20
    public CommentBuilder setId(BigInteger id) {
21
        this.id = id;
22 1 1. setId : replaced return value with null for pro/verron/officestamper/asciidoc/CommentBuilder::setId → NO_COVERAGE
        return this;
23
    }
24
25
    public CommentBuilder setBlockStart(int blockStart) {
26
        this.blockStart = blockStart;
27 1 1. setBlockStart : replaced return value with null for pro/verron/officestamper/asciidoc/CommentBuilder::setBlockStart → NO_COVERAGE
        return this;
28
    }
29
30
    public CommentBuilder setLineStart(int lineStart) {
31
        this.lineStart = lineStart;
32 1 1. setLineStart : replaced return value with null for pro/verron/officestamper/asciidoc/CommentBuilder::setLineStart → NO_COVERAGE
        return this;
33
    }
34
35
    public CommentBuilder setBlockEnd(int blockEnd) {
36
        this.blockEnd = blockEnd;
37 1 1. setBlockEnd : replaced return value with null for pro/verron/officestamper/asciidoc/CommentBuilder::setBlockEnd → NO_COVERAGE
        return this;
38
    }
39
40
    public CommentBuilder setLineEnd(int lineEnd) {
41
        this.lineEnd = lineEnd;
42 1 1. setLineEnd : replaced return value with null for pro/verron/officestamper/asciidoc/CommentBuilder::setLineEnd → NO_COVERAGE
        return this;
43
    }
44
}

Mutations

13

1.1
Location : createComment
Killed by : none
replaced return value with null for pro/verron/officestamper/asciidoc/CommentBuilder::createComment → NO_COVERAGE

17

1.1
Location : getId
Killed by : none
replaced return value with null for pro/verron/officestamper/asciidoc/CommentBuilder::getId → NO_COVERAGE

22

1.1
Location : setId
Killed by : none
replaced return value with null for pro/verron/officestamper/asciidoc/CommentBuilder::setId → NO_COVERAGE

27

1.1
Location : setBlockStart
Killed by : none
replaced return value with null for pro/verron/officestamper/asciidoc/CommentBuilder::setBlockStart → NO_COVERAGE

32

1.1
Location : setLineStart
Killed by : none
replaced return value with null for pro/verron/officestamper/asciidoc/CommentBuilder::setLineStart → NO_COVERAGE

37

1.1
Location : setBlockEnd
Killed by : none
replaced return value with null for pro/verron/officestamper/asciidoc/CommentBuilder::setBlockEnd → NO_COVERAGE

42

1.1
Location : setLineEnd
Killed by : none
replaced return value with null for pro/verron/officestamper/asciidoc/CommentBuilder::setLineEnd → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.22.1