Condition Coverage

blib/lib/Plack/App/SourceViewer.pm
Criterion Covered Total %
condition 5 9 55.5


and 3 conditions

line !l l&&!r l&&r condition
125 0 1 2 $res and $res->[0] == 200

or 3 conditions

line l !l&&r !l&&!r condition
119 2 1 0 $self->{'file'}{$root} ||= 'Plack::App::File'->new({'root', $root, 'encoding', $self->encoding, 'content_type', $self->content_type})
144 0 1 0 $self->{'highlighter'}{$lang} ||= $self->_highlighter($lang)