Condition Coverage

blib/lib/IIIF/ImageAPI.pm
Criterion Covered Total %
condition 0 20 0.0


and 3 conditions

line !l l&&!r l&&r condition
91 0 0 0 $request->is_default and $request->{'format'} eq $file->{'format'}

or 2 conditions

line l !l condition
175 0 0 'Plack::MIME'->mime_type($file) // 'image'
198 0 0 $type // 'application/json'
208 0 0 shift() // 400
209 0 0 shift() // 'Invalid IIIF Image API Request: region or size out of bounds'

or 3 conditions

line l !l&&r !l&&!r condition
47 0 0 0 $self->base // $req->base
72 0 0 0 $request->{'format'} // $file->{'format'}
95 0 0 0 $self->cache // $self->cache(tempdir('CLEANUP', 1))