Condition Coverage

blib/lib/File/Slurp/Sane.pm
Criterion Covered Total %
condition 5 10 50.0


and 3 conditions

line !l l&&!r l&&r condition
20 0 1 0 $read and $pos < $size
37 0 0 3 $has_utf8_strict and $encoding =~ /^utf-?8\b/

or 2 conditions

line l !l condition
50 0 1 $encoding ||= 'utf-8'
60 1 1 $encoding ||= 'utf-8'