Condition Coverage

blib/lib/Yancy/Backend/Static.pm
Criterion Covered Total %
condition 25 33 75.7


and 3 conditions

line !l l&&!r l&&r condition
218 11 0 2 $id =~ m[/$]u and -d $self->path->child($id)
246 34 0 0 $prop->{'type'} eq 'array' and ref $item->{$prop_name} ne 'ARRAY'
300 1 0 1 -f $path and $new_path ne $path
404 0 3 28 @lines and $lines[0] =~ /^---/u
0 0 3 @lines and $lines[0] =~ /^{/u
421 2 24 13 $v and $v eq 'false'
422 15 24 0 $v and $v eq 'true'

or 2 conditions

line l !l condition
197 1 1 $2 // ''
254 6 2 $params ||= {}
255 4 4 $opt ||= {}
273 4 4 $opt->{'order_by'} //= 'slug'
276 2 6 $opt->{'offset'} // 0
473 5 1 $item->{'markdown'} // ''