File Coverage

xsi/WKBConstants.xsi
Criterion Covered Total %
statement 4 5 80.0
branch 16 32 50.0
condition n/a
subroutine n/a
pod n/a
total 20 37 54.0


line stmt bran cond sub pod time code
1             MODULE = Geo::Geos PACKAGE = Geo::Geos::WKBConstants
2             PROTOTYPES: DISABLE
3              
4 0           int CLONE_SKIP (...) { PERL_UNUSED_VAR(items); RETVAL = 1; }
5              
6             BOOT {
7 92 50         auto this_stash = Stash(__PACKAGE__);
8 506 50         xs::exp::create_constants(this_stash, {
    50          
    50          
    50          
    50          
    50          
    50          
    50          
    50          
    50          
    100          
    0          
9             //{"TYPE_BYTEORDER_BE", WKBConstants::wkbXDR},
10             //{"TYPE_BYTEORDER_LE", WKBConstants::wkbNDR},
11             {"TYPE_BYTEORDER_BE", 0},
12             {"TYPE_BYTEORDER_LE", 1},
13              
14             {"TYPE_WKB_POINT", WKBConstants::wkbPoint},
15             {"TYPE_WKB_LINESTRING", WKBConstants::wkbLineString},
16             {"TYPE_WKB_POLYGON", WKBConstants::wkbPolygon},
17             {"TYPE_WKB_MULTIPOINT", WKBConstants::wkbMultiPoint},
18             {"TYPE_WKB_MULTILINESTRING", WKBConstants::wkbMultiLineString},
19             {"TYPE_WKB_MULTIPOLYGON", WKBConstants::wkbMultiPolygon},
20             {"TYPE_WKB_GEOMETRYCOLLECTION", WKBConstants::wkbGeometryCollection}
21 460 50         });
22 46 50         xs::exp::autoexport(this_stash);
    50          
23             }