Branch Coverage

blib/lib/Courriel/HeaderAttribute.pm
Criterion Covered Total %
branch 18 18 100.0


line true false branch
82 4 6 if ($value =~ /[\x00-\x1f]|\x7f|[^\p{ASCII}]/ or defined $self->language or $self->charset ne 'us-ascii') { }
3 3 elsif ($value =~ /$non_attribute_char/) { }
104 2 10 length $value > 78 ? :
3 12 $last_percent >= 76 ? :
112 7 3 if (@pieces == 1) { }
130 2 2 if defined $order
143 2 2 if defined $order
159 4 3 if defined $order
164 4 3 unless ($order)