Branch Coverage

blib/lib/Mail/Message/Head.pm
Criterion Covered Total %
branch 30 40 75.0


line true false branch
34 0 0 unless (caller)[0] eq "Carp"
46 0 170 if $class eq "Mail::Message::Head"
58 0 170 if $args->{'field_type'}
61 26 144 if defined $args->{'message'}
83 0 71 unless @_
96 167 0 if (@_)
118 198 756 if (defined $index) { }
22 734 elsif (wantarray) { }
119 185 0 $index == 0 ? :
0 185 ref $value eq 'ARRAY' ? :
13 185 !defined($value) ? :
125 4 16 ref $value eq 'ARRAY' ? :
2 20 !defined($value) ? :
130 2 221 ref $value eq 'ARRAY' ? :
511 223 !defined($value) ? :
142 1 1 if wantarray
146 1 0 defined $got ? :
155 130 0 if $type
223 4 281 if (defined $known->{$name}) { }
224 1 3 if (ref $known->{$name} eq 'ARRAY') { }