Condition Coverage

blib/lib/Geo/GDAL/FFI/Dataset.pm
Criterion Covered Total %
condition 9 66 13.6


and 3 conditions

line !l l&&!r l&&r condition
236 0 0 1 $ds and $e == 0
269 0 0 0 defined wantarray and &blessed($dst)
294 0 0 0 defined wantarray and &blessed($dst)
334 0 0 0 defined wantarray and &blessed($dst)
374 0 0 0 defined wantarray and &blessed($dst)

or 2 conditions

line l !l condition
80 0 3 $i //= 1
103 0 1 $i //= 0
118 3 0 $args //= {}
119 2 1 $args->{'Name'} // ''
124 3 0 $args->{'GeometryType'} // 'Unknown'
157 0 1 $name //= ''
165 0 0 Geo::GDAL::FFI::error_msg() // 'GDALDatasetCopyLayer failed.'
201 2 0 $options //= []
237 0 0 Geo::GDAL::FFI::error_msg() // 'Translate failed.'
256 0 0 $input //= []
286 0 0 Geo::GDAL::FFI::error_msg() // 'Warp failed.'
311 0 0 Geo::GDAL::FFI::error_msg() // 'VectorTranslate failed.'
319 0 0 $args->{'Processing'} // 'hillshade'
326 0 0 Geo::GDAL::FFI::error_msg() // 'DEMProcessing failed.'
351 0 0 Geo::GDAL::FFI::error_msg() // 'NearBlack failed.'
366 0 0 Geo::GDAL::FFI::error_msg() // 'Grid failed.'
389 0 0 Geo::GDAL::FFI::error_msg() // 'Rasterize failed.'
403 0 0 Geo::GDAL::FFI::error_msg() // 'BuildVRT failed.'

or 3 conditions

line l !l&&r !l&&!r condition
108 0 0 0 Geo::GDAL::FFI::error_msg() // "Could not access layer $i in data set."
286 0 0 0 not $result or $e != 0
326 0 0 0 not $result or $e != 0
366 0 0 0 not $result or $e != 0
403 0 0 0 not $result or $e != 0