Condition Coverage

blib/lib/Locale/MakePhrase/BackingStore/Directory.pm
Criterion Covered Total %
condition 18 45 40.0


and 3 conditions

line !l l&&!r l&&r condition
118 0 0 1 @_ > 1 and not @_ % 2
0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
145 0 1 0 length $$self{'extension'} and substr($$self{'extension'}, 0, 1) ne '.'
236 0 0 2 -f "$dir/$language" || -l "$dir/$language" and -r "$dir/$language"
314 4 0 1 $lhs eq 'expression' and not defined $expression
3 0 1 $lhs eq 'priority' and not defined $priority
0 0 3 $lhs eq 'translation' and not defined $translation
0 0 0 $lhs eq 'context' and not defined $context
380 3 0 1 -f $path || -l $path and -r $path

or 3 conditions

line l !l&&r !l&&!r condition
113 0 1 0 ref $proto || $proto
189 0 0 0 $keys or ref $keys ne 'HASH'
236 2 0 0 -f "$dir/$language" || -l "$dir/$language"
301 0 4 8 not defined $_ or length $_ == 0
4 0 8 not defined $_ or length $_ == 0 or /^#/
380 1 0 3 -f $path || -l $path