Condition Coverage

lib/PAGI/Middleware/AccessLog.pm
Criterion Covered Total %
condition 14 26 53.8


and 3 conditions

line !l l&&!r l&&r condition
113 2 0 1 defined $query && $query ne ''

or 2 conditions

line l !l condition
50 3 1 $config->{'format'} // "combined"
74 3 0 $event->{'body'} // ""
85 0 0 $status //= 500
109 3 0 $scope->{'client'}[0] // "-"
110 3 0 $scope->{'method'} // "-"
111 3 0 $scope->{'path'} // "/"
114 1 2 $scope->{'http_version'} // "1.1"
119 3 0 $scope->{'headers'} // []
131 3 0 $status //= 0
132 3 0 $size //= 0

or 3 conditions

line l !l&&r !l&&!r condition
49 4 0 0 $config->{'logger'} // sub { warn @_; }