Branch Coverage

blib/lib/Catalyst/Plugin/Compress/Deflate.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
11 0 0 if ($c->response->content_encoding)
15 0 0 unless ($c->response->body)
19 0 0 unless ($c->response->status == 200)
23 0 0 unless ($c->response->content_type =~ /^text|xml$|javascript$/)
29 0 0 unless (index($accept, 'deflate') >= 0)
39 0 0 unless ($status == Compress::Zlib::Z_OK())
44 0 0 if ref $body
45 0 0 if ref $body
48 0 0 unless ($status == Compress::Zlib::Z_OK())
56 0 0 unless ($status == Compress::Zlib::Z_OK())