Condition Coverage

blib/lib/File/Edit/Portable.pm
Criterion Covered Total %
condition 24 27 88.8


and 3 conditions

line !l l&&!r l&&r condition
80 54 18 2 $reads_count > 1 and not $p{'file'}
105 71 0 0 $os[0] eq 'FreeBSD' and $os[-1] eq 'amd64'
168 11 3 1 defined $line and defined $find
183 2 1 10 defined $find and not defined $line

or 2 conditions

line l !l condition
78 69 5 $self->{'reads'}{'count'} || 0
392 71 537 shift() || 'r'
425 22 1 $seps{$sep} || 'unknown'

or 3 conditions

line l !l&&r !l&&!r condition
115 24 25 22 ref $contents eq 'GLOB' or ref $contents eq 'File::Temp'
163 4 0 12 defined $line or defined $find
264 6 3 217 $@ or -z $fh