Branch Coverage

blib/lib/Plack/Middleware/Debug.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
88 1 2 unless $self->panels
90 0 20 if (ref $spec eq 'ARRAY') { }
94 0 0 unless $package =~ /^\+/s
100 20 0 unless (ref $spec_copy)
101 18 2 unless $spec_copy =~ /^\+/s
123 0 3 if ($env->{'PATH_INFO'} =~ m[^/debug_toolbar])
134 3 0 if (not Plack::Util::status_with_no_entity_body($res->[0]) and ($headers->get('Content-Type') || '') =~ m[^(?:text/html|application/xhtml\+xml)])
145 3 3 unless defined $chunk