Condition Coverage

lib/Test/Fake/HTTPD.pm
Criterion Covered Total %
condition 4 28 14.2


and 3 conditions

line !l l&&!r l&&r condition
68 1 0 0 $self->{'daemon_args'} && ref $self->{'daemon_args'} eq 'HASH'
150 0 0 0 $res->[0] and $res->[0] =~ /^\d{3}$/
159 0 0 0 &blessed($res) and $res->isa('HTTP::Response')
0 0 0 &blessed($res) and $res->isa('Plack::Response')

or 2 conditions

line l !l condition
91 0 0 $self->host || ''
0 0 $self->port || ''

or 3 conditions

line l !l&&r !l&&!r condition
138 0 0 3 not defined $host or $host eq ''
0 0 3 not defined $host or $host eq '' or $host eq '0.0.0.0'
0 0 3 not defined $host or $host eq '' or $host eq '0.0.0.0' or $host eq '::'
151 0 0 0 ref $res->[1] eq 'ARRAY' or ref $res->[1] eq 'HASH'