Condition Coverage

blib/lib/MIME/Parser/Reader.pm
Criterion Covered Total %
condition 18 27 66.6


and 3 conditions

line !l l&&!r l&&r condition
249 2246 945 200 $thx and $th{$_}
261 0 0 0 $thx and $th{$_}
275 0 0 0 $thx and $th{$_}
287 0 0 0 $thx and $th{$_}
296 124 35 16 $keep_newline && $last =~ /^[\r\n]\z/
245 16 159 $eos =~ /^(DELIM|CLOSE)/ and not $keep_newline && $last =~ /^[\r\n]\z/

or 2 conditions

line l !l condition
224 51 369 $keep_newline ||= 0
226 203 217 $normalize_newlines ||= 0
300 375 45 $eos || 'EOF'

or 3 conditions

line l !l&&r !l&&!r condition
186 325 117 401 $fh->isa("IO::File") or $fh->isa("IO::Handle")