Branch Coverage

xsi/precision/GeometryPrecisionReducer.xsi
Criterion Covered Total %
branch 16 38 42.1


line true false branch
6 1 0 Object arg{arg0};
1 0 Object arg{arg0};
7 1 0 if (arg.stash().name() == "Geo::Geos::PrecisionModel") {
1 0 if (arg.stash().name() == "Geo::Geos::PrecisionModel") {
1 0 if (arg.stash().name() == "Geo::Geos::PrecisionModel") {
8 1 0 PrecisionModel& pm = xs::in(arg);
9 1 0 self = new GeometryPrecisionReducer(pm);
12 0 0 GeometryFactory& gf = xs::in(arg);
13 0 0 self = new GeometryPrecisionReducer(gf);
0 0 self = new GeometryPrecisionReducer(gf);
15 1 0 Object wrapped = xs::out(self);
1 0 Object wrapped = xs::out(self);
1 0 Object wrapped = xs::out(self);
16 1 0 wrapped.payload_attach(SvRV(arg0), &payload_marker);
17 1 0 RETVAL = wrapped.ref();
1 0 RETVAL = wrapped.ref();
25 1 0 auto ptr = THIS->reduce(g);
1 0 auto ptr = THIS->reduce(g);
26 1 0 RETVAL = Helper::uplift(ptr.release());