blib/lib/Courriel/HeaderAttribute.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 8 | 87.5 |
line | l | !l | condition |
---|---|---|---|
165 | 2 | 2 | $self->language // '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
82 | 3 | 1 | 6 | $value =~ /[\x00-\x1f]|\x7f|[^\p{ASCII}]/ or defined $self->language |
4 | 0 | 6 | $value =~ /[\x00-\x1f]|\x7f|[^\p{ASCII}]/ or defined $self->language or $self->charset ne 'us-ascii' |