1
|
|
package g0803.bindingofshiba.math; |
2
|
|
|
3
|
|
import java.util.Objects; |
4
|
|
|
5
|
|
public class Vec2D { |
6
|
|
|
7
|
|
private static final Vec2D RIGHT = new Vec2D(1, 0); |
8
|
|
private static final Vec2D UP = new Vec2D(0, -1); |
9
|
|
private static final Vec2D LEFT = new Vec2D(-1, 0); |
10
|
|
private static final Vec2D DOWN = new Vec2D(0, 1); |
11
|
|
private static final Vec2D ZERO = new Vec2D(0, 0); |
12
|
|
|
13
|
|
public static Vec2D zero() { |
14
|
1
1. zero : replaced return value with null for g0803/bindingofshiba/math/Vec2D::zero → KILLED
|
return ZERO; |
15
|
|
} |
16
|
|
|
17
|
|
public static Vec2D right() { |
18
|
1
1. right : replaced return value with null for g0803/bindingofshiba/math/Vec2D::right → KILLED
|
return RIGHT; |
19
|
|
} |
20
|
|
|
21
|
|
public static Vec2D up() { |
22
|
1
1. up : replaced return value with null for g0803/bindingofshiba/math/Vec2D::up → KILLED
|
return UP; |
23
|
|
} |
24
|
|
|
25
|
|
public static Vec2D left() { |
26
|
1
1. left : replaced return value with null for g0803/bindingofshiba/math/Vec2D::left → KILLED
|
return LEFT; |
27
|
|
} |
28
|
|
|
29
|
|
public static Vec2D down() { |
30
|
1
1. down : replaced return value with null for g0803/bindingofshiba/math/Vec2D::down → KILLED
|
return DOWN; |
31
|
|
} |
32
|
|
|
33
|
|
private final double x, y; |
34
|
|
|
35
|
|
public Vec2D(double x, double y) { |
36
|
|
this.x = x; |
37
|
|
this.y = y; |
38
|
|
} |
39
|
|
|
40
|
|
public Vec2D(Vec2D vec) { |
41
|
|
this(vec.x, vec.y); |
42
|
|
} |
43
|
|
|
44
|
|
public double getX() { |
45
|
1
1. getX : replaced double return with 0.0d for g0803/bindingofshiba/math/Vec2D::getX → KILLED
|
return this.x; |
46
|
|
} |
47
|
|
|
48
|
|
public double getY() { |
49
|
1
1. getY : replaced double return with 0.0d for g0803/bindingofshiba/math/Vec2D::getY → KILLED
|
return this.y; |
50
|
|
} |
51
|
|
|
52
|
|
public Vec2D setX(double x) { |
53
|
1
1. setX : replaced return value with null for g0803/bindingofshiba/math/Vec2D::setX → KILLED
|
return new Vec2D(x, this.y); |
54
|
|
} |
55
|
|
|
56
|
|
public Vec2D setY(double y) { |
57
|
1
1. setY : replaced return value with null for g0803/bindingofshiba/math/Vec2D::setY → KILLED
|
return new Vec2D(this.x, y); |
58
|
|
} |
59
|
|
|
60
|
|
public double getLength() { |
61
|
1
1. getLength : replaced double return with 0.0d for g0803/bindingofshiba/math/Vec2D::getLength → KILLED
|
return Math.sqrt(this.getLengthSquared()); |
62
|
|
} |
63
|
|
|
64
|
|
public double getLengthSquared() { |
65
|
4
1. getLengthSquared : Replaced double multiplication with division → KILLED
2. getLengthSquared : Replaced double multiplication with division → KILLED
3. getLengthSquared : Replaced double addition with subtraction → KILLED
4. getLengthSquared : replaced double return with 0.0d for g0803/bindingofshiba/math/Vec2D::getLengthSquared → KILLED
|
return this.x * this.x + this.y * this.y; |
66
|
|
} |
67
|
|
|
68
|
|
public Vec2D add(Vec2D vec) { |
69
|
3
1. add : Replaced double addition with subtraction → KILLED
2. add : Replaced double addition with subtraction → KILLED
3. add : replaced return value with null for g0803/bindingofshiba/math/Vec2D::add → KILLED
|
return new Vec2D(this.x + vec.x, this.y + vec.y); |
70
|
|
} |
71
|
|
|
72
|
|
public Vec2D subtract(Vec2D vec) { |
73
|
3
1. subtract : Replaced double subtraction with addition → KILLED
2. subtract : Replaced double subtraction with addition → KILLED
3. subtract : replaced return value with null for g0803/bindingofshiba/math/Vec2D::subtract → KILLED
|
return new Vec2D(this.x - vec.x, this.y - vec.y); |
74
|
|
} |
75
|
|
|
76
|
|
public Vec2D scale(double scalar) { |
77
|
3
1. scale : Replaced double multiplication with division → KILLED
2. scale : Replaced double multiplication with division → KILLED
3. scale : replaced return value with null for g0803/bindingofshiba/math/Vec2D::scale → KILLED
|
return new Vec2D(this.x * scalar, this.y * scalar); |
78
|
|
} |
79
|
|
|
80
|
|
public Vec2D scaleX(double scalar) { |
81
|
2
1. scaleX : Replaced double multiplication with division → KILLED
2. scaleX : replaced return value with null for g0803/bindingofshiba/math/Vec2D::scaleX → KILLED
|
return this.setX(this.x * scalar); |
82
|
|
} |
83
|
|
|
84
|
|
public Vec2D scaleY(double scalar) { |
85
|
2
1. scaleY : Replaced double multiplication with division → KILLED
2. scaleY : replaced return value with null for g0803/bindingofshiba/math/Vec2D::scaleY → KILLED
|
return this.setY(this.y * scalar); |
86
|
|
} |
87
|
|
|
88
|
|
public double scalarProduct(Vec2D vec) { |
89
|
4
1. scalarProduct : Replaced double multiplication with division → KILLED
2. scalarProduct : Replaced double multiplication with division → KILLED
3. scalarProduct : Replaced double addition with subtraction → KILLED
4. scalarProduct : replaced double return with 0.0d for g0803/bindingofshiba/math/Vec2D::scalarProduct → KILLED
|
return this.x * vec.x + this.y * vec.y; |
90
|
|
} |
91
|
|
|
92
|
|
public Vec2D rotate(double radians) { |
93
|
|
// We have to use the symmetric value of the sin |
94
|
|
// of the angle because our y-axis is inverted |
95
|
1
1. rotate : removed negation → KILLED
|
double sin = Math.sin(-radians); |
96
|
|
double cos = Math.cos(radians); |
97
|
|
|
98
|
7
1. rotate : Replaced double multiplication with division → KILLED
2. rotate : Replaced double multiplication with division → KILLED
3. rotate : Replaced double subtraction with addition → KILLED
4. rotate : Replaced double multiplication with division → KILLED
5. rotate : Replaced double multiplication with division → KILLED
6. rotate : Replaced double addition with subtraction → KILLED
7. rotate : replaced return value with null for g0803/bindingofshiba/math/Vec2D::rotate → KILLED
|
return new Vec2D(this.x * cos - this.y * sin, this.x * sin + this.y * cos); |
99
|
|
} |
100
|
|
|
101
|
|
public Vec2D normalize() { |
102
|
2
1. normalize : Replaced double division with multiplication → KILLED
2. normalize : replaced return value with null for g0803/bindingofshiba/math/Vec2D::normalize → KILLED
|
return this.scale(1 / this.getLength()); |
103
|
|
} |
104
|
|
|
105
|
|
public Vec2D round() { |
106
|
1
1. round : replaced return value with null for g0803/bindingofshiba/math/Vec2D::round → KILLED
|
return new Vec2D(Math.round(this.x), Math.round(this.y)); |
107
|
|
} |
108
|
|
|
109
|
|
@Override |
110
|
|
public boolean equals(Object o) { |
111
|
2
1. equals : negated conditional → SURVIVED
2. equals : replaced boolean return with false for g0803/bindingofshiba/math/Vec2D::equals → KILLED
|
if (this == o) return true; |
112
|
2
1. equals : replaced boolean return with true for g0803/bindingofshiba/math/Vec2D::equals → NO_COVERAGE
2. equals : negated conditional → KILLED
|
if (!(o instanceof Vec2D that)) return false; |
113
|
|
|
114
|
3
1. equals : replaced boolean return with true for g0803/bindingofshiba/math/Vec2D::equals → SURVIVED
2. equals : negated conditional → KILLED
3. equals : negated conditional → KILLED
|
return Double.compare(that.x, x) == 0 && Double.compare(that.y, y) == 0; |
115
|
|
} |
116
|
|
|
117
|
|
public boolean isSimilar(Object o) { |
118
|
2
1. isSimilar : negated conditional → KILLED
2. isSimilar : replaced boolean return with false for g0803/bindingofshiba/math/Vec2D::isSimilar → KILLED
|
if (this == o) return true; |
119
|
2
1. isSimilar : replaced boolean return with true for g0803/bindingofshiba/math/Vec2D::isSimilar → NO_COVERAGE
2. isSimilar : negated conditional → KILLED
|
if (!(o instanceof Vec2D that)) return false; |
120
|
|
|
121
|
1
1. isSimilar : Replaced double multiplication with division → KILLED
|
float x1 = Math.round(this.x * 1000); |
122
|
1
1. isSimilar : Replaced double multiplication with division → KILLED
|
float x2 = Math.round(that.x * 1000); |
123
|
1
1. isSimilar : Replaced double multiplication with division → KILLED
|
float y1 = Math.round(this.y * 1000); |
124
|
1
1. isSimilar : Replaced double multiplication with division → KILLED
|
float y2 = Math.round(that.y * 1000); |
125
|
|
|
126
|
3
1. isSimilar : negated conditional → KILLED
2. isSimilar : negated conditional → KILLED
3. isSimilar : replaced boolean return with true for g0803/bindingofshiba/math/Vec2D::isSimilar → KILLED
|
return Float.compare(x1, x2) == 0 && Float.compare(y1, y2) == 0; |
127
|
|
} |
128
|
|
|
129
|
|
@Override |
130
|
|
public int hashCode() { |
131
|
1
1. hashCode : replaced int return with 0 for g0803/bindingofshiba/math/Vec2D::hashCode → NO_COVERAGE
|
return Objects.hash(x, y); |
132
|
|
} |
133
|
|
|
134
|
|
@Override |
135
|
|
public String toString() { |
136
|
1
1. toString : replaced return value with "" for g0803/bindingofshiba/math/Vec2D::toString → NO_COVERAGE
|
return "Vec2D{" + "x=" + x + ", y=" + y + '}'; |
137
|
|
} |
138
|
|
} |
| | Mutations |
14 |
|
1.1 Location : zero Killed by : g0803.bindingofshiba.textures.StaticTextureTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.textures.StaticTextureTest]/[method:getTextureBoundingBox()] replaced return value with null for g0803/bindingofshiba/math/Vec2D::zero → KILLED
|
18 |
|
1.1 Location : right Killed by : g0803.bindingofshiba.controller.game.PlayerControllerTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.controller.game.PlayerControllerTest]/[method:movesAccordingToInputRight()] replaced return value with null for g0803/bindingofshiba/math/Vec2D::right → KILLED
|
22 |
|
1.1 Location : up Killed by : g0803.bindingofshiba.controller.game.PlayerControllerTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.controller.game.PlayerControllerTest]/[method:movesAccordingToInputUp()] replaced return value with null for g0803/bindingofshiba/math/Vec2D::up → KILLED
|
26 |
|
1.1 Location : left Killed by : g0803.bindingofshiba.controller.game.PlayerControllerTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.controller.game.PlayerControllerTest]/[method:movesAccordingToInputLeft()] replaced return value with null for g0803/bindingofshiba/math/Vec2D::left → KILLED
|
30 |
|
1.1 Location : down Killed by : g0803.bindingofshiba.controller.game.PlayerControllerTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.controller.game.PlayerControllerTest]/[method:movesAccordingToInputDown()] replaced return value with null for g0803/bindingofshiba/math/Vec2D::down → KILLED
|
45 |
|
1.1 Location : getX Killed by : g0803.bindingofshiba.math.BoundingBoxTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.BoundingBoxTest]/[method:doesNotCollide()] replaced double return with 0.0d for g0803/bindingofshiba/math/Vec2D::getX → KILLED
|
49 |
|
1.1 Location : getY Killed by : g0803.bindingofshiba.textures.StaticTextureTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.textures.StaticTextureTest]/[method:flipVertically()] replaced double return with 0.0d for g0803/bindingofshiba/math/Vec2D::getY → KILLED
|
53 |
|
1.1 Location : setX Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:scaleX()] replaced return value with null for g0803/bindingofshiba/math/Vec2D::setX → KILLED
|
57 |
|
1.1 Location : setY Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:scaleY()] replaced return value with null for g0803/bindingofshiba/math/Vec2D::setY → KILLED
|
61 |
|
1.1 Location : getLength Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:getLength()] replaced double return with 0.0d for g0803/bindingofshiba/math/Vec2D::getLength → KILLED
|
65 |
|
1.1 Location : getLengthSquared Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:getLength()] Replaced double multiplication with division → KILLED 2.2 Location : getLengthSquared Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:getLength()] Replaced double multiplication with division → KILLED 3.3 Location : getLengthSquared Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:getLength()] Replaced double addition with subtraction → KILLED 4.4 Location : getLengthSquared Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:getLength()] replaced double return with 0.0d for g0803/bindingofshiba/math/Vec2D::getLengthSquared → KILLED
|
69 |
|
1.1 Location : add Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:add()] Replaced double addition with subtraction → KILLED 2.2 Location : add Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:add()] Replaced double addition with subtraction → KILLED 3.3 Location : add Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:add()] replaced return value with null for g0803/bindingofshiba/math/Vec2D::add → KILLED
|
73 |
|
1.1 Location : subtract Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:subtract()] Replaced double subtraction with addition → KILLED 2.2 Location : subtract Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:subtract()] Replaced double subtraction with addition → KILLED 3.3 Location : subtract Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:subtract()] replaced return value with null for g0803/bindingofshiba/math/Vec2D::subtract → KILLED
|
77 |
|
1.1 Location : scale Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:scale()] Replaced double multiplication with division → KILLED 2.2 Location : scale Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:scale()] Replaced double multiplication with division → KILLED 3.3 Location : scale Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:scale()] replaced return value with null for g0803/bindingofshiba/math/Vec2D::scale → KILLED
|
81 |
|
1.1 Location : scaleX Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:scaleX()] Replaced double multiplication with division → KILLED 2.2 Location : scaleX Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:scaleX()] replaced return value with null for g0803/bindingofshiba/math/Vec2D::scaleX → KILLED
|
85 |
|
1.1 Location : scaleY Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:scaleY()] Replaced double multiplication with division → KILLED 2.2 Location : scaleY Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:scaleY()] replaced return value with null for g0803/bindingofshiba/math/Vec2D::scaleY → KILLED
|
89 |
|
1.1 Location : scalarProduct Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:scalarProduct()] Replaced double multiplication with division → KILLED 2.2 Location : scalarProduct Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:scalarProduct()] Replaced double multiplication with division → KILLED 3.3 Location : scalarProduct Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:scalarProduct()] Replaced double addition with subtraction → KILLED 4.4 Location : scalarProduct Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:scalarProduct()] replaced double return with 0.0d for g0803/bindingofshiba/math/Vec2D::scalarProduct → KILLED
|
95 |
|
1.1 Location : rotate Killed by : g0803.bindingofshiba.textures.StaticTextureTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.textures.StaticTextureTest]/[method:rotateLeft()] removed negation → KILLED
|
98 |
|
1.1 Location : rotate Killed by : g0803.bindingofshiba.textures.StaticTextureTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.textures.StaticTextureTest]/[method:rotateLeft()] Replaced double multiplication with division → KILLED 2.2 Location : rotate Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:rotate()] Replaced double multiplication with division → KILLED 3.3 Location : rotate Killed by : g0803.bindingofshiba.textures.StaticTextureTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.textures.StaticTextureTest]/[method:rotateLeft()] Replaced double subtraction with addition → KILLED 4.4 Location : rotate Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:rotate()] Replaced double multiplication with division → KILLED 5.5 Location : rotate Killed by : g0803.bindingofshiba.textures.StaticTextureTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.textures.StaticTextureTest]/[method:rotateLeft()] Replaced double multiplication with division → KILLED 6.6 Location : rotate Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:rotate()] Replaced double addition with subtraction → KILLED 7.7 Location : rotate Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:rotate()] replaced return value with null for g0803/bindingofshiba/math/Vec2D::rotate → KILLED
|
102 |
|
1.1 Location : normalize Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:normalize()] Replaced double division with multiplication → KILLED 2.2 Location : normalize Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:normalize()] replaced return value with null for g0803/bindingofshiba/math/Vec2D::normalize → KILLED
|
106 |
|
1.1 Location : round Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:round()] replaced return value with null for g0803/bindingofshiba/math/Vec2D::round → KILLED
|
111 |
|
1.1 Location : equals Killed by : none negated conditional → SURVIVED 2.2 Location : equals Killed by : g0803.bindingofshiba.textures.StaticTextureTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.textures.StaticTextureTest]/[method:copiesPixels()] replaced boolean return with false for g0803/bindingofshiba/math/Vec2D::equals → KILLED
|
112 |
|
1.1 Location : equals Killed by : g0803.bindingofshiba.math.BoundingBoxTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.BoundingBoxTest]/[method:getTopRightCorner()] negated conditional → KILLED 2.2 Location : equals Killed by : none replaced boolean return with true for g0803/bindingofshiba/math/Vec2D::equals → NO_COVERAGE
|
114 |
|
1.1 Location : equals Killed by : g0803.bindingofshiba.math.BoundingBoxTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.BoundingBoxTest]/[method:getTopRightCorner()] negated conditional → KILLED 2.2 Location : equals Killed by : g0803.bindingofshiba.math.BoundingBoxTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.BoundingBoxTest]/[method:getTopRightCorner()] negated conditional → KILLED 3.3 Location : equals Killed by : none replaced boolean return with true for g0803/bindingofshiba/math/Vec2D::equals → SURVIVED
|
118 |
|
1.1 Location : isSimilar Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:isNotSimilar()] negated conditional → KILLED 2.2 Location : isSimilar Killed by : g0803.bindingofshiba.model.game.elements.MoveableElementTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.model.game.elements.MoveableElementTest]/[method:moveWithConstantVelocity()] replaced boolean return with false for g0803/bindingofshiba/math/Vec2D::isSimilar → KILLED
|
119 |
|
1.1 Location : isSimilar Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:isSimilar()] negated conditional → KILLED 2.2 Location : isSimilar Killed by : none replaced boolean return with true for g0803/bindingofshiba/math/Vec2D::isSimilar → NO_COVERAGE
|
121 |
|
1.1 Location : isSimilar Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:isSimilar()] Replaced double multiplication with division → KILLED
|
122 |
|
1.1 Location : isSimilar Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:isSimilar()] Replaced double multiplication with division → KILLED
|
123 |
|
1.1 Location : isSimilar Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:isSimilar()] Replaced double multiplication with division → KILLED
|
124 |
|
1.1 Location : isSimilar Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:isSimilar()] Replaced double multiplication with division → KILLED
|
126 |
|
1.1 Location : isSimilar Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:isSimilar()] negated conditional → KILLED 2.2 Location : isSimilar Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:isSimilar()] negated conditional → KILLED 3.3 Location : isSimilar Killed by : g0803.bindingofshiba.math.Vec2DTest.[engine:junit-jupiter]/[class:g0803.bindingofshiba.math.Vec2DTest]/[method:isNotSimilar()] replaced boolean return with true for g0803/bindingofshiba/math/Vec2D::isSimilar → KILLED
|
131 |
|
1.1 Location : hashCode Killed by : none replaced int return with 0 for g0803/bindingofshiba/math/Vec2D::hashCode → NO_COVERAGE
|
136 |
|
1.1 Location : toString Killed by : none replaced return value with "" for g0803/bindingofshiba/math/Vec2D::toString → NO_COVERAGE
|