Condition Coverage

lib/Plack/Middleware/APISchema/ResponseValidator.pm
Criterion Covered Total %
condition 4 7 57.1


or 2 conditions

line l !l condition
26 14 0 $res->[2] // []
28 0 14 $self->validator // 'Valiemon'

or 3 conditions

line l !l&&r !l&&!r condition
60 11 5 0 $self->{'router'} //= do { my $generator = 'APISchema::Generator::Router::Simple'->new; $generator->generate_router($self->schema) }