Branch Coverage

blib/lib/Courriel/Headers.pm
Criterion Covered Total %
branch 17 34 50.0


line true false branch
102 53 2025 lc $name eq 'content-disposition' ? :
132 2078 lc $name eq 'content-type' ? :
163 297 358 unless $self->__key_indices_for(lc $name)
183 54 119 &blessed($value) && $value->isa('Courriel::Header') ? :
189 0 173 if ($last_index) { }
222 0 0 &blessed($value) && $value->isa('Courriel::Header') ? :
309 2091 611 if (defined $1) { }
313 0 611 unless @headers
324 611 0 if length $headers[-1]
325 609 2 if defined $3
330 0 142 if ($pos != length ${$text;})
338 0 0 defined $line ? :
382 0 0 if $skip{lc $header->name}
422 2091 0 unless $text =~ /=\?[\w-]+\?[BQ]\?/i
431 0 0 if (defined $+{'charset'}) { }
456 0 0 unless $chunks[$i]{'is_mime'} and $chunks[$i + 1] and $chunks[$i + 1]{'is_mime'}
469 0 0 if (uc $encoding eq 'B') { }