Branch Coverage

blib/lib/Geo/GDAL/FFI/Dataset.pm
Criterion Covered Total %
branch 19 86 22.0


line true false branch
60 0 1 if ($e != 0)
69 0 1 wantarray ? :
74 0 1 @_ > 1 ? :
104 1 0 Geo::GDAL::FFI::isint($i) ? :
107 0 1 unless ($l)
110 0 0 if $msg
121 0 3 if ($args->{'GeometryFields'}) { }
126 0 3 unless defined $gt
127 1 2 if $args->{'SpatialReference'}
130 0 3 if ($args->{'Options'})
137 1 2 if $sr
139 0 3 if $msg
142 0 3 if ($args->{'Fields'})
147 0 3 if ($args->{'GeometryFields'})
164 0 1 unless ($l)
166 0 0 if $msg
180 0 0 if ($lyr)
181 0 0 if (defined wantarray) { }
202 0 2 unless ref $options
223 1 0 unless $args->{'Progress'}
236 1 0 if $ds and $e == 0
243 0 0 unless $dst
245 0 0 if (ref $dst) { }
257 0 0 unless ref($input) =~ /ARRAY/
269 0 0 if defined wantarray and &blessed($dst)
279 0 0 if (&blessed($dst)) { }
285 0 0 if (defined $result)
286 0 0 if not $result or $e != 0
294 0 0 if defined wantarray and &blessed($dst)
304 0 0 if (&blessed($dst)) { }
311 0 0 if $e != 0
312 0 0 if (defined $result)
326 0 0 if not $result or $e != 0
334 0 0 if defined wantarray and &blessed($dst)
344 0 0 if (&blessed($dst)) { }
351 0 0 if $e != 0
352 0 0 if (defined $result)
366 0 0 if not $result or $e != 0
374 0 0 if defined wantarray and &blessed($dst)
382 0 0 if (&blessed($dst)) { }
389 0 0 if $e != 0
390 0 0 if (defined $result)
403 0 0 if not $result or $e != 0