Branch Coverage

xsi/index/MonotoneChain.xsi
Criterion Covered Total %
branch 37 72 51.3


line true false branch
5 2 0 auto seq = Helper::convert_coords(pts);
2 0 auto seq = Helper::convert_coords(pts);
2 0 auto seq = Helper::convert_coords(pts);
6 2 0 auto seq_ptr = seq.clone();
7 2 0 auto payload = new MonotoneChain_payload();
10 2 0 Object wrapped = xs::out<>(new MonotoneChain(*seq_ptr, start, end, NULL));
2 0 Object wrapped = xs::out<>(new MonotoneChain(*seq_ptr, start, end, NULL));
2 0 Object wrapped = xs::out<>(new MonotoneChain(*seq_ptr, start, end, NULL));
2 0 Object wrapped = xs::out<>(new MonotoneChain(*seq_ptr, start, end, NULL));
2 0 Object wrapped = xs::out<>(new MonotoneChain(*seq_ptr, start, end, NULL));
11 2 0 wrapped.payload_attach(payload, &payload_marker_MonotoneChain);
13 2 0 RETVAL = wrapped.ref();
2 0 RETVAL = wrapped.ref();
17 1 0 auto seq = Helper::convert_coords(pts);
1 0 auto seq = Helper::convert_coords(pts);
1 0 auto seq = Helper::convert_coords(pts);
18 1 0 std::vector v;
19 1 0 MonotoneChainBuilder::getChains(&seq, NULL, v);
21 1 0 Array result = Array::create(v.size());
1 0 Array result = Array::create(v.size());
22 5 1 for(auto mc: v) {
23 5 0 result.push(xs::out(mc));
5 0 result.push(xs::out(mc));
25 1 0 RETVAL = result;
30 1 0 }
1 0 }
1 0 }
38 2 0 THIS->getLineSegment(index, ls);
39 2 0 RETVAL = new LineSegment(ls);
40 2 0 }
2 0 }
43 1 0 auto smart_ptr = THIS->getCoordinates();
1 0 auto smart_ptr = THIS->getCoordinates();
44 1 0 RETVAL = Helper::convert_copy(smart_ptr.get());
56 46 0 xs::exp::autoexport(Stash(__PACKAGE__));
46 0 xs::exp::autoexport(Stash(__PACKAGE__));