Condition Coverage

blib/lib/File/Edit/Portable.pm
Criterion Covered Total %
condition 25 27 92.5


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"
167 11 3 1 defined $line and defined $find
182 2 1 10 defined $find and not defined $line

or 2 conditions

line l !l condition
78 69 5 $self->{'reads'}{'count'} || 0
393 71 537 shift() || 'r'
426 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"
162 4 11 1 defined $line or defined $find
263 6 3 217 $@ or -z $fh