File Coverage

xsi/index/STRtree.xsi
Criterion Covered Total %
statement 5 5 100.0
branch 12 24 50.0
condition n/a
subroutine n/a
pod n/a
total 17 29 58.6


line stmt bran cond sub pod time code
1             MODULE = Geo::Geos PACKAGE = Geo::Geos::Index::STRtree
2             PROTOTYPES: DISABLE
3              
4             Sv new(SV, std::size_t nodeCapacity = 10) {
5 4 50         Object wrapped = xs::out(new strtree::STRtree(nodeCapacity));
    50          
    50          
    50          
    50          
6 2 50         auto payload = new SVs_map_payload();
    50          
7 2 50         wrapped.payload_attach(payload, &payload_marker_SVs_map);
8              
9 2 50         RETVAL = wrapped.ref();
    50          
10             }
11              
12             BOOT {
13 46 50         Stash(__PACKAGE__).inherit("Geo::Geos::Index::SpatialIndex");
    50          
14             }