Condition Coverage

lib/HTTP/Monkeywrench.pm
Criterion Covered Total %
condition 6 28 21.4


and 3 conditions

line !l l&&!r l&&r condition
324 2 1 0 $$click{'sendcookie'} and $self->settings->{'show_cookies'}
403 0 0 0 $self->settings->{'send_if_err'} == 1 and $res->code != 200 || $HTTP::Monkeywrench::totalerrs > 0

or 2 conditions

line l !l condition
304 0 3 $$click{'showhtml'} || 0
463 0 0 shift() || 'ERROR: NO OUTPUT'
464 0 0 shift() || (return undef)
465 0 0 shift() || (return undef)
467 0 0 'Net::SMTP'->new($smtp_server) || (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
239 0 1 0 ref $proto || $proto
338 0 1 2 $res->is_redirect or $res->is_success
403 0 0 0 $res->code != 200 || $HTTP::Monkeywrench::totalerrs > 0
0 0 0 $self->settings->{'send_if_err'} == 0 or $self->settings->{'send_if_err'} == 1 and $res->code != 200 || $HTTP::Monkeywrench::totalerrs > 0