| line |
!l |
l&&!r |
l&&r |
condition |
|
231
|
3 |
0 |
10 |
$arg and $arg eq 'Geo::OGR::FeatureDefn' |
|
337
|
4 |
0 |
0 |
@_ == 1 and ref $_[0] eq 'HASH' |
|
|
0 |
0 |
4 |
@_ and @_ % 2 == 0 |
|
343
|
0 |
4 |
0 |
$fields and ref $fields ne 'ARRAY' |
|
363
|
0 |
3 |
15 |
&blessed($d) and $d->isa('Geo::OGR::FieldDefn') |
|
|
0 |
0 |
3 |
&blessed($d) and $d->isa('Geo::OGR::GeomFieldDefn') |
|
438
|
30 |
1 |
0 |
@_ == 1 and not ref $_[0] |
|
|
31 |
0 |
0 |
@_ == 2 and not $Geo::OGR::FieldDefn::SCHEMA_KEYS{$_[0]} |
|
520
|
9 |
1 |
0 |
@_ == 2 and not $Geo::OGR::GeomFieldDefn::SCHEMA_KEYS{$_[0]} |
|
532
|
0 |
0 |
0 |
$key ne 'Index' and $key ne 'GeometryType' |
|
602
|
18 |
1 |
7 |
@_ == 1 and ref $_[0] eq 'HASH' |
|
953
|
0 |
0 |
0 |
$p[2] and $p[2]{'STRICT'} eq 'NO' |
|
1060
|
21 |
0 |
0 |
&blessed($params{'Defn'}) and $params{'Defn'}->isa('Geo::OGR::FieldDefn') |
|
|
21 |
0 |
0 |
&blessed($_[0]) and $params{'Defn'}->isa('Geo::OGR::GeomFieldDefn') |
|
1087
|
1 |
0 |
0 |
&blessed($param) and $param->isa('Geo::OGR::FieldDefn') |
|
1110
|
7 |
0 |
0 |
@_ and @_ % 2 == 0 |
|
1170
|
0 |
0 |
0 |
&blessed($feature) and $feature->isa('Geo::OGR::Feature') |
|
1288
|
4 |
0 |
13 |
$index < 0 and $name =~ /^\d+$/ |
|
1290
|
0 |
0 |
13 |
$name >= 0 and $name < $self->GetFieldCount |
|
1299
|
1 |
0 |
15 |
$index < 0 and $name =~ /^\d+$/ |
|
1301
|
0 |
0 |
15 |
$name >= 0 and $name < $self->GetGeomFieldCount |
|
1312
|
8 |
0 |
0 |
@_ and @_ % 2 == 0 |
|
1466
|
35 |
5 |
61 |
$index < 0 and $name =~ /^\d+$/ |
|
1468
|
0 |
1 |
60 |
$name >= 0 and $name < $self->GetFieldCount |
|
1477
|
4 |
1 |
19 |
$index < 0 and $name =~ /^\d+$/ |
|
1479
|
0 |
0 |
19 |
$name >= 0 and $name < $self->GetGeomFieldCount |
|
1527
|
7 |
0 |
0 |
@_ == 1 and ref $_[0] eq 'HASH' |
|
|
0 |
0 |
7 |
@_ and @_ % 2 == 0 |
|
1751
|
12 |
11 |
0 |
@_ and @_ % 2 == 0 |
|
1758
|
7 |
0 |
4 |
&blessed($geometry) and $geometry->isa('Geo::OGR::Geometry') |
|
1760
|
0 |
4 |
0 |
$type ne 'Unknown' and $type ne $gtype |
|
1772
|
0 |
7 |
0 |
$type ne 'Unknown' and $type ne $gtype |
|
2184
|
0 |
0 |
0 |
$has_z and not $has_m |
|
|
0 |
0 |
0 |
not $has_z and $has_m |
|
2200
|
0 |
0 |
0 |
$has_z and not $has_m |
|
|
0 |
0 |
0 |
not $has_z and $has_m |
|
2218
|
0 |
0 |
0 |
$has_z and not $has_m |
|
|
0 |
0 |
0 |
not $has_z and $has_m |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
357
|
0 |
3 |
14 |
$fd->{'GeometryType'} or exists $Geo::OGR::Geometry::TYPE_STRING2INT{$fd->{'Type'}} |
|
535
|
10 |
0 |
0 |
$params->{'Type'} //= $tmp->{'GeometryType'} |
|
609
|
11 |
0 |
15 |
$param{'GeometryType'} // $param{'Type'} |
|
|
0 |
0 |
15 |
($param{'GeometryType'} // $param{'Type'}) // $param{'type'} |
|
610
|
0 |
0 |
26 |
$param{'SRS'} // $param{'srs'} |
|
611
|
11 |
0 |
15 |
$param{'WKT'} // $param{'wkt'} |
|
612
|
0 |
0 |
26 |
$param{'WKB'} // $param{'wkb'} |
|
613
|
0 |
0 |
26 |
$param{'HEXEWKB'} // $param{'HEX_EWKB'} |
|
|
0 |
0 |
26 |
($param{'HEXEWKB'} // $param{'HEX_EWKB'}) // $param{'hexewkb'} |
|
|
0 |
0 |
26 |
(($param{'HEXEWKB'} // $param{'HEX_EWKB'}) // $param{'hexewkb'}) // $param{'hex_ewkb'} |
|
620
|
0 |
0 |
26 |
$param{'HEXWKB'} // $param{'HEX_WKB'} |
|
|
0 |
0 |
26 |
($param{'HEXWKB'} // $param{'HEX_WKB'}) // $param{'hexwkb'} |
|
|
1 |
0 |
25 |
(($param{'HEXWKB'} // $param{'HEX_WKB'}) // $param{'hexwkb'}) // $param{'hex_wkb'} |
|
628
|
0 |
0 |
26 |
$param{'GML'} // $param{'gml'} |
|
629
|
1 |
0 |
25 |
$param{'GeoJSON'} // $param{'geojson'} |
|
|
0 |
0 |
25 |
($param{'GeoJSON'} // $param{'geojson'}) // $param{'JSON'} |
|
|
0 |
0 |
25 |
(($param{'GeoJSON'} // $param{'geojson'}) // $param{'JSON'}) // $param{'json'} |
|
630
|
3 |
0 |
23 |
$param{'Points'} // $param{'points'} |
|
631
|
0 |
0 |
26 |
$param{'Arc'} // $param{'arc'} |
|
1058
|
19 |
21 |
2 |
$params{$k} //= $defaults{$k} |
|
1094
|
0 |
0 |
1 |
exists $param->{'Width'} or exists $param->{'Precision'} |
|
1338
|
0 |
0 |
1 |
$Geo::OGR::Feature::DEFNS{tied %$self} or $Geo::OGR::Layer::DEFNS{tied %$self} |
|
1358
|
0 |
0 |
0 |
$Geo::OGR::Feature::DEFNS{tied %$self} or $Geo::OGR::Layer::DEFNS{tied %$self} |
|
1394
|
0 |
0 |
2 |
$Geo::OGR::Feature::DEFNS{tied %$self} or $Geo::OGR::Layer::DEFNS{tied %$self} |
|
1681
|
0 |
1 |
24 |
@_ == 0 or not defined $arg |
|
1720
|
9 |
2 |
4 |
$type == $Geo::OGR::OFTInteger or $type == $Geo::OGR::OFTReal |
|
|
11 |
4 |
0 |
$type == $Geo::OGR::OFTInteger or $type == $Geo::OGR::OFTReal or $type == $Geo::OGR::OFTString |
|
1748
|
19 |
0 |
5 |
@_ > 0 && ref $_[0] eq '' || @_ > 2 && @_ % 2 == 1 |
|
1767
|
0 |
7 |
0 |
$geometry->{'GeometryType'} //= $type |
|
2072
|
0 |
0 |
0 |
$p{$p} //= $default{$p} |
|
2078
|
0 |
0 |
0 |
$p{$p} //= $default{$p} |
|
2184
|
0 |
0 |
9 |
$has_z || $has_m |
|
2200
|
0 |
0 |
1 |
$has_z || $has_m |
|
2218
|
0 |
0 |
9 |
$has_z || $has_m |
|
2240
|
0 |
0 |
1 |
$has_z || $has_m |
|
|
0 |
0 |
0 |
$has_z or $has_m |
|
2271
|
0 |
0 |
7 |
$t eq 'Unknown' or $t eq 'None' |
|
|
0 |
0 |
7 |
$t eq 'Unknown' or $t eq 'None' or $t eq 'GeometryCollection' |
|
|
1 |
0 |
0 |
$t eq 'LineString' or $t eq 'LinearRing' |
|
|
1 |
0 |
0 |
$t eq 'LineString' or $t eq 'LinearRing' or $t eq 'CircularString' |