Condition Coverage

blib/lib/Plack/App/Directory/Markdown.pm
Criterion Covered Total %
condition 8 23 34.7


and 3 conditions

line !l l&&!r l&&r condition
150 0 0 0 $root and not $root =~ m[/$]

or 2 conditions

line l !l condition
50 0 1 $self->markdown_class || 'Text::Markdown'
70 0 0 $self->title || 'Markdown'
124 0 2 $self->title || 'Markdown'
148 0 0 $self->root || ''

or 3 conditions

line l !l&&r !l&&!r condition
23 0 1 0 $self->tx_path || ()
49 0 0 1 $$self{'_md'} ||= do { my $cls = $self->markdown_class || 'Text::Markdown'; Plack::Util::load_class($cls); $cls->new }
100 2 2 2 $ent eq '.' or $ent eq '..'
109 0 0 2 $is_dir or $self->is_markdown($file)