Condition Coverage

blib/lib/Locale/MakePhrase/BackingStore/File.pm
Criterion Covered Total %
condition 18 42 42.8


and 3 conditions

line !l l&&!r l&&r condition
102 0 0 5 @_ > 1 and not @_ % 2
0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
205 0 0 28 -f $file || -l $file and -r $file
242 110 0 50 $lhs eq 'language' and not defined $language
80 0 30 $lhs eq 'expression' and not defined $expression
50 0 30 $lhs eq 'priority' and not defined $priority
0 0 50 $lhs eq 'translation' and not defined $translation
0 0 0 $lhs eq 'context' and not defined $context
271 0 110 50 defined $language and $translation

or 3 conditions

line l !l&&r !l&&!r condition
97 0 5 0 ref $proto || $proto
165 0 0 0 $keys or ref $keys ne 'HASH'
205 28 0 0 -f $file || -l $file
229 0 105 250 not defined $_ or length $_ == 0
105 40 210 not defined $_ or length $_ == 0 or /^#/