Condition Coverage

/root/.cpan/build/Riji-v1.1.4-0/lib/Riji/Model/Blog.pm
Criterion Covered Total %
condition 9 15 60.0


and 3 conditions

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

or 2 conditions

line l !l condition
142 43 6 $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 12 $opt{'sort_order'} || ''
227 6 6 $sort_order ||= "desc"