xsi/noding/BasicSegmentString.xsi

filter: Statementstmt 88.8% 8 / 9 Branchbran 45.8% 11 / 24 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 57.5% 19 / 33 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« xsi/precision/SimpleGeometryPrecisionReducer.xsi ↑ Summary xsi/noding/SimpleSnapRounder.xsi »
1 MODULE = Geo::Geos PACKAGE = Geo::Geos::Noding::BasicSegmentString
2  
3 PROTOTYPES: DISABLE
4  
5 BasicSegmentString* new(SV*, Array coords) {
6 5 auto seq = Helper::convert_coords(coords);
7 5 ▶ auto deep_clone = seq.clone();
Branch: 2 branches
BranchTrueFalseTotal
auto deep_clone = seq.clone(); 5 0 5
auto deep_clone = seq.clone(); 5 0 5
8 5 ▶ RETVAL = new BasicSegmentString(deep_clone, NULL);
Branch: 1 branch
BranchTrueFalseTotal
RETVAL = new BasicSegmentString(deep_clone, NULL); 5 0 5
9 5 ▶}
Branch: 2 branches
BranchTrueFalseTotal
} 5 0 5
} 5 0 5
10  
11 void BasicSegmentString::DESTROY() {
12 5 ▶ delete THIS->getCoordinates();
Branch: 2 branches
BranchTrueFalseTotal
delete THIS->getCoordinates(); 5 0 5
delete THIS->getCoordinates(); 5 0 5
13 5 ▶}
Branch: 1 branch
BranchTrueFalseTotal
} 5 0 5
14  
15 1 ▶int BasicSegmentString::getSegmentOctant (unsigned int index)
Branch: 1 branch
BranchTrueFalseTotal
int BasicSegmentString::getSegmentOctant (unsigned int index) 0 1 1
16  
17 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
18  
19 BOOT {
20 46 ▶ Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SegmentString");
Branch: 2 branches
BranchTrueFalseTotal
Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SegmentString"); 46 0 46
Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SegmentString"); 46 0 46
21 }
« xsi/precision/SimpleGeometryPrecisionReducer.xsi ↑ Summary xsi/noding/SimpleSnapRounder.xsi »