Condition Coverage

blib/lib/Riji/Model/Blog.pm
Criterion Covered Total %
condition 0 15 0.0


and 3 conditions

line !l l&&!r l&&r condition
178 0 0 0 not $article->paginate and $article->page
216 0 0 0 $sort_order and not grep({$sort_order eq $_;} "asc", "desc")
220 0 0 0 $opt{'sort_by'} and not $sort_order

or 2 conditions

line l !l condition
142 0 0 $self->{'entries'} ||= [&rev_sort_by(sub { $_->published_at->datetime . $_->file; } , grep({not $_->is_draft if $_;} map({$self->entry($_->relative($self->entry_path) . "");} do { my $itr = $self->entry_path->iterator({"recurse", 1}); my @files; while (my $file = &$itr()) { do { next unless -f -r $file; push @files, $file }; } ; @files })))]
215 0 0 $opt{'sort_order'} || ''
227 0 0 $sort_order ||= "desc"