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 176 0 0 @_ == 1 && ref $_[0]
135 0 0 6 @take == 1 and ref $take[0] eq 'Regexp'
159 12 0 442 @_ == 1 && ref $_[0]
167 122 43 289 $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 12 0 0 defined $cl and $cl =~ /(\d+)/
452 12 0 0 defined $lines and $lines =~ /(\d+)/
482 10 0 0 @_ == 1 and ref $_[0] eq 'CODE'

or 2 conditions

line l !l condition
88 0 176 $self->{'MMH_field_type'} || 'Mail::Message::Field::Fast'
155 0 454 $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 81 10 0 $msgid_creator ||= $_[0]->messageIdPrefix
479 0 10 0 @_ or not defined $msgid_creator
485 0 10 0 shift() || "mailbox-$$"
492 10 0 0 $hostname ||= hostname() || 'localhost'