xsi/Polygon.xsi

filter: Statementstmt 83.3% 10 / 12 Branchbran 46.6% 14 / 30 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 57.1% 24 / 42 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« xsi/noding/SingleInteriorIntersectionFinder.xsi ↑ Summary xsi/precision/SimpleGeometryPrecisionReducer.xsi »
1 MODULE = Geo::Geos PACKAGE = Geo::Geos::Polygon
2 PROTOTYPES: DISABLE
3  
4  
5 LinearRing* geos::geom::Polygon::getExteriorRing() {
6 1 RETVAL = dyn_cast<LinearRing*>(THIS->getExteriorRing()->clone());
7 1 ▶}
Branch: 4 branches
BranchTrueFalseTotal
} 1 0 1
} 1 0 1
} 1 0 1
} 1 0 1
8  
9 LinearRing* geos::geom::Polygon::getInteriorRingN(std::size_t index) {
10 1 auto r = THIS->getInteriorRingN(index);
11 1 ▶ if (r) RETVAL = dyn_cast<LinearRing*>(r->clone());
Branch: 1 branch
BranchTrueFalseTotal
if (r) RETVAL = dyn_cast<LinearRing*>(r->clone()); 1 0 1
12 1 ▶ else XSRETURN_UNDEF;
Branch: 3 branches
BranchTrueFalseTotal
else XSRETURN_UNDEF; 1 0 1
else XSRETURN_UNDEF; 1 0 1
else XSRETURN_UNDEF; 1 0 1
13 0 }
14  
15 2 std::size_t geos::geom::Polygon::getNumInteriorRing() { RETVAL = THIS->getNumInteriorRing(); }
16 2 ▶ 
Branch: 2 branches
BranchTrueFalseTotal
2 0 2
2 0 2
17 GeometryCollection* geos::geom::Polygon::tesselate() {
18 1 RETVAL = panda::Geos::tesselate(*THIS);
19 1 ▶}
Branch: 2 branches
BranchTrueFalseTotal
} 1 0 1
} 1 0 1
20  
21 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
22  
23 BOOT {
24 46 ▶ Stash(__PACKAGE__).inherit("Geo::Geos::Polygonal");
Branch: 2 branches
BranchTrueFalseTotal
Stash(__PACKAGE__).inherit("Geo::Geos::Polygonal"); 46 0 46
Stash(__PACKAGE__).inherit("Geo::Geos::Polygonal"); 46 0 46
25 }
« xsi/noding/SingleInteriorIntersectionFinder.xsi ↑ Summary xsi/precision/SimpleGeometryPrecisionReducer.xsi »