xsi/noding/SinglePassNoder.xsi

filter: Statementstmt 11.1% 1 / 9 Branchbran 9.0% 2 / 22 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 9.6% 3 / 31 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« blib/arch/Geo/Geos/Triangulate.pm ↑ Summary xsi/WKTWriter.xsi »
1 MODULE = Geo::Geos PACKAGE = Geo::Geos::Noding::SinglePassNoder
2 PROTOTYPES: DISABLE
3  
4 void SinglePassNoder::setSegmentIntersector(SV *newSegInt = NULL) {
5 0 ▶ Object self{ST(0)};
Branch: 1 branch
BranchTrueFalseTotal
Object self{ST(0)}; 0 0 0
6  
7 0 ▶ SegmentIntersector* si = newSegInt ? xs::in<SegmentIntersector*>(newSegInt) : NULL;
Branch: 2 branches
BranchTrueFalseTotal
SegmentIntersector* si = newSegInt ? xs::in<SegmentIntersector*>(newSegInt) : NULL; 0 0 0
SegmentIntersector* si = newSegInt ? xs::in<SegmentIntersector*>(newSegInt) : NULL; 0 0 0
8 0 ▶ if (si) {
Branch: 1 branch
BranchTrueFalseTotal
if (si) { 0 0 0
9 0 ▶ self.payload_attach(SvRV(newSegInt), &payload_marker);
Branch: 1 branch
BranchTrueFalseTotal
self.payload_attach(SvRV(newSegInt), &payload_marker); 0 0 0
10 }
11 0 ▶ else if (self.payload_exists(&payload_marker)) {
Branch: 1 branch
BranchTrueFalseTotal
else if (self.payload_exists(&payload_marker)) { 0 0 0
12 0 ▶ self.payload_detach(&payload_marker);
Branch: 1 branch
BranchTrueFalseTotal
self.payload_detach(&payload_marker); 0 0 0
13 }
14  
15 0 ▶ THIS->setSegmentIntersector(si);
Branch: 1 branch
BranchTrueFalseTotal
THIS->setSegmentIntersector(si); 0 0 0
16 }
17  
18  
19 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
20  
21 BOOT {
22 46 ▶ Stash(__PACKAGE__).inherit("Geo::Geos::Noding::Noder");
Branch: 2 branches
BranchTrueFalseTotal
Stash(__PACKAGE__).inherit("Geo::Geos::Noding::Noder"); 46 0 46
Stash(__PACKAGE__).inherit("Geo::Geos::Noding::Noder"); 46 0 46
23 }
« blib/arch/Geo/Geos/Triangulate.pm ↑ Summary xsi/WKTWriter.xsi »