File Coverage

xsi/noding/SegmentNode.xsi
Criterion Covered Total %
statement 9 9 100.0
branch 7 14 50.0
condition n/a
subroutine n/a
pod n/a
total 16 23 69.5


line stmt bran cond sub pod time code
1             MODULE = Geo::Geos PACKAGE = Geo::Geos::Noding::SegmentNode
2             PROTOTYPES: DISABLE
3              
4 2           bool SegmentNode::isInterior()
5              
6 1 50         bool SegmentNode::isEndPoint(unsigned int maxSegmentIndex)
7              
8 1 50         int SegmentNode::compareTo(SegmentNode& other)
9              
10             std::string SegmentNode::toString(...) {
11 6 50         std::ostringstream out;
12 3 50         out << *THIS;
13 3 50         RETVAL = out.str();
    50          
14             }
15              
16             Coordinate* SegmentNode::coord() {
17 4           RETVAL = new Coordinate(THIS->coord);
18 2 50         }
19              
20 3           unsigned int SegmentNode::segmentIndex() { RETVAL = THIS->segmentIndex; }