Condition Coverage

lib/HTTP/Promise/Headers/Link.pm
Criterion Covered Total %
condition 8 21 38.1


and 3 conditions

line !l l&&!r l&&r condition
34 2 2 0 @_ == 1 and $self->_is_a($_[0], "Module::Generic::Null")
38 0 0 2 defined $str and length "$str"
126 0 0 2 defined $v and length $v
146 0 0 0 lc $v ne "utf-8" and lc $v ne "utf8"

or 2 conditions

line l !l condition
40 2 0 $self->_parse_header_value($str) || (return $self->pass_error)
78 1 0 $self->_new_hv($link2) || (return $self->pass_error)
86 3 0 $self->_hv || (return '')

or 3 conditions

line l !l&&r !l&&!r condition
112 1 0 0 $lang //= $self->title_lang