Branch Coverage

blib/lib/Mixin/Linewise/Readers.pm
Criterion Covered Total %
branch 22 28 78.5


line true false branch
79 12 3 defined $arg->{'method'} ? :
80 3 12 defined $arg->{'binmode'} ? :
84 1 5 if (ref $_[1] eq 'HASH') { }
92 1 5 defined $options->{'binmode'} ? :
96 0 6 unless $filename
97 0 6 unless -e $filename
98 0 6 unless -r _ and not -d _
100 0 6 unless my $handle = "IO::File"->new($filename, "<:$binmode")
127 12 3 defined $arg->{'method'} ? :
128 3 12 defined $arg->{'binmode'} ? :
131 1 4 @_ > 2 && ref $_[1] ? :
134 1 4 $opt && $opt->{'binmode'} ? :
137 0 5 unless defined $string
139 0 5 unless open my $handle, "<:$binmode", \$string