blib/lib/Mail/MboxParser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 33 | 49 | 67.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
267 | 0 | 0 | 0 | ref $source eq 'GLOB' and seek $source, 0, 1 |
421 | 4916 | 2429 | 9 | not $in_body and /$from_date/ |
426 | 4924 | 2357 | 73 | $in_header and /$empty_line/ |
433 | 7272 | 9 | 73 | /$from_date/ || eof and $got_header |
443 | 4924 | 0 | 2430 | $in_header and not $got_header |
444 | 2438 | 0 | 4916 | $in_body and $got_header |
557 | 6498 | 1586 | 74 | eof $h || /$empty_line/ and $in_header |
570 | 6438 | 4 | 1642 | /$empty_line/ and $got_header |
line | l | !l | condition |
---|---|---|---|
95 | 0 | 17 | eval { do { require Mail::Mbox::MessageParser; 1 } } || 0 |
298 | 8 | 9 | $$self{'CONFIG'}{'oldparser'} or 1 |
316 | 0 | 0 | delete $$self{'CONFIG'}{'parseropts'} || {'enable_grep', 1} |
333 | 0 | 0 | $$opts{'enable_cache'} ||= 0 |
767 | 14 | 0 | $$self{'NMSGS'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
298 | 17 | 0 | 0 | $$self{'CONFIG'}{'oldparser'} or 1 or not defined $file_name |
433 | 73 | 9 | 7272 | /$from_date/ || eof |
520 | 0 | 0 | 0 | ref \$p eq 'SCALAR' or $p->end_of_file |
557 | 14 | 1646 | 6498 | eof $h || /$empty_line/ |
559 | 138 | 14 | 8006 | /$from_date/ or eof $h |