Branch Coverage

blib/lib/Geo/GDAL/FFI.pm
Criterion Covered Total %
branch 29 60 48.3


line true false branch
64 0 5 unless $instance
65 0 5 if exists $instance->{'CPLErrorHandler'}
75 0 0 unless $instance
76 0 0 unless exists $instance->{'CPLErrorHandler'}
83 17 0 unless @errors or $args
84 0 0 unless (@errors)
85 0 0 if $args->{'OGRError'}
97 0 44 unless defined $gdal_handle
99 0 44 unless $parent
107 0 64 unless $gdal_handle
114 0 0 unless $parent_ref_hash{$gdal_handle}
412 193 0 if $flags & 4096 and not $flags & 8192 and not $flags & 16384
418 1 5 if $instance
433 0 5 unless $class->can('VSIMalloc')
1270 5 0 if ($pc->errmsg)
1275 0 5 if ($pc->errmsg) { }
1282 5 0 if (opendir my $dh, $dir) { }
1298 0 9 unless $instance
1313 163 12 isint($i) ? :
1314 0 175 unless $d
1351 0 2 if (@errors)
1356 1 1 unless ($ds)
1371 1 1 unless $writer
1374 0 2 unless $w and $c
1386 1 0 if $self->{'close'}
1393 0 3 unless $importer
1400 0 1 unless $exporter
1407 0 0 unless $setter
1418 0 1 if (@errors > $n) { }
1437 1 5 @_ == 2 ? :