Condition Coverage

blib/lib/Plack/App/Directory/Markdown.pm
Criterion Covered Total %
condition 11 23 47.8


and 3 conditions

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

or 2 conditions

line l !l condition
50 0 2 $self->markdown_class || 'Text::Markdown'
74 0 2 $self->title || 'Markdown'
128 0 2 $self->title || 'Markdown'
152 2 0 $self->root || ''

or 3 conditions

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