Condition Coverage

blib/lib/File/Slurp.pm
Criterion Covered Total %
condition 34 45 75.5


and 3 conditions

line !l l&&!r l&&r condition
108 5 153 36 $read and $pos < $size
119 194 0 4 $opts->{'_is_data'} and $opts->{'_data_tell'}
122 198 0 0 $is_win32 and not $opts->{'binmode'}
130 0 34 16 defined $sep and $sep eq ''
277 0 13 17 not defined $opts->{'perms'} and -e $file_name
13 0 17 not defined $opts->{'perms'} and -e $file_name and -f _
330 141 14 16 $opts->{'atomic'} and not rename($file_name, $orig_filename)
382 7 1 6 $_ ne 'err_mode' && $_ ne 'binmode'
441 7 1 6 $_ ne 'err_mode' && $_ ne 'binmode'
496 6 0 0 $_ ne 'err_mode' && $_ ne 'binmode'
557 6 6 97 $_ ne '.' && $_ ne '..'

or 2 conditions

line l !l condition
102 12 186 $opts->{'buf_ref'} || \$buf
104 0 198 $opts->{'blk_size'} || 1048576
588 88 6 $opts->{'err_mode'} or 'croak'

or 3 conditions

line l !l&&r !l&&!r condition
127 32 18 148 $want_array or $opts->{'array_ref'}
174 0 0 3 $@ or not overload::Overloaded($handle)