xsi/precision/SimpleGeometryPrecisionReducer.xsi

filter: Statementstmt 92.3% 12 / 13 Branchbran 44.1% 15 / 34 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 57.4% 27 / 47 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« xsi/Polygon.xsi ↑ Summary xsi/noding/BasicSegmentString.xsi »
1 MODULE = Geo::Geos PACKAGE = Geo::Geos::Precision::SimpleGeometryPrecisionReducer
2 PROTOTYPES: DISABLE
3  
4 Sv new(SV*, SV* arg) {
5 1 ▶ PrecisionModel& pm = xs::in<PrecisionModel&>(arg);
Branch: 1 branch
BranchTrueFalseTotal
PrecisionModel& pm = xs::in<PrecisionModel&>(arg); 1 0 1
6 1 ▶ auto self = new SimpleGeometryPrecisionReducer(&pm);
Branch: 3 branches
BranchTrueFalseTotal
auto self = new SimpleGeometryPrecisionReducer(&pm); 1 0 1
auto self = new SimpleGeometryPrecisionReducer(&pm); 1 0 1
auto self = new SimpleGeometryPrecisionReducer(&pm); 0 0 0
7 1 ▶ Object wrapped = xs::out<SimpleGeometryPrecisionReducer*>(self);
Branch: 2 branches
BranchTrueFalseTotal
Object wrapped = xs::out<SimpleGeometryPrecisionReducer*>(self); 1 0 1
Object wrapped = xs::out<SimpleGeometryPrecisionReducer*>(self); 1 0 1
8 1 ▶ wrapped.payload_attach(SvRV(arg), &payload_marker);
Branch: 1 branch
BranchTrueFalseTotal
wrapped.payload_attach(SvRV(arg), &payload_marker); 1 0 1
9 1 ▶ RETVAL = wrapped.ref();
Branch: 2 branches
BranchTrueFalseTotal
RETVAL = wrapped.ref(); 1 0 1
RETVAL = wrapped.ref(); 1 0 1
10 }
11  
12 Sv SimpleGeometryPrecisionReducer::getPrecisionModel() {
13 (void)THIS;
14 1 ▶ Object me{ST(0)};
Branch: 1 branch
BranchTrueFalseTotal
Object me{ST(0)}; 1 0 1
15 1 auto payload = me.payload(&payload_marker);
16 1 ▶ Object obj { payload.obj };
Branch: 1 branch
BranchTrueFalseTotal
Object obj { payload.obj }; 1 0 1
17 1 ▶ RETVAL = obj.ref();
Branch: 2 branches
BranchTrueFalseTotal
RETVAL = obj.ref(); 1 0 1
RETVAL = obj.ref(); 1 0 1
18 }
19  
20 1 void SimpleGeometryPrecisionReducer::setRemoveCollapsedComponents(bool nRemoveCollapsed)
21  
22 1 ▶bool SimpleGeometryPrecisionReducer::getRemoveCollapsed ()
Branch: 1 branch
BranchTrueFalseTotal
bool SimpleGeometryPrecisionReducer::getRemoveCollapsed () 1 0 1
23  
24 Sv SimpleGeometryPrecisionReducer::reduce(Geometry& g) {
25 1 ▶ RETVAL = Helper::uplift(THIS->reduce(&g));
Branch: 2 branches
BranchTrueFalseTotal
RETVAL = Helper::uplift(THIS->reduce(&g)); 1 0 1
RETVAL = Helper::uplift(THIS->reduce(&g)); 1 0 1
26 }
27  
28 0 ▶int CLONE_SKIP (...) { PERL_UNUSED_VAR(items); RETVAL = 1; }
Branch: 1 branch
BranchTrueFalseTotal
int CLONE_SKIP (...) { PERL_UNUSED_VAR(items); RETVAL = 1; } 0 0 0
« xsi/Polygon.xsi ↑ Summary xsi/noding/BasicSegmentString.xsi »