Branch Coverage

blib/lib/Plack/Middleware/ConsoleLogger.pm
Criterion Covered Total %
branch 8 14 57.1


line true false branch
24 2 0 if (Plack::Util::header_get($$res[1], 'Content-Type') =~ /html/)
27 2 2 unless defined $chunk
39 0 2 if $self->group
43 0 5 if $level eq 'fatal'
50 0 2 if $self->group
57 0 5 unless $level
58 5 0 if (grep {/$level/;} 'warn', 'debug', 'error', 'info', 'fatal') { }