Branch Coverage

blib/lib/MojoMojo/Model/Search.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
42 8 1 -f 'MojoMojo::Model::Search'->config->{'index_dir'} . '/segments' ? :
62 0 3 unless -f 'MojoMojo::Model::Search'->config->{'index_dir'} . '/segments'
79 0 1 if 'MojoMojo'->debug
91 0 1 if 'MojoMojo'->debug
104 0 8 unless $page and $page->content
110 0 8 if $content->abstract
111 0 8 if $content->comments
122 8 0 $content->created ? :
158 0 1 unless $page
173 35 0 exists $supported_lang{$default_lang} ? :