Condition Coverage

blib/lib/Ado/Plugin/MarkdownRenderer.pm
Criterion Covered Total %
condition 20 27 74.0


and 3 conditions

line !l l&&!r l&&r condition
50 0 26 24 $config->{'md_reuse_produced_html'} and -s $html_filepath
26 0 24 $config->{'md_reuse_produced_html'} and -s $html_filepath and (stat $fullname)[9] < (stat $html_filepath)[9]

or 2 conditions

line l !l condition
11 23 1 $config->{'md_renderer'} ||= 'Text::MultiMarkdown'
12 23 1 $config->{'md_method'} ||= 'markdown'
13 23 1 $config->{'md_options'} ||= {'use_wikilinks', 1}
14 23 1 $config->{'md_helper'} ||= 'md_to_html'
17 23 1 $config->{'md_file_sufixes'} ||= ['.md']
38 26 0 $c->stash('md_file') || (return '')

or 3 conditions

line l !l&&r !l&&!r condition
15 23 1 0 $config->{'md_root'} ||= $app->home->rel_dir('public/doc')
16 0 24 0 $config->{'md_articles_root'} ||= $app->home->rel_dir('public/articles')
38 24 26 0 $file_path ||= $c->stash('md_file') || (return '')