xsi/WKTWriter.xsi

filter: Statementstmt 62.5% 5 / 8 Branchbran 22.7% 5 / 22 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 33.3% 10 / 30 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« xsi/noding/SinglePassNoder.xsi ↑ Summary xsi/GeometryCollection.xsi »
1 MODULE = Geo::Geos PACKAGE = Geo::Geos::WKTWriter
2 PROTOTYPES: DISABLE
3  
4 WKTWriter* new(SV*, SV* roundingPrecision = NULL, SV* trim = NULL) {
5 2 RETVAL = new WKTWriter();
6 2 ▶ if (roundingPrecision) RETVAL->setRoundingPrecision(SvIV(roundingPrecision));
Branch: 3 branches
BranchTrueFalseTotal
if (roundingPrecision) RETVAL->setRoundingPrecision(SvIV(roundingPrecision)); 2 0 2
if (roundingPrecision) RETVAL->setRoundingPrecision(SvIV(roundingPrecision)); 2 0 2
if (roundingPrecision) RETVAL->setRoundingPrecision(SvIV(roundingPrecision)); 0 0 0
7 2 ▶ if (trim) RETVAL->setTrim(SvTRUE(trim));
Branch: 3 branches
BranchTrueFalseTotal
if (trim) RETVAL->setTrim(SvTRUE(trim)); 0 2 2
if (trim) RETVAL->setTrim(SvTRUE(trim)); 0 0 0
if (trim) RETVAL->setTrim(SvTRUE(trim)); 0 0 0
8 2 ▶}
Branch: 3 branches
BranchTrueFalseTotal
} 0 2 2
} 0 0 0
} 0 0 0
9  
10 0 void WKTWriter::setTrim(bool value)
11  
12 0 void WKTWriter::setRoundingPrecision(int value)
13  
14 2 ▶std::string WKTWriter::write(Geometry& g) { RETVAL = THIS->write(&g); }
Branch: 1 branch
BranchTrueFalseTotal
std::string WKTWriter::write(Geometry& g) { RETVAL = THIS->write(&g); } 2 0 2
15  
16 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/noding/SinglePassNoder.xsi ↑ Summary xsi/GeometryCollection.xsi »