xsi/noding/SimpleNoder.xsi

filter: Statementstmt 85.7% 6 / 7 Branchbran 42.3% 11 / 26 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 51.5% 17 / 33 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« xsi/PrepGeometry.xsi ↑ Summary xsi/index/STRtree.xsi »
1 MODULE = Geo::Geos PACKAGE = Geo::Geos::Noding::SimpleNoder
2 PROTOTYPES: DISABLE
3  
4 Sv new(SV*, SV *newSegInt = NULL) {
5 1 ▶ SegmentIntersector* si = newSegInt ? xs::in<SegmentIntersector*>(newSegInt) : NULL;
Branch: 2 branches
BranchTrueFalseTotal
SegmentIntersector* si = newSegInt ? xs::in<SegmentIntersector*>(newSegInt) : NULL; 1 0 1
SegmentIntersector* si = newSegInt ? xs::in<SegmentIntersector*>(newSegInt) : NULL; 1 0 1
6 1 ▶ Object self{xs::out<SimpleNoder*>(new SimpleNoder(si))};
Branch: 4 branches
BranchTrueFalseTotal
Object self{xs::out<SimpleNoder*>(new SimpleNoder(si))}; 1 0 1
Object self{xs::out<SimpleNoder*>(new SimpleNoder(si))}; 1 0 1
Object self{xs::out<SimpleNoder*>(new SimpleNoder(si))}; 1 0 1
Object self{xs::out<SimpleNoder*>(new SimpleNoder(si))}; 0 0 0
7 1 ▶ if (si) {
Branch: 1 branch
BranchTrueFalseTotal
if (si) { 1 0 1
8 1 ▶ self.payload_attach(SvRV(newSegInt), &payload_marker);
Branch: 1 branch
BranchTrueFalseTotal
self.payload_attach(SvRV(newSegInt), &payload_marker); 1 0 1
9 }
10 1 ▶ RETVAL = self.ref();
Branch: 2 branches
BranchTrueFalseTotal
RETVAL = self.ref(); 1 0 1
RETVAL = self.ref(); 1 0 1
11 }
12  
13  
14 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
15  
16 BOOT {
17 46 ▶ Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SinglePassNoder");
Branch: 2 branches
BranchTrueFalseTotal
Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SinglePassNoder"); 46 0 46
Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SinglePassNoder"); 46 0 46
18 }
« xsi/PrepGeometry.xsi ↑ Summary xsi/index/STRtree.xsi »