Branch Coverage

blib/lib/File/Read.pm
Criterion Covered Total %
branch 29 38 76.3


line true false branch
161 1 0 if (index($arg, '=') >= 0) { }
163 1 0 if exists $defaults{$opt}
174 7 13 ref $_[0] eq 'HASH' ? :
180 113 7 unless defined $opts{$opt}
184 1 19 unless $opts{'err_mode'} =~ /^(?:carp|croak|quiet)$/
194 2 17 unless @paths
201 1 20 if ($opts{'as_root'}) { }
202 0 1 $opts{'err_mode'} eq 'quiet' ? :
205 0 1 if ($?)
206 0 0 if (not -f $path) { }
0 0 elsif (not -r $path) { }
224 1 20 if $error
227 18 2 if (@lines)
229 2 16 if $opts{'skip_blanks'}
230 2 16 if $opts{'skip_comments'}
231 1 17 if $opts{'to_ascii'}
234 19 1 $opts{'aggregate'} ? :
238 2 14 wantarray ? :
247 0 2 if ($has_unidecode) { }