Condition Coverage

blib/lib/PAGI/Middleware/JSONBody.pm
Criterion Covered Total %
condition 7 13 53.8


and 3 conditions

line !l l&&!r l&&r condition
86 0 0 4 $event and $event->{'type'}

or 2 conditions

line l !l condition
54 1 4 $config->{'max_size'} // 1048576
56 0 5 $config->{'content_types'} // ["application/json", "application/json; charset=utf-8"]
72 5 0 $self->_get_header($scope, "content-type") // ""
89 4 0 $event->{'body'} // ""
154 5 0 $scope->{'headers'} // []