Condition Coverage

blib/lib/Image/MetaData/GQview.pm
Criterion Covered Total %
condition 13 42 30.9


and 3 conditions

line !l l&&!r l&&r condition
237 0 1 0 $newimage and not $newmetafile
255 1 0 0 $false and not $newmetafile
1 0 0 $false and not $newmetafile and $metafile ne $metadata2

or 2 conditions

line l !l condition
60 0 2 shift() || {}
302 4 0 $$self{'data'}{$field} || ''
349 5 1 $$self{'data'}{$field} || ''

or 3 conditions

line l !l&&r !l&&!r condition
58 0 2 0 ref $param || $param
96 2 0 0 shift() || $$self{'imagefile'}
111 0 0 0 $metafile ||= $metadata2
210 1 0 0 $image ||= $$self{'imagefile'}
211 1 0 0 $metafile ||= $$self{'metafile'}
249 0 0 0 -d $metadir or mkdir $metadir
265 0 0 0 -d $metadir or mkdir $metadir
298 4 0 0 shift() || croak('get_field has to be called with a field as the first parameter')
321 2 0 0 shift() || croak('set_field has to be called with a field as the first parameter')