Branch Coverage

xsi/Coordinate.xsi
Criterion Covered Total %
branch 18 46 39.1


line true false branch
4 0 0 Sv getNull () { RETVAL = coordinate_get_null(); }
8 7 309 }
0 7 }
7 0 }
316 0 }
316 0 }
17 0 8 if (newval) {
18 0 0 if (SvREADONLY(ST(0))) throw "cannot modify readonly object";
19 0 0 *val = SvNV(newval);
0 0 *val = SvNV(newval);
25 0 0 if (SvREADONLY(ST(0))) throw "cannot modify readonly object";
29 3 0 bool Coordinate::isNull()
31 10 0 bool Coordinate::equals (Coordinate& other)
33 6 0 bool Coordinate::equals2D (Coordinate& other)
35 6 0 bool Coordinate::equals3D (Coordinate& other)
37 6 0 int Coordinate::compareTo (Coordinate& other)
40 48 0 auto* other = xs::in(other_arg);
41 48 0 RETVAL = other ? THIS->equals(*other) : false;
48 0 RETVAL = other ? THIS->equals(*other) : false;
45 132 0 std::string Coordinate::toString (...)
132 0 std::string Coordinate::toString (...)
47 6 0 double Coordinate::distance (Coordinate& other)
49 0 0 int Coordinate::hashCode ()