xsi/noding/IntersectionAdder.xsi

filter: Statementstmt 92.8% 13 / 14 Branchbran 43.3% 13 / 30 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 59.0% 26 / 44 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« xsi/index/MonotoneChainOverlapAction.xsi ↑ Summary Geos.xs »
1 MODULE = Geo::Geos PACKAGE = Geo::Geos::Noding::IntersectionAdder
2 PROTOTYPES: DISABLE
3  
4 Sv new(SV*,SV* liObj) {
5 2 ▶ LineIntersector& li = xs::in<LineIntersector&>(liObj);
Branch: 1 branch
BranchTrueFalseTotal
LineIntersector& li = xs::in<LineIntersector&>(liObj); 2 0 2
6 2 ▶ Object wrapped = xs::out<>(new IntersectionAdder(li));
Branch: 4 branches
BranchTrueFalseTotal
Object wrapped = xs::out<>(new IntersectionAdder(li)); 2 0 2
Object wrapped = xs::out<>(new IntersectionAdder(li)); 2 0 2
Object wrapped = xs::out<>(new IntersectionAdder(li)); 2 0 2
Object wrapped = xs::out<>(new IntersectionAdder(li)); 0 0 0
7 2 ▶ wrapped.payload_attach(SvRV(liObj), &payload_marker);
Branch: 1 branch
BranchTrueFalseTotal
wrapped.payload_attach(SvRV(liObj), &payload_marker); 2 0 2
8 2 ▶ RETVAL = wrapped.ref();
Branch: 2 branches
BranchTrueFalseTotal
RETVAL = wrapped.ref(); 2 0 2
RETVAL = wrapped.ref(); 2 0 2
9 }
10  
11 Sv IntersectionAdder::getLineIntersector() {
12 (void)THIS;
13 1 ▶ Object me{ST(0)};
Branch: 1 branch
BranchTrueFalseTotal
Object me{ST(0)}; 1 0 1
14 1 auto payload = me.payload(&payload_marker);
15 1 ▶ Object li{payload.obj};
Branch: 1 branch
BranchTrueFalseTotal
Object li{payload.obj}; 1 0 1
16 1 ▶ RETVAL = li.ref();
Branch: 2 branches
BranchTrueFalseTotal
RETVAL = li.ref(); 1 0 1
RETVAL = li.ref(); 1 0 1
17 }
18  
19 1 bool IntersectionAdder::hasIntersection ()
20  
21 1 bool IntersectionAdder::hasProperIntersection ()
22  
23 1 bool IntersectionAdder::hasProperInteriorIntersection ()
24  
25 1 bool IntersectionAdder::hasInteriorIntersection ()
26  
27 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
28  
29 BOOT {
30 46 ▶ Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SegmentIntersector");
Branch: 2 branches
BranchTrueFalseTotal
Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SegmentIntersector"); 46 0 46
Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SegmentIntersector"); 46 0 46
31 }
32  
33  
« xsi/index/MonotoneChainOverlapAction.xsi ↑ Summary Geos.xs »