Condition Coverage

blib/lib/Plack/Middleware/Debug.pm
Criterion Covered Total %
condition 3 7 42.8


and 3 conditions

line !l l&&!r l&&r condition
134 0 0 3 not Plack::Util::status_with_no_entity_body($res->[0]) and ($headers->get('Content-Type') || '') =~ m[^(?:text/html|application/xhtml\+xml)]

or 2 conditions

line l !l condition
84 3 0 &try(sub { File::ShareDir::dist_dir('Plack-Middleware-Debug'); } ) || 'share'
134 3 0 $headers->get('Content-Type') || ''