Condition Coverage

blib/lib/PAGI/Middleware/Debug.pm
Criterion Covered Total %
condition 19 26 73.0


and 3 conditions

line !l l&&!r l&&r condition
90 0 1 2 lc $h->[0] eq "content-type" and $h->[1] =~ m[text/html]i
105 1 0 2 $is_html and not $headers_sent
236 1 0 1 $self->{'show_headers'} and $scope->{'headers'}

or 2 conditions

line l !l condition
57 4 0 $config->{'enabled'} // 0
58 1 3 $config->{'show_headers'} // 1
59 1 3 $config->{'show_scope'} // 1
60 1 3 $config->{'show_timing'} // 1
86 3 0 $event->{'headers'} // []
107 2 0 $event->{'body'} // ""
274 9 1 shift() // ""

or 3 conditions

line l !l&&r !l&&!r condition
69 1 0 3 not $self->{'enabled'} or $scope->{'type'} ne "http"