Branch Coverage

xsi/noding/IntersectionFinderAdder.xsi
Criterion Covered Total %
branch 31 58 53.4


line true false branch
5 1 0 LineIntersector& li = xs::in(liObj);
6 1 0 auto* payload = new IntersectionFinderAdder_payload{SvRV(liObj), {}};
1 0 auto* payload = new IntersectionFinderAdder_payload{SvRV(liObj), {}};
9 1 0 v->reserve(coords.size());
1 0 v->reserve(coords.size());
10 1 0 for(auto it: coords) {
1 0 for(auto it: coords) {
1 1 for(auto it: coords) {
1 0 for(auto it: coords) {
11 1 0 Coordinate& c = xs::in(it);
12 1 0 v->emplace_back(c);
15 1 0 Object wrapped = xs::out<>(new IntersectionFinderAdder(li, *v));
1 0 Object wrapped = xs::out<>(new IntersectionFinderAdder(li, *v));
1 0 Object wrapped = xs::out<>(new IntersectionFinderAdder(li, *v));
1 0 Object wrapped = xs::out<>(new IntersectionFinderAdder(li, *v));
16 1 0 wrapped.payload_attach(payload, &payload_marker_IntersectionFinderAdder);
18 1 0 RETVAL = wrapped.ref();
1 0 RETVAL = wrapped.ref();
23 1 0 Object me{ST(0)};
1 0 Object me{ST(0)};
28 1 0 auto result = xs::Array::create(v->size());
1 0 auto result = xs::Array::create(v->size());
29 1 1 for(auto& c: *v) {
30 1 0 result.push(xs::out(new Coordinate(c)));
1 0 result.push(xs::out(new Coordinate(c)));
1 0 result.push(xs::out(new Coordinate(c)));
32 1 0 RETVAL = result;
39 46 0 Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SegmentIntersector");
46 0 Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SegmentIntersector");