Condition Coverage

lib/HTTP/Promise/Headers/AltSvc.pm
Criterion Covered Total %
condition 8 19 42.1


and 3 conditions

line !l l&&!r l&&r condition
31 1 3 0 @_ == 1 and $self->_is_a($_[0], "Module::Generic::Null")
36 2 0 1 $self->_is_array($this) and scalar @$this == 2
112 0 0 0 defined $proto and length "$proto"

or 2 conditions

line l !l condition
84 0 0 $self->_hv || (return '')
126 2 0 $self->_hv || (return '')

or 3 conditions

line l !l&&r !l&&!r condition
36 1 2 0 $self->_is_array($this) and scalar @$this == 2 or not ref $this
3 0 0 $self->_is_array($this) and scalar @$this == 2 or not ref $this or overload::Method($this, "''")