blib/lib/Mail/Box/Parser/Perl.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 27 | 22.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
71 | 0 | 0 | 0 | @ret and $self->fixHeaderErrors |
110 | 0 | 0 | 0 | defined $line and $line =~ /$empty/ |
130 | 0 | 6 | 0 | defined $line and $line =~ /$empty/ |
165 | 6 | 0 | 0 | $sep eq 'From ' and not $line =~ / 19[789][0-9]| 20[0-9][0-9]/ |
175 | 1 | 0 | 5 | @$lines and $lines->[-1] =~ s/(\r?\n)\z// |
217 | 0 | 0 | 0 | defined $exp_chars and $exp_chars >= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
116 | 0 | 0 | 0 | $sep ne 'From ' or $line =~ / (?:19[6-9]|20[0-2])[0-9]\b/ |
274 | 7 | 0 | 0 | $args->{'file'} || 'IO::File'->new($args->{'filename'}, $mode) |
279 | 7 | 0 | 0 | $fh->can('binmode') or $fh->can('BINMODE') |