Branch Coverage

xsi/noding/NodedSegmentString.xsi
Criterion Covered Total %
branch 24 52 46.1


line true false branch
6 15 0 auto v = new NodedSegmentString(seq.clone(), NULL);
15 0 auto v = new NodedSegmentString(seq.clone(), NULL);
7 15 0 RETVAL = v;
15 0 RETVAL = v;
11 3 0 auto* node = THIS->addIntersectionNode(&c, segmentIndex);
12 3 0 Sv wrapped = xs::out(node);
3 0 Sv wrapped = xs::out(node);
13 3 0 Object obj{ST(0)};
3 0 Object obj{ST(0)};
14 3 0 wrapped.payload_attach(obj.detach(), &payload_marker);
3 0 wrapped.payload_attach(obj.detach(), &payload_marker);
15 3 0 RETVAL = wrapped;
18 0 0 int NodedSegmentString::getSegmentOctant (unsigned int index)
25 1 1 if (!arg3) {
26 1 0 auto& c = xs::in(arg1);
27 1 0 THIS->addIntersection(c, segmentIndex);
30 1 0 auto& li = xs::in(arg1);
31 0 1 if (!arg3) throw("missing mandatory argument");
32 0 1 if (!arg4) throw("missing mandatory argument");
33 1 0 THIS->addIntersection(&li, segmentIndex, SvIV(arg3), SvIV(arg4));
0 0 THIS->addIntersection(&li, segmentIndex, SvIV(arg3), SvIV(arg4));
1 0 THIS->addIntersection(&li, segmentIndex, SvIV(arg3), SvIV(arg4));
0 0 THIS->addIntersection(&li, segmentIndex, SvIV(arg3), SvIV(arg4));
1 0 THIS->addIntersection(&li, segmentIndex, SvIV(arg3), SvIV(arg4));
40 46 0 Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SegmentString");
46 0 Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SegmentString");