Condition Coverage

blib/lib/Mail/Box/Parser/Lines.pm
Criterion Covered Total %
condition 13 31 41.9


and 3 conditions

line !l l&&!r l&&r condition
60 0 0 0 @ret and $self->fixHeaderErrors
70 0 102 3 @$lines and $lines->[0] =~ /^[ \t]/
88 0 0 0 $skip < @$lines and $lines->[$skip] =~ /$is_empty_line/
103 0 29 0 $skip < @$lines and $lines->[$skip] =~ /$is_empty_line/
132 29 0 0 $sep eq "From " and not $line =~ / 19[789][0-9]| 20[0-9][0-9]/
141 7 0 22 @$take and $take->[-1] =~ s/\015?\012\z//
144 3 2 17 @$seps == 1 and @$take > 1
5 1 16 @$seps == 1 and @$take > 1 and length $take->[-1] == 0

or 2 conditions

line l !l condition
83 0 0 $self->activeSeparator // (return 1)
99 29 0 $self->activeSeparator // (return ())

or 3 conditions

line l !l&&r !l&&!r condition
93 0 0 0 $sep ne "From " or $line =~ / (?:19[6-9]|20[0-3])[0-9]\b/