Branch Coverage

blib/lib/Plack/App/Hash.pm
Criterion Covered Total %
branch 16 16 100.0


line true false branch
27 1 15 unless $content and exists $$content{$path}
28 1 14 if ref $$content{$path}
32 8 6 if (not defined $headers) { }
2 4 elsif (not ref $headers) { }
40 1 12 if 'ARRAY' ne ref $headers
45 7 5 unless $auto or $default
46 2 3 if Plack::Util::header_exists($headers, 'Content-Type')
51 10 2 unless (Plack::Util::header_exists($headers, 'Content-Length'))