Branch Coverage

xsi/algorithm/HCoordinate.xsi
Criterion Covered Total %
branch 55 106 51.8


line true false branch
6 1 4 auto c = xs::in(arg1);
7 1 0 RETVAL = new HCoordinate(*c);
8 1 0 }
1 0 }
10 2 2 Object obj1 {arg1}, obj2{arg2};
11 2 0 if(!obj1) throw("wrong argument");
2 0 if(!obj1) throw("wrong argument");
12 0 2 if(!obj2) throw("wrong argument");
13 0 2 if (obj1.stash().name() == "Geo::Geos::Algorithm::HCoordinate") {
14 2 0 auto& c1 = xs::in(obj1);
2 0 auto& c1 = xs::in(obj1);
1 1 auto& c1 = xs::in(obj1);
15 1 0 auto& c2 = xs::in(obj1);
16 1 0 RETVAL = new HCoordinate(c1, c2);
17 1 0 }
1 0 }
20 1 0 auto& c2 = xs::in(obj1);
21 1 0 RETVAL = new HCoordinate(c1, c2);
22 1 0 }
1 0 }
25 1 1 if(!arg1) throw("undef not allowed");
26 0 1 if(!arg2) throw("undef not allowed");
27 0 1 if(!arg3) throw("undef not allowed");
28 0 1 RETVAL = new HCoordinate(Simple(arg1), Simple(arg2), Simple(arg3));
29 1 0 }
1 0 }
1 0 }
1 0 }
1 0 }
1 0 }
1 0 }
1 0 }
32 1 0 auto& c2 = xs::in(arg2);
33 1 0 auto& c3 = xs::in(arg3);
34 1 0 auto& c4 = xs::in(arg4);
35 1 0 RETVAL = new HCoordinate(c1, c2, c3, c4);
36 1 0 }
1 0 }
46 0 8 if (newval) {
47 0 0 *val = SvNV(newval);
0 0 *val = SvNV(newval);
54 1 0 THIS->getCoordinate(c);
55 1 0 RETVAL = new Coordinate(c);
56 1 0 }
61 1 0 HCoordinate::intersection(p1, p2, q1, q2, c);
62 1 0 RETVAL = new Coordinate(c);
63 1 0 }
66 6 0 std::ostringstream out;
67 6 0 out << *THIS;
68 6 0 RETVAL = out.str();
6 0 RETVAL = out.str();
74 46 0 xs::exp::autoexport(Stash(__PACKAGE__));
46 0 xs::exp::autoexport(Stash(__PACKAGE__));