Condition Coverage

lib/Mail/Make/Headers/ContentDisposition.pm
Criterion Covered Total %
condition 11 21 52.3


and 3 conditions

line !l l&&!r l&&r condition
37 1 0 41 defined $disposition and length "$disposition"
121 1 0 0 defined $v and length "$v"
139 0 0 2 defined $v and length $v
141 1 0 1 lc $v ne "utf-8" and lc $v ne "utf8"

or 2 conditions

line l !l condition
55 47 0 shift @_ || (return $self->error('No content disposition was provided.'))
69 40 0 $self->_parse_header_value($dispo) || (return $self->pass_error)
77 7 0 $self->_hv || (return '')

or 3 conditions

line l !l&&r !l&&!r condition
103 0 1 31 $lang //= $self->filename_lang