Branch Coverage

blib/lib/Plack/App/SourceViewer.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
98 1 2 unless $self->ext_lang_map
101 1 2 unless ($self->css)
105 0 3 if (not $self->root) { }
1 2 elsif (ref $self->root ne 'ARRAY') { }
125 2 1 if ($res and $res->[0] == 200)
143 1 1 if (my $lang = $self->ext_lang_map->{$ext})