| blib/lib/Mail/Message/Head/Complete.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 28 | 60 | 46.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 57 | 25 | 0 | 0 | ref $content and $content->isa("Mail::Message::Field") |
| 92 | 181 | 0 | 0 | @_ == 1 && builtin::blessed($_[0]) |
| 131 | 0 | 0 | 119 | @take == 1 and ref $take[0] eq "Regexp" |
| 155 | 21 | 0 | 462 | @_ == 1 && builtin::blessed($_[0]) |
| 163 | 135 | 43 | 305 | $skip_none{$name} and $field->body eq "none" |
| 402 | 0 | 0 | 0 | defined $stamp && $stamp > 0 |
| 422 | 0 | 0 | 1 | defined $stamp && $stamp > 0 |
| 429 | 80 | 0 | 32 | defined $cl and $cl =~ /(\d+)/ |
| 432 | 78 | 0 | 2 | defined $lines and $lines =~ /(\d+)/ |
| 458 | 16 | 0 | 0 | defined $msgid_creator and not @_ |
| 461 | 16 | 0 | 0 | @_ == 1 and ref $_[0] eq "CODE" |
| line | l | !l | condition |
|---|---|---|---|
| 92 | 0 | 181 | $self->{'MMH_field_type'} // "Mail::Message::Field::Fast" |
| 151 | 0 | 483 | $self->{'MMH_field_type'} // "Mail::Message::Field::Fast" |
| 471 | 0 | 0 | hostname() || 'localhost' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 149 | 21 | 462 | 87 | @_ != 1 or defined $_[0] |
| 267 | 39 | 0 | 0 | shift() || select() |
| 379 | 23 | 1 | 19 | wantarray || @_ != 1 |
| 442 | 0 | 0 | 0 | $self->recvstamp || $self->timestamp || time |
| 451 | 136 | 16 | 0 | $msgid_creator ||= $_[0]->messageIdPrefix |
| 464 | 0 | 16 | 0 | shift() || "mailbox-${$}" |
| 471 | 16 | 0 | 0 | $hostname ||= hostname() || 'localhost' |