lib/HTTP/Promise/Headers/ContentDisposition.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 23 | 56.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
32 | 2 | 39 | 4 | @_ == 1 and $self->_is_a($_[0], "Module::Generic::Null") |
36 | 0 | 0 | 39 | defined $str and length "$str" |
103 | 0 | 3 | 9 | defined $v and length $v |
132 | 1 | 0 | 4 | lc $v ne "utf-8" and lc $v ne "utf8" |
line | l | !l | condition |
---|---|---|---|
38 | 39 | 0 | $self->_parse_header_value($str) || (return $self->pass_error) |
55 | 5 | 0 | shift @_ || (return $self->error('No content disposition was provided.')) |
63 | 1 | 0 | $self->_new_hv($dispo) || (return $self->pass_error) |
71 | 7 | 0 | $self->_hv || (return '') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
89 | 1 | 0 | 0 | $lang //= $self->filename_lang |