Condition Coverage

blib/lib/File/LoadLines.pm
Criterion Covered Total %
condition 16 32 50.0


and 3 conditions

line !l l&&!r l&&r condition
131 18 50 1 defined $options and ref $options ne "HASH"
192 0 0 0 $mediatype and $mediatype =~ /^(.*);base64$/
207 0 0 0 $mediatype and $mediatype =~ /;charset=([^;]*)/
218 60 1 0 $filename ne $name and $^O =~ /mswin/i
347 2 0 0 defined $options and ref $options ne "HASH"

or 2 conditions

line l !l condition
133 4 64 $options->{'blob'} //= 0
136 29 39 $options->{'fail'} //= "hard"
253 0 3 $options->{'encoding'} //= "Perl"
349 0 2 $options //= {}

or 3 conditions

line l !l&&r !l&&!r condition
134 0 68 0 $options->{'split'} //= !$options->{'blob'}
135 12 56 0 $options->{'chomp'} //= !$options->{'blob'}
143 0 0 7 ref $filename eq "GLOB" or ref $filename eq "IO::File"