Condition Coverage

blib/lib/Yancy/Backend/Static.pm
Criterion Covered Total %
condition 24 30 80.0


and 3 conditions

line !l l&&!r l&&r condition
218 11 0 2 $id =~ m[/$] and -d $self->path->child($id)
287 1 0 1 -f $path and $new_path ne $path
391 0 3 28 @lines and $lines[0] =~ /^---/
0 0 3 @lines and $lines[0] =~ /^{/
408 2 24 13 $v and $v eq 'false'
409 15 24 0 $v and $v eq 'true'

or 2 conditions

line l !l condition
197 1 1 $2 // ''
242 6 2 $params ||= {}
243 4 4 $opt ||= {}
260 4 4 $opt->{'order_by'} //= 'path'
263 2 6 $opt->{'offset'} // 0
460 5 1 $item->{'markdown'} // ''