Branch Coverage

lib/PAGI/Middleware/AccessLog.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
59 1 3 if ($scope->{'type'} ne "http")
71 3 3 if ($event->{'type'} eq 'http.response.start') { }
3 0 elsif ($event->{'type'} eq 'http.response.body') { }
83 0 3 unless (eval { do { XXX; 1 } })
109 3 0 exists $scope->{'client'} ? :
113 1 2 defined $query && $query ne '' ? :
121 1 1 if ($name eq 'referer') { }
1 0 elsif ($name eq 'user-agent') { }
134 1 2 if ($format eq 'combined') { }
1 1 elsif ($format eq 'common') { }