Condition Coverage

blib/lib/MojoMojo/Schema/ResultSet/Page.pm
Criterion Covered Total %
condition 11 17 64.7


and 3 conditions

line !l l&&!r l&&r condition
139 185 1 0 @proto_pages == 0 and $path =~ /\S/
217 0 0 112 $page->parent and $page->parent->id == $parent->id
228 0 74 112 ++$args{'current_depth'} and $class->resolve_path(%args)
247 20 33 4 scalar @pages == 1 and $pages[0]->depth == 0

or 2 conditions

line l !l condition
72 0 298 $query_pages[$_->depth] ||= []

or 3 conditions

line l !l&&r !l&&!r condition
228 112 0 186 $current_depth == $final_depth or ++$args{'current_depth'} and $class->resolve_path(%args)