Condition Coverage

blib/lib/Mail/Message/Head/Complete.pm
Criterion Covered Total %
condition 20 57 35.0


and 3 conditions

line !l l&&!r l&&r condition
51 25 0 0 ref $content and $content->isa("Mail::Message::Field")
88 181 0 0 @_ == 1 && ref $_[0]
135 0 0 6 @take == 1 and ref $take[0] eq "Regexp"
159 17 0 462 @_ == 1 && ref $_[0]
167 131 46 302 $skip_none{$name} and $field->body eq "none"
422 0 0 0 defined $stamp && $stamp > 0
442 0 0 1 defined $stamp && $stamp > 0
449 26 0 0 defined $cl and $cl =~ /(\d+)/
452 26 0 0 defined $lines and $lines =~ /(\d+)/
482 12 0 0 @_ == 1 and ref $_[0] eq "CODE"

or 2 conditions

line l !l condition
88 0 181 $self->{'MMH_field_type'} || 'Mail::Message::Field::Fast'
155 0 479 $self->{'MMH_field_type'} || 'Mail::Message::Field::Fast'
492 0 0 hostname() || 'localhost'

or 3 conditions

line l !l&&r !l&&!r condition
274 35 0 0 shift() || select()
397 0 0 0 wantarray || @_ != 1
463 0 0 0 $self->recvstamp || $self->timestamp || time
472 106 12 0 $msgid_creator ||= $_[0]->messageIdPrefix
479 0 12 0 @_ or not defined $msgid_creator
485 0 12 0 shift() || "mailbox-$$"
492 12 0 0 $hostname ||= hostname() || 'localhost'